rohithsharma created HIVE-3156:
----------------------------------
Summary: Support MiniMR tests for Hadoop-0.23
Key: HIVE-3156
URL: https://issues.apache.org/jira/browse/HIVE-3156
Project: Hive
Issue Type: Bug
Components: Tests
Affects Versions: 0.9.1
Environment: Hive-0.9.1 + Hadoop-0.23.0
Reporter: rohithsharma
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira