You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2015/05/01 23:57:07 UTC

[jira] [Created] (HIVE-10576) add jar command is not portable in non-unix systems

Hari Sankar Sivarama Subramaniyan created HIVE-10576:
--------------------------------------------------------

             Summary: add jar command is not portable in non-unix systems
                 Key: HIVE-10576
                 URL: https://issues.apache.org/jira/browse/HIVE-10576
             Project: Hive
          Issue Type: Bug
            Reporter: Hari Sankar Sivarama Subramaniyan
            Assignee: Hari Sankar Sivarama Subramaniyan


Steps to reproduce this issue in Windows OS:
hadoop.cmd fs -mkdir -p /tmp/testjars
hadoop.cmd fs -copyFromLocal <hive-hcatalog-core-*.jar>  /tmp/testjars
from hive cli:
add jar hdfs:///tmp/testjars/hive-hcatalog-core-*.jar;
add jar D:\hdp\hive-1.2.0.2.3.0.0-1737\hcatalog\share\hcatalog\hive-hcatal
og-core-1.2.0.2.3.0.0-1737.jar;

{code}
hive> add jar hdfs:///tmp/testjars/hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar;
converting to local hdfs:///tmp/testjars/hive-hcatalog-core-1.2.0.2.3.0.0-1737.j
ar
Illegal character in opaque part at index 2: C:\Users\hadoopqa\AppData\Local\Tem
p\cf0c70a4-f8e5-43ae-8c94-aa528f90887d_resources\hive-hcatalog-core-1.2.0.2.3.0.
0-1737.jar
Query returned non-zero code: 1, cause: java.net.URISyntaxException: Illegal cha
racter in opaque part at index 2: C:\Users\hadoopqa\AppData\Local\Temp\cf0c70a4-
f8e5-43ae-8c94-aa528f90887d_resources\hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar
hive> add jar D:\hdp\hive-1.2.0.2.3.0.0-1737\hcatalog\share\hcatalog\hive-hcatal
og-core-1.2.0.2.3.0.0-1737.jar;
Illegal character in opaque part at index 2: D:\hdp\hive-1.2.0.2.3.0.0-1737\hcat
alog\share\hcatalog\hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar
Query returned non-zero code: 1, cause: java.net.URISyntaxException: Illegal cha
racter in opaque part at index 2: D:\hdp\hive-1.2.0.2.3.0.0-1737\hcatalog\share\
hcatalog\hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)