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.<init>(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.<init>(URI.java:735)
>         at org.apache.hadoop.fs.Path.initialize(Path.java:137)
>         ... 16 more
>
>
> **------------------------**
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
>

Reply via email to