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

Switch to Threaded View
Hive >> mail # user >> NPE with hive.cli.print.header=true;

Copy link to this message
Re: NPE with hive.cli.print.header=true;
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.

Bejoy K S

-----Original Message-----
From: Ayon Sinha <[EMAIL PROTECTED]>
Date: Mon, 1 Aug 2011 17:29:17
To: Hive Mailinglist<[EMAIL PROTECTED]>
Subject: NPE with hive.cli.print.header=true;

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?
See My Photos on Flickr
Also check out my Blog for answers to commonly asked questions.