The standard answer is Hive doesn't work on cygwin.
Perhaps, some day Microsoft will make its Cosmos/Scope map-reduce project
open-source (probably not).

igor
decide.com

On Wed, Aug 17, 2011 at 3:32 PM, Siddharth tiwari <siddharth.tiw...@live.com
> wrote:

>   please help me out in following error, I encounter it on cygwin
>
> hive> show tables
>     > ;
> FAILED: Hive Internal Error:
> java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative
> path in absolute URI: file
> 03-11-05_208_1818592223695168110)
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
> path in absolute URI: file:C:/cygwin/tmp//siddharth/hi
> 8110
>         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_03-11-05_20
>         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
>
> hive> exit;
>

Reply via email to