Re: hive-0.10 and nullpointerexception

2013-03-18 Thread Mark Grover
For the sake of readers, I just saw another manifestation of this problem. The issue was that mapreduce.framework.name in mapred-site.xml was set to "yarn" instead of "classic" when the intent was to use MR1. Hope that helps, Mark On Mon, Mar 4, 2013 at 8:26 AM, Mark Grover wrote: > Sorry for t

Re: hive-0.10 and nullpointerexception

2013-03-04 Thread Mark Grover
Sorry for the delayed response, Marcin, I was away. This error in the Gist means that the jar containing the class in question is not on your classpath. Exception in thread "Thread-39" java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/util/HostUtil at org.apache.hadoop.hive.shim

Re: [ hive ] Re: hive-0.10 and nullpointerexception

2013-02-25 Thread Marcin Cylke
> I'll build the trunk and try to test it. Then I'll let you know if that > helped. I've just performed the test on current trunk. The problem is still there, no changes. Any ideas? Perhaps my config says something interesting? I've added it to the GIST: https://gist.github.com/zygm0nt/5028591#f

Re: hive-0.10 and nullpointerexception

2013-02-25 Thread Marcin Cylke
On 20/02/13 00:19, Mark Grover wrote: > Could you try setting mapred.job.tracker property in your > mapred-site.xml to your jobtracker and see if that fixes it? I've been setting while in hive with: set mapred.job.tracker = 'host:port' but this didn't help. Is setting that property in mapred-si

Re: hive-0.10 and nullpointerexception

2013-02-19 Thread Mark Grover
Hey Marcin, Sorry I haven't gotten a chance to look into this further. I am fairly certain that it's a bug in Utilities.java which HIVE-4003 is going to fix. I am have been trying to reproduce the behavior locally with trunk but so far, have been unsuccessful in doing so. In any case, so it boils

Re: hive-0.10 and nullpointerexception

2013-02-19 Thread Marcin Cylke
On 14/02/13 08:27, Marcin Cylke wrote: > Actually I'm not using YARN, just the classic MR. Perhaps the setting is > somewhere in my configuration? My whole cluster is running MR1. Since > I'm running Cloudera cdh4.1 I'm starting hive with the following line: > > HADOOP_MAPRED_HOME=/usr/lib/hadoop

Re: [ hive ] Re: hive-0.10 and nullpointerexception

2013-02-13 Thread Marcin Cylke
On 13/02/13 17:34, Mark Grover wrote: > Hi Marcin, > Sorry to hear that you ran into this. > > My guess is you are using Yarn and this is, in fact, a known issue. > > The culprit line here is > https://github.com/apache/hive/blob/branch-0.10/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.ja

Re: hive-0.10 and nullpointerexception

2013-02-13 Thread Mark Grover
Hi Marcin, Sorry to hear that you ran into this. My guess is you are using Yarn and this is, in fact, a known issue. The culprit line here is https://github.com/apache/hive/blob/branch-0.10/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L209 This issue is being tracked by https://issu

hive-0.10 and nullpointerexception

2013-02-13 Thread Marcin Cylke
Hi I'm experiencing the following problem when running a simple query under hive-0.10. I'm using the stock release package with CDH-4.1 The query need to execute map-reduce job for this to happen. For me something along this one is sufficient: select count(*) from sample_table; The error I get