Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21683

ProxyFileSystem breaks with Hadoop trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When trying to run with a recent build of Hadoop which includes HADOOP-15229 I ran into the following stack:

      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:?]

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

      Attachments

        1. hive-21683.patch
          6 kB
          Todd Lipcon
        2. hive-21683-javassist.patch
          6 kB
          Todd Lipcon
        3. hive-21683-simple.patch
          2 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: