RE: Hive DDL issue

2011-08-18 Thread Siddharth Tiwari

okay Ed and Carl, I get the point, the only thing which bothered me was, would 
it be able to run on cygwin ? what actually was wrong.

**

Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!


From: c...@cloudera.com
Date: Thu, 18 Aug 2011 13:13:37 -0700
Subject: Re: Hive DDL issue
To: user@hive.apache.org

Adding to what Ed said, we don't run regression tests on Cygwin, so Hive on 
Cygwin isde facto unmaintained. 

On Thu, Aug 18, 2011 at 12:37 PM, Edward Capriolo  wrote:


It did work with cygwin at one point but since it is rarely used in that 
environment it is not well supported. Your best bet is QEMU or Vmware emulating 
a linux environment.  



On Thu, Aug 18, 2011 at 3:14 PM, Siddharth Tiwari  
wrote:








hey carl,

Isint there any way to enable it, if not, what is this error about ? what is 
the problem ?

**

Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!


From: c...@cloudera.com
Date: Thu, 18 Aug 2011 11:34:03 -0700
Subject: Re: Hive DDL issue



To: user@hive.apache.org

Hive does not work on Cygwin.

On Wed, Aug 17, 2011 at 3:38 PM, Siddharth Tiwari  
wrote:











encountering following issur pls help, on cygwin windows

hive> show tables;
FAILED: Hive Internal Error: 
java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative path 
in absolute URI: file:C:/cygwin/tmp//siddharth/hive_2011-08-18_





04-08-25_850_5502285238716420526)
java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path 
in absolute URI: 
file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_550228523871642
0526
at org.apache.hadoop.fs.Path.initialize(Path.java:140)





at org.apache.hadoop.fs.Path.(Path.java:132)
at org.apache.hadoop.hive.ql.Context.getScratchDir(Context.java:142)
at 
org.apache.hadoop.hive.ql.Context.getLocalScratchDir(Context.java:168)





at 
org.apache.hadoop.hive.ql.Context.getLocalTmpFileURI(Context.java:282)
at 
org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeInternal(DDLSemanticAnalyzer.java:205)
at 
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)





at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:164)





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:156)
Caused by: java.net.URISyntaxException: Relative path in absolute URI: 
file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_5502285238716420526
at java.net.URI.checkPath(URI.java:1787)





at java.net.URI.(URI.java:735)
at org.apache.hadoop.fs.Path.initialize(Path.java:137)
... 16 more


**



Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!
  

  



  

Re: Hive DDL issue

2011-08-18 Thread Carl Steinbach
Adding to what Ed said, we don't run regression tests on Cygwin, so Hive on
Cygwin is
de facto unmaintained.

On Thu, Aug 18, 2011 at 12:37 PM, Edward Capriolo wrote:

> It did work with cygwin at one point but since it is rarely used in that
> environment it is not well supported. Your best bet is QEMU or Vmware
> emulating a linux environment.
>
>
> On Thu, Aug 18, 2011 at 3:14 PM, Siddharth Tiwari <
> siddharth.tiw...@live.com> wrote:
>
>>  hey carl,
>>
>> Isint there any way to enable it, if not, what is this error about ? what
>> is the problem ?
>>
>> ****
>> *Cheers !!!*
>> *Siddharth Tiwari*
>> Have a refreshing day !!!
>>
>>
>> ------
>> From: c...@cloudera.com
>> Date: Thu, 18 Aug 2011 11:34:03 -0700
>> Subject: Re: Hive DDL issue
>> To: user@hive.apache.org
>>
>> Hive does not work on Cygwin.
>>
>> On Wed, Aug 17, 2011 at 3:38 PM, Siddharth Tiwari <
>> siddharth.tiw...@live.com> wrote:
>>
>>
>> encountering following issur pls help, on cygwin windows
>>
>> hive> show tables;
>> FAILED: Hive Internal Error:
>> java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative
>> path in absolute URI: file:C:/cygwin/tmp//siddharth/hive_2011-08-18_
>> 04-08-25_850_5502285238716420526)
>> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
>> path in absolute URI:
>> file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_550228523871642
>> 0526
>> at org.apache.hadoop.fs.Path.initialize(Path.java:140)
>> at org.apache.hadoop.fs.Path.(Path.java:132)
>> at
>> org.apache.hadoop.hive.ql.Context.getScratchDir(Context.java:142)
>> at
>> org.apache.hadoop.hive.ql.Context.getLocalScratchDir(Context.java:168)
>> at
>> org.apache.hadoop.hive.ql.Context.getLocalTmpFileURI(Context.java:282)
>> at
>> org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeInternal(DDLSemanticAnalyzer.java:205)
>> at
>> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)
>> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
>> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
>> at
>> org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:164)
>> 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:156)
>> Caused by: java.net.URISyntaxException: Relative path in absolute URI:
>> file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_5502285238716420526
>> at java.net.URI.checkPath(URI.java:1787)
>> at java.net.URI.(URI.java:735)
>> at org.apache.hadoop.fs.Path.initialize(Path.java:137)
>> ... 16 more
>>
>>
>> ****
>> *Cheers !!!*
>> *Siddharth Tiwari*
>> Have a refreshing day !!!
>>
>>
>>
>


Re: Hive DDL issue

2011-08-18 Thread Edward Capriolo
It did work with cygwin at one point but since it is rarely used in that
environment it is not well supported. Your best bet is QEMU or Vmware
emulating a linux environment.

On Thu, Aug 18, 2011 at 3:14 PM, Siddharth Tiwari  wrote:

>  hey carl,
>
> Isint there any way to enable it, if not, what is this error about ? what
> is the problem ?
>
> ****
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
>
>
> --
> From: c...@cloudera.com
> Date: Thu, 18 Aug 2011 11:34:03 -0700
> Subject: Re: Hive DDL issue
> To: user@hive.apache.org
>
> Hive does not work on Cygwin.
>
> On Wed, Aug 17, 2011 at 3:38 PM, Siddharth Tiwari <
> siddharth.tiw...@live.com> wrote:
>
>
> encountering following issur pls help, on cygwin windows
>
> hive> show tables;
> FAILED: Hive Internal Error:
> java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative
> path in absolute URI: file:C:/cygwin/tmp//siddharth/hive_2011-08-18_
> 04-08-25_850_5502285238716420526)
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
> path in absolute URI:
> file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_550228523871642
> 0526
> at org.apache.hadoop.fs.Path.initialize(Path.java:140)
> at org.apache.hadoop.fs.Path.(Path.java:132)
> at
> org.apache.hadoop.hive.ql.Context.getScratchDir(Context.java:142)
> at
> org.apache.hadoop.hive.ql.Context.getLocalScratchDir(Context.java:168)
> at
> org.apache.hadoop.hive.ql.Context.getLocalTmpFileURI(Context.java:282)
> at
> org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeInternal(DDLSemanticAnalyzer.java:205)
> at
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)
> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
> at
> org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:164)
> 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:156)
> Caused by: java.net.URISyntaxException: Relative path in absolute URI:
> file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_5502285238716420526
> at java.net.URI.checkPath(URI.java:1787)
> at java.net.URI.(URI.java:735)
> at org.apache.hadoop.fs.Path.initialize(Path.java:137)
> ... 16 more
>
>
> ****
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
>
>
>


RE: Hive DDL issue

2011-08-18 Thread Siddharth Tiwari

hey carl,

Isint there any way to enable it, if not, what is this error about ? what is 
the problem ?

**

Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!


From: c...@cloudera.com
Date: Thu, 18 Aug 2011 11:34:03 -0700
Subject: Re: Hive DDL issue
To: user@hive.apache.org

Hive does not work on Cygwin.

On Wed, Aug 17, 2011 at 3:38 PM, Siddharth Tiwari  
wrote:








encountering following issur pls help, on cygwin windows

hive> show tables;
FAILED: Hive Internal Error: 
java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative path 
in absolute URI: file:C:/cygwin/tmp//siddharth/hive_2011-08-18_


04-08-25_850_5502285238716420526)
java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path 
in absolute URI: 
file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_550228523871642
0526
at org.apache.hadoop.fs.Path.initialize(Path.java:140)


at org.apache.hadoop.fs.Path.(Path.java:132)
at org.apache.hadoop.hive.ql.Context.getScratchDir(Context.java:142)
at 
org.apache.hadoop.hive.ql.Context.getLocalScratchDir(Context.java:168)


at 
org.apache.hadoop.hive.ql.Context.getLocalTmpFileURI(Context.java:282)
at 
org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeInternal(DDLSemanticAnalyzer.java:205)
at 
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)


at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:164)


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:156)
Caused by: java.net.URISyntaxException: Relative path in absolute URI: 
file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_5502285238716420526
at java.net.URI.checkPath(URI.java:1787)


at java.net.URI.(URI.java:735)
at org.apache.hadoop.fs.Path.initialize(Path.java:137)
... 16 more


**



Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!
  

  

Re: Hive DDL issue

2011-08-18 Thread Carl Steinbach
Hive does not work on Cygwin.

On Wed, Aug 17, 2011 at 3:38 PM, Siddharth Tiwari  wrote:

>
> encountering following issur pls help, on cygwin windows
>
> hive> show tables;
> FAILED: Hive Internal Error:
> java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative
> path in absolute URI: file:C:/cygwin/tmp//siddharth/hive_2011-08-18_
> 04-08-25_850_5502285238716420526)
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
> path in absolute URI:
> file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_550228523871642
> 0526
> at org.apache.hadoop.fs.Path.initialize(Path.java:140)
> at org.apache.hadoop.fs.Path.(Path.java:132)
> at
> org.apache.hadoop.hive.ql.Context.getScratchDir(Context.java:142)
> at
> org.apache.hadoop.hive.ql.Context.getLocalScratchDir(Context.java:168)
> at
> org.apache.hadoop.hive.ql.Context.getLocalTmpFileURI(Context.java:282)
> at
> org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeInternal(DDLSemanticAnalyzer.java:205)
> at
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)
> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
> at
> org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:164)
> 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:156)
> Caused by: java.net.URISyntaxException: Relative path in absolute URI:
> file:C:/cygwin/tmp//siddharth/hive_2011-08-18_04-08-25_850_5502285238716420526
> at java.net.URI.checkPath(URI.java:1787)
> at java.net.URI.(URI.java:735)
> at org.apache.hadoop.fs.Path.initialize(Path.java:137)
> ... 16 more
>
>
> ****
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
>