This is an automated email from the ASF dual-hosted git repository. iwasakims pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new 8fd0fdf MAPREDUCE-7281. Fix NoClassDefFoundError on 'mapred minicluster'. (#2077) 8fd0fdf is described below commit 8fd0fdf8890b4c0cf3ea977be8fae8fa17e6599b Author: Masatake Iwasaki <iwasak...@apache.org> AuthorDate: Sat Jun 20 07:37:55 2020 +0900 MAPREDUCE-7281. Fix NoClassDefFoundError on 'mapred minicluster'. (#2077) --- hadoop-mapreduce-project/bin/mapred | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-mapreduce-project/bin/mapred b/hadoop-mapreduce-project/bin/mapred index 9773ec8..3e52556 100755 --- a/hadoop-mapreduce-project/bin/mapred +++ b/hadoop-mapreduce-project/bin/mapred @@ -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 ;; *) --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org