Hi Ayon
    AFAIK hive is supposed to behave so. If you set the 
hive.cli.print.header=true for enabling column headers then some commands like 
'desc' is not expected to work. Not sure whether there is some patch recently 
out for this.

Regards
Bejoy K S

-----Original Message-----
From: Ayon Sinha <ayonsi...@yahoo.com>
Date: Mon, 1 Aug 2011 17:29:17 
To: Hive Mailinglist<user@hive.apache.org>
Reply-To: user@hive.apache.org
Subject: NPE with hive.cli.print.header=true;

With 
set hive.cli.print.header=true;


I get NPE's for "desc" as well as "use"

Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:176)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:241)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:456)
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:186)

Is there a patch for this?
 
-Ayon
See My Photos on Flickr
Also check out my Blog for answers to commonly asked questions.

Reply via email to