Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - NPE with hive.cli.print.header=true;


+
Ayon Sinha 2011-08-02, 00:29
Copy link to this message
-
Re: NPE with hive.cli.print.header=true;
bejoy_ks@... 2011-08-02, 05:20
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 <[EMAIL PROTECTED]>
Date: Mon, 1 Aug 2011 17:29:17
To: Hive Mailinglist<[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
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.

+
Edward Capriolo 2011-08-02, 12:51
+
Carl Steinbach 2011-08-02, 22:00