You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Ayon Sinha <ay...@yahoo.com> on 2011/08/02 02:29:17 UTC
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.
Re: NPE with hive.cli.print.header=true;
Posted by Carl Steinbach <ca...@cloudera.com>.
I was able to reproduce the problem with USE on trunk and filed HIVE-2334,
but the problem with DESC appears to have already been fixed.
On Tue, Aug 2, 2011 at 5:51 AM, Edward Capriolo <ed...@gmail.com>wrote:
> 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, <be...@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>
> >
Re: NPE with hive.cli.print.header=true;
Posted by Edward Capriolo <ed...@gmail.com>.
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, <be...@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>
>
Re: NPE with hive.cli.print.header=true;
Posted by be...@yahoo.com.
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 <ay...@yahoo.com>
Date: Mon, 1 Aug 2011 17:29:17
To: Hive Mailinglist<us...@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.