Did your script exit with an error If your mapper or reducer script exits with

Did your script exit with an error if your mapper or

This preview shows page 381 - 383 out of 395 pages.

Did your script exit with an error? If your mapper or reducer script exits with an error, you can locate the error in the stderr file of task attempt logs of the failed task attempt. For more information, see View Log Files (p. 283) . Custom JAR Cluster Errors The following errors are common to custom JAR clusters. Topics Is your JAR throwing an exception before creating a job? (p. 376) Is your JAR throwing an error inside a map task? (p. 376) 375
Image of page 381
Amazon EMR Management Guide Hive Cluster Errors Is your JAR throwing an exception before creating a job? If the main program of your custom JAR throws an exception while creating the Hadoop job, the best place to look is the syslog file of the step logs. For more information, see View Log Files (p. 283) . Is your JAR throwing an error inside a map task? If your custom JAR and mapper throw an exception while processing input data, the best place to look is the syslog file of the task attempt logs. For more information, see View Log Files (p. 283) . Hive Cluster Errors You can usually find the cause of a Hive error in the syslog file, which you link to from the Steps pane. If you can't determine the problem there, check in the Hadoop task attempt error message. Link to it on the Task Attempts pane. The following errors are common to Hive clusters. Topics Are you using the latest version of Hive? (p. 376) Did you encounter a syntax error in the Hive script? (p. 376) Did a job fail when running interactively? (p. 376) Are you having trouble loading data to or from Amazon S3 into Hive? (p. 376) Are you using the latest version of Hive? The latest version of Hive has all the current patches and bug fixes and may resolve your issue. Did you encounter a syntax error in the Hive script? If a step fails, look at the stdout file of the logs for the step that ran the Hive script. If the error is not there, look at the syslog file of the task attempt logs for the task attempt that failed. For more information, see View Log Files (p. 283) . Did a job fail when running interactively? If you are running Hive interactively on the master node and the cluster failed, look at the syslog entries in the task attempt log for the failed task attempt. For more information, see View Log Files (p. 283) . Are you having trouble loading data to or from Amazon S3 into Hive? If you are having trouble accessing data in Amazon S3, first check the possible causes listed in Are you experiencing trouble loading data to or from Amazon S3? (p. 366) . If none of those issues is the cause, consider the following options specific to Hive. Make sure you are using the latest version of Hive, which has all the current patches and bug fixes that may resolve your issue. For more information, see Apache Hive . • Using INSERT OVERWRITE requires listing the contents of the Amazon S3 bucket or folder. This is an expensive operation. If possible, manually prune the path instead of having Hive list and delete the existing objects.
Image of page 382
Image of page 383

You've reached the end of your free preview.

Want to read all 395 pages?

  • Spring '12
  • LauraParker
  • Amazon Web Services, Amazon Elastic Compute Cloud

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors