hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: NPE with hive.cli.print.header=true;
Date Tue, 02 Aug 2011 12:51:44 GMT
I am sure we can have a nicer return for the clients submit a jira. Check if
one is open first.

On Tuesday, August 2, 2011,  <bejoy_ks@yahoo.com> wrote:
> 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
>
> ________________________________
> 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 <http://www.flickr.com/photos/ayonsinha/>
> Also check out my Blog for answers to commonly asked questions. <
http://dailyadvisor.blogspot.com>
>

Mime
View raw message