Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 725817282 for ; Thu, 1 Dec 2011 19:23:02 +0000 (UTC) Received: (qmail 23987 invoked by uid 500); 1 Dec 2011 19:23:02 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 23850 invoked by uid 500); 1 Dec 2011 19:23:02 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 23842 invoked by uid 500); 1 Dec 2011 19:23:02 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 23839 invoked by uid 99); 1 Dec 2011 19:23:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 19:23:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 19:23:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A7019AE07F for ; Thu, 1 Dec 2011 19:22:40 +0000 (UTC) Date: Thu, 1 Dec 2011 19:22:40 +0000 (UTC) From: "Carl Steinbach (Resolved) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1573288901.31867.1322767360685.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1466311457.46774.1313618007182.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HIVE-2388) Facing issues while executing commands on hive shell. The system throws following error: only on Windows Cygwin setup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(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.(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