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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Tests
    • None
    • 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.1.patch.txt
          5 kB
          Zhenxiao Luo
        2. HIVE-3412.2.patch.txt
          7 kB
          Zhenxiao Luo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: