Member since
08-04-2016
4
Posts
1
Kudos Received
0
Solutions
09-01-2016
07:46 AM
1 Kudo
I was able to successfully setup Hive 1.2.1 with Hadoop 2.7.1, using yarn as the mapreduce framework. For debugging certain queries (am trying to attach a debugger and go through the operators), now I'm trying to use the local mode. i.e. After switching to the local mode, I could see queries running, but I can't locate the logs for those jobs. Checked in the log folder but can't find any folder (I was looking for a syslog put inside a folder specific to a particular job), or a log starting with job id. How can I get those logs? These are all the properties I have in mapred-site.xml <property>
<name>mapreduce.framework.name</name>
<value>local</value>
</property>
<property>
<name>mapred.child.java.opts</name>
<value>-Xmx512m</value>
</property>
<property>
<name>mapred.job.tracker</name>
<value>local</value>
</property>
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
08-04-2016
02:17 AM
@mqureshi Thanks for the prompt reply. I checked that but the only content I found in that file was WARNING: Use "yarn jar" to launch YARN applications. When going through this tutorial, I found that by setting execution.engine to mr, you can get all the logs for a MR job, which is what I was looking for. Thanks for the help.
... View more
08-04-2016
01:42 AM
I'm quite new to HDP, and still I'm learning about this platform. I'm following the SensorData tutorial and I wanted to know if it's possible to see the logs for the Map Reduce executions associated with particular Hive Query. SELECT truckid, avg(mpg) avgmpg FROM truck_mileage GROUP BY truckid; I'm running the above query, and I'm trying to see all the underlying MapReduce jobs. How to get this info?
... View more
Labels:
- Labels:
-
Apache Hive