You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by R J <rj...@yahoo.com> on 2012/11/14 23:27:23 UTC

Hive command stalls

Hi All,

I installed HIVE version 0.8.1 on Cigwin. I also installed Hadoop 1.0.4. I have set the JAVA_HOME and HIVE_HOME environment variables.


I started HIVE and tried to run a HIVE command but it stalls there. 

$ pwd
/usr/local/hive-0.8.1-bin
$ echo $HIVE_HOME
/usr/local/hive-0.8.1-bin
$ bin/hive
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
Logging initialized using configuration in jar:file:/C:/cygwin/usr/local/hive-0.8.1-bin/lib/hive-common-0.8.1.jar!/hive-log4j.properties
Hive history file=/tmp/W19064/hive_job_log_W12345_201211141624_754894100.txt
hive> CREATE TABLE x (a INT);


Is there any way I could troubleshoot it? Thanks a lot.

Re: Hive command stalls

Posted by Viral Bajaria <vi...@gmail.com>.
Oh dang it... didn't read the Cygwin part. False alarm (suggestion) to do
any kind of debugging :-)

On Wed, Nov 14, 2012 at 2:48 PM, Edward Capriolo <ed...@gmail.com>wrote:

> For the second time on the mailing list today...
> Hive does not work with cygwin.
>
> :)
>
> On Wed, Nov 14, 2012 at 5:43 PM, Viral Bajaria <vi...@gmail.com>
> wrote:
> > Try enabling some kind of logging on the cli by doing either of the
> > following, I would go with INFO first and then if that does not provide
> > enough information then do DEBUG...
> >
> > bin/hive -hiveconf hive.root.logger=INFO,console
> > bin/hive -hiveconf hive.root.logger=DEBUG,console
> >
> > On Wed, Nov 14, 2012 at 2:27 PM, R J <rj...@yahoo.com> wrote:
> >>
> >> Hi All,
> >>
> >> I installed HIVE version 0.8.1 on Cigwin. I also installed Hadoop
> 1.0.4. I
> >> have set the JAVA_HOME and HIVE_HOME environment variables.
> >>
> >> I started HIVE and tried to run a HIVE command but it stalls there.
> >> $ pwd
> >> /usr/local/hive-0.8.1-bin
> >> $ echo $HIVE_HOME
> >> /usr/local/hive-0.8.1-bin
> >> $ bin/hive
> >> WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated.
> Please
> >> use org.apache.hadoop.log.metrics.EventCounter in all the
> log4j.properties
> >> files.
> >> Logging initialized using configuration in
> >>
> jar:file:/C:/cygwin/usr/local/hive-0.8.1-bin/lib/hive-common-0.8.1.jar!/hive-log4j.properties
> >> Hive history
> >> file=/tmp/W19064/hive_job_log_W12345_201211141624_754894100.txt
> >> hive> CREATE TABLE x (a INT);
> >>
> >> Is there any way I could troubleshoot it? Thanks a lot.
> >
> >
>

Re: Hive command stalls

Posted by Edward Capriolo <ed...@gmail.com>.
For the second time on the mailing list today...
Hive does not work with cygwin.

:)

On Wed, Nov 14, 2012 at 5:43 PM, Viral Bajaria <vi...@gmail.com> wrote:
> Try enabling some kind of logging on the cli by doing either of the
> following, I would go with INFO first and then if that does not provide
> enough information then do DEBUG...
>
> bin/hive -hiveconf hive.root.logger=INFO,console
> bin/hive -hiveconf hive.root.logger=DEBUG,console
>
> On Wed, Nov 14, 2012 at 2:27 PM, R J <rj...@yahoo.com> wrote:
>>
>> Hi All,
>>
>> I installed HIVE version 0.8.1 on Cigwin. I also installed Hadoop 1.0.4. I
>> have set the JAVA_HOME and HIVE_HOME environment variables.
>>
>> I started HIVE and tried to run a HIVE command but it stalls there.
>> $ pwd
>> /usr/local/hive-0.8.1-bin
>> $ echo $HIVE_HOME
>> /usr/local/hive-0.8.1-bin
>> $ bin/hive
>> WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please
>> use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties
>> files.
>> Logging initialized using configuration in
>> jar:file:/C:/cygwin/usr/local/hive-0.8.1-bin/lib/hive-common-0.8.1.jar!/hive-log4j.properties
>> Hive history
>> file=/tmp/W19064/hive_job_log_W12345_201211141624_754894100.txt
>> hive> CREATE TABLE x (a INT);
>>
>> Is there any way I could troubleshoot it? Thanks a lot.
>
>

Re: Hive command stalls

Posted by Viral Bajaria <vi...@gmail.com>.
Try enabling some kind of logging on the cli by doing either of the
following, I would go with INFO first and then if that does not provide
enough information then do DEBUG...

bin/hive -hiveconf hive.root.logger=INFO,console
bin/hive -hiveconf hive.root.logger=DEBUG,console

On Wed, Nov 14, 2012 at 2:27 PM, R J <rj...@yahoo.com> wrote:

> Hi All,
>
> I installed HIVE version 0.8.1 on Cigwin. I also installed Hadoop 1.0.4. I
> have set the JAVA_HOME and HIVE_HOME environment variables.
>
> I started HIVE and tried to run a HIVE command but it stalls there.
> $ pwd
> /usr/local/hive-0.8.1-bin
> $ echo $HIVE_HOME
> /usr/local/hive-0.8.1-bin
> $ bin/hive
> WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please
> use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties
> files.
> Logging initialized using configuration in
> jar:file:/C:/cygwin/usr/local/hive-0.8.1-bin/lib/hive-common-0.8.1.jar!/hive-log4j.properties
> Hive history
> file=/tmp/W19064/hive_job_log_W12345_201211141624_754894100.txt
> hive> CREATE TABLE x (a INT);
>
> Is there any way I could troubleshoot it? Thanks a lot.
>