Abhishek Agarwal created HIVE-7531:
--------------------------------------

             Summary: --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


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)

Reply via email to