22454

Why was a hive mapreduce job killed?

Question:

I executed a hive sql on hue. but the related mapreduce job was killed.

How to find the reason? Where to find the related logs?

Can not find the log through the job history.

Answer1:

I assume your log generation is set to INFO, so you can find your logs on your jobtracker node in the directory you setted. If you do not know what directory it is, you can search using following command : find / -name userlogs then you should be able to find the file corresponding to your job ID.

To sum up the logs are written locally so you can find them until you suppress it.

Answer2:

The Hive logs should appear on the screen and the list of MapReduce jobs on the left.

Clicking on the Job ids will send you to Job Browser where you can see the logs of the tasks in deep details.

Recommend

  • pig skewed join with a big table causes “Split metadata size exceeded 10000000”
  • How to make imageView clickable from OnItemClickListener?
  • Oozie shell script action
  • java.io.IOException: File /tmp/hadoop-eo/mapred/system/jobtracker.info could only be replicated to 0
  • MySQL UTF8 for Chrome, UTF8 for IE, but HEADER UTF8 for Chrome and UTF-8 for IE?
  • Hadoop release version confusing
  • Google Drive API access token and redirect url questions
  • ASP.NET MVC 2 - Problem with Request encoding
  • Scala Slick Database Views
  • iOS UIWebView: How can I figure out what the previous URL is?
  • MySQL select genres issue (php)
  • NullPointerException for lwuit.html.CSSEngine.applyStyleToUIElement(Unknown Source)
  • G1 Collector not doing full GC
  • Creating My Symmetric Key in C#
  • (Play 2.5) How do you define json format for type alias of an Option?
  • Most efficient way to move table rows from one table to another
  • New Firebase failed: First argument must be a valid firebase URL and the path can't contain “.”
  • JSON encode and decode on PHP
  • Building Qt project for C++11 standard
  • cordova is not defined - cordova.js has already been loaded :: Ionic
  • jQuery: add elements until a particular height is reached
  • Combining two different ActiveRecord collections into one
  • Web.config system.webserver errors
  • How to use carriage return with multiple line?
  • Google Custom Search with transparent background
  • Checking free space on FTP server
  • Change Inet root folder for iis 7
  • How to rebase a series of branches?
  • Insert into database using onclick function
  • What is Eclipse's Declaration View used for?
  • Can I make an Android app that runs a web view in Chrome 39?
  • Updated Ionic CLI but shows previous version (Windows)
  • Can a Chrome extension content script make an jQuery AJAX request for an html file that is itself a
  • Upload files with Ajax and Jquery
  • AngularJs get employee from factory
  • Proper way to use connect-multiparty with express.js?
  • How to set the response of a form post action to a iframe source?
  • Change div Background jquery
  • Qt: Run a script BEFORE make
  • reshape alternating columns in less time and using less memory