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

Support MiniMR tests for Hadoop-0.23

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.1
    • None
    • Tests
    • None
    • Hive-0.9.1 + Hadoop-0.23.0

    Description

      When MiniMR tests are ran with hadoop-0.23.0, tests fails throwing following exception.

      java.lang.UnsupportedOperationException
      at org.apache.hadoop.mapred.MiniMRCluster.getJobTrackerPort(MiniMRCluster.java:88)
      at org.apache.hadoop.hive.ql.QTestUtil.initConf(QTestUtil.java:215)

      In hadoop-0.23 ,few mapreduce API's are not supported like getJobTrackerPort().

      Here, we need to use API's based on hadoop versions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: