[ https://issues.apache.org/jira/browse/HIVE-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach resolved HIVE-2388. ---------------------------------- Resolution: Won't Fix Running Hive on Cygwin is not a supported configuration. In the past some people have gotten this to work by tweaking different parts of the code, but we don't test Hive on Cygwin, and consequently have no way of insuring that this configuration works. Please run Hive on Linux instead. > Facing issues while executing commands on hive shell. The system throws > following error: only on Windows Cygwin setup > --------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-2388 > URL: https://issues.apache.org/jira/browse/HIVE-2388 > Project: Hive > Issue Type: Bug > Components: CLI, Query Processor > Affects Versions: 0.7.1 > Environment: Cygwin Windows > Reporter: Siddharth tiwari > Priority: Critical > Labels: patch > Fix For: 0.7.1 > > Attachments: start.sh, start.sh > > Original Estimate: 456h > Remaining Estimate: 456h > > DDL runs well but the following command describes throw error pls help with > resolution and how to get about it > 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_ > 03-11-05_208_1818592223695168110) > java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative > path in absolute URI: > file:C:/cygwin/tmp//siddharth/hive_2011-08-18_03-11-05_208_181859222369516 > 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_208_1818592223695168110 > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira