Hive
  1. Hive
  2. HIVE-3156

Support MiniMR tests for Hadoop-0.23

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None
    • Environment:

      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.

        Activity

        Rohith Sharma K S created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development