hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7531) --auxpath does not handle paths relative to current working directory.
Date Mon, 28 Jul 2014 12:07:38 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhishek Agarwal updated HIVE-7531:
-----------------------------------

    Attachment: HIVE-7531.patch

> --auxpath does not handle paths relative to current working directory. 
> -----------------------------------------------------------------------
>
>                 Key: HIVE-7531
>                 URL: https://issues.apache.org/jira/browse/HIVE-7531
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.13.1
>            Reporter: Abhishek Agarwal
>         Attachments: HIVE-7531.patch
>
>
> If I were to specify the auxpath value as a relative path
> {noformat}
> hive --auxpath lib
> {noformat}
> I get the following error
> {noformat}
> java.lang.IllegalArgumentException: Wrong FS: file://lib/Test.jar, expected: file:///
> 	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:625)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:69)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:464)
> 	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:380)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:231)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:183)
> 	at org.apache.hadoop.mapred.JobClient.copyRemoteFiles(JobClient.java:715)
> 	at org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:818)
> 	at org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:743)
> 	at org.apache.hadoop.mapred.JobClient.access$400(JobClient.java:174)
> 	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:960)
> 	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:945)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
> 	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:945)
> 	at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:919)
> 	at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:420){noformat}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message