hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Srivastava <vikas.srivast...@one97.net>
Subject Re: Is there a way to have comma separated results instead of tab separated
Date Mon, 25 Jul 2011 05:45:44 GMT
On Fri, Jul 22, 2011 at 2:37 AM, Ayon Sinha <ayonsinha@yahoo.com> wrote:

> Works for select but while changing DB it give NPE:
>
> hive> use userstore
>     > ;
> OK
> 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)
>
>
> -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>
>
> ------------------------------
> *From:* Igor Tatarinov <igor@decide.com>
> *To:* user@hive.apache.org; Ayon Sinha <ayonsinha@yahoo.com>
> *Sent:* Thursday, July 21, 2011 1:16 PM
> *Subject:* Re: Is there a way to have column headers in results
>
> set hive.cli.print.header=true;
>
> should work.
>
> igor
> decide.com
>
>
> On Thu, Jul 21, 2011 at 12:57 PM, Ayon Sinha <ayonsinha@yahoo.com> wrote:
>
> Hi,
> I wanted to find out if there is a way to get column headers in the results
> for the queries.
>
> -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>
>
>
>
>
>


-- 
With Regards
Vikas Srivastava

DWH & Analytics Team
Mob:+91 9560885900
One97 | Let's get talking !

Mime
View raw message