Hi, Ning,

yep,we are using 0.4.0. Can you show me the jira number?

Thanks,
Min

On Wed, Nov 11, 2009 at 12:44 PM, Ning Zhang <[email protected]> wrote:
> Min,
>
> It worked on trunk. Are you using branch 0.4.0?
>
> Ning
>
> On Nov 10, 2009, at 8:01 PM, Min Zhou wrote:
>
>> Hi, guys,
>>
>>
>> hive> create table pokes(foo string, bar int) partitioned by (pt
>> string);
>> OK
>> Time taken: 0.146 seconds
>> hive> select * from pokes;
>> Total MapReduce jobs = 1
>> Number of reduce tasks is set to 0 since there's no reduce operator
>> Job Submission failed with exception 'java.lang.NullPointerException
>> (null)'
>> FAILED: Execution Error, return code 1 from
>> org.apache.hadoop.hive.ql.exec.ExecDriver
>>
>> exception stack from hive.log
>> java.lang.NullPointerException
>>        at org.apache.hadoop.hive.ql.exec.ExecDriver.addInputPath
>> (ExecDriver.java:698)
>>        at org.apache.hadoop.hive.ql.exec.ExecDriver.addInputPaths
>> (ExecDriver.java:753)
>>        at org.apache.hadoop.hive.ql.exec.ExecDriver.execute
>> (ExecDriver.java:372)
>>        at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:379)
>>        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:285)
>>        at org.apache.hadoop.hive.cli.CliDriver.processCmd
>> (CliDriver.java:123)
>>        at org.apache.hadoop.hive.cli.CliDriver.processLine
>> (CliDriver.java:181)
>>        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:
>> 287)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at org.apache.hadoop.util.RunJar.main(RunJar.java:165)
>>        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
>>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>>        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
>>
>>
>> This should be a pitfall of hive, since if the table is not
>> partitioned, that query will pass.
>>
>>
>> Thanks,
>> Min
>> --
>> My research interests are distributed systems, parallel computing and
>> bytecode based virtual machine.
>>
>> My profile:
>> http://www.linkedin.com/in/coderplay
>> My blog:
>> http://coderplay.javaeye.com
>
>



-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com

Reply via email to