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

Fix TestCliDriver.repair on Hadoop 0.23.3, 3.0.0, and 2.2.0-alpha

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: Tests
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestCliDriver.repair fails on the following Hadoop versions:
      0.23.3, 3.0.0, 2.2.0-alpha

      repair.q fails with "dfs -mkdir":
      [junit] mkdir: `../build/ql/test/data/warehouse/repairtable/p1=a/p2=a': No such file or directory

      The problem is, after fixing HADOOP-8551, which changes the hdfs Shell syntax for mkdir:
      https://issues.apache.org/jira/browse/HADOOP-8551

      all "dfs -mkdir" commands should provide "-p" in order to execute without error.

      This is an intentional change in HDFS. And HADOOP-8551 will be included in 0.23.3, 3.0.0, 2.2.0-alpha versions.

        Attachments

        1. HIVE-3412.2.patch.txt
          7 kB
          Zhenxiao Luo
        2. HIVE-3412.1.patch.txt
          5 kB
          Zhenxiao Luo

          Activity

            People

            • Assignee:
              zhenxiao Zhenxiao Luo
              Reporter:
              zhenxiao Zhenxiao Luo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: