MAPREDUCE-7281. Fix NoClassDefFoundError on 'mapred minicluster'. (#2077)
This commit is contained in:
parent
100ec8e870
commit
8fd0fdf889
|
@ -105,6 +105,8 @@ function mapredcmd_case
|
|||
minicluster)
|
||||
hadoop_add_classpath "${HADOOP_YARN_HOME}/${YARN_DIR}/timelineservice"'/*'
|
||||
hadoop_add_classpath "${HADOOP_YARN_HOME}/${YARN_DIR}/test"'/*'
|
||||
junitjar=$(echo "${HADOOP_TOOLS_LIB_JARS_DIR}"/junit-[0-9]*.jar)
|
||||
hadoop_add_classpath "${junitjar}"
|
||||
HADOOP_CLASSNAME=org.apache.hadoop.mapreduce.MiniHadoopClusterManager
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue