FAQ
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.(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.(Path.java:137)
... 16 more

hive> exit;

Search Discussions

  • Igor Tatarinov at Oct 5, 2011 at 8:11 pm
    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 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;
  • Trang van anh at Oct 14, 2011 at 7:50 am
    please verify hive config "*hive.exec.scratchdir*" property. make sure
    URI is correct? good luck
    On 8/18/2011 5:32 AM, Siddharth tiwari 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;

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categorieshive, hadoop
postedOct 5, '11 at 8:08p
activeOct 14, '11 at 7:50a
posts3
users3
websitehive.apache.org

People

Translate

site design / logo © 2022 Grokbase