Grokbase Groups Hive user August 2011
FAQ
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.(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.(Path.java:137)
... 16 more


*------------------------*

Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!

Search Discussions

  • Carl Steinbach at Aug 18, 2011 at 6:34 pm
    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.<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 !!!
  • Siddharth Tiwari at Aug 18, 2011 at 7:14 pm
    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: carl@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.(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.(Path.java:137)
    ... 16 more


    *------------------------*



    Cheers !!!

    Siddharth Tiwari

    Have a refreshing day !!!
  • Edward Capriolo at Aug 18, 2011 at 7:38 pm
    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: carl@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.tiwari@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 !!!

  • Carl Steinbach at Aug 18, 2011 at 8:14 pm
    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.tiwari@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: carl@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.tiwari@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 !!!

  • Siddharth Tiwari at Aug 18, 2011 at 8:17 pm
    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: carl@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: carl@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.(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.(Path.java:137)
    ... 16 more


    *------------------------*



    Cheers !!!

    Siddharth Tiwari

    Have a refreshing day !!!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categorieshive, hadoop
postedAug 17, '11 at 10:39p
activeAug 18, '11 at 8:17p
posts6
users3
websitehive.apache.org

People

Translate

site design / logo © 2021 Grokbase