You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2019/05/02 23:28:00 UTC

[jira] [Created] (HIVE-21683) ProxyFileSystem breaks with Hadoop trunk

Todd Lipcon created HIVE-21683:
----------------------------------

             Summary: ProxyFileSystem breaks with Hadoop trunk
                 Key: HIVE-21683
                 URL: https://issues.apache.org/jira/browse/HIVE-21683
             Project: Hive
          Issue Type: Bug
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


When trying to run with a recent build of Hadoop which includes HADOOP-15229 I ran into the following stack:
{code}
Caused by: java.lang.IllegalArgumentException: Wrong FS: pfile:/src/hive/itests/qtest/target/warehouse/src/kv1.txt, expected: file:///
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:793) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:86) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:636) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:930) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:631) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:456) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:153) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:354) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.ChecksumFileSystem.lambda$openFileWithOptions$0(ChecksumFileSystem.java:846) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.util.LambdaUtils.eval(LambdaUtils.java:52) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.ChecksumFileSystem.openFileWithOptions(ChecksumFileSystem.java:845) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.fs.FileSystem$FSDataInputStreamBuilder.build(FileSystem.java:4522) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
        at org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:115) ~[hadoop-mapreduce-client-core-3.1.1.6.0.99.0-135.jar:?]{code}

We need to add appropriate path-swizzling wrappers for the new APIs in ProxyFileSystem23



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)