You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/28 15:25:47 UTC

[GitHub] [hadoop] xkrogen commented on a change in pull request #1680: HDFS-14907. [Dynamometer] DataNode can't find junit jar when using Hadoop-3 binary

xkrogen commented on a change in pull request #1680: HDFS-14907. [Dynamometer] DataNode can't find junit jar when using Hadoop-3 binary
URL: https://github.com/apache/hadoop/pull/1680#discussion_r339628534
 
 

 ##########
 File path: hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra/src/main/resources/start-component.sh
 ##########
 @@ -94,6 +94,12 @@ function hdfs_original {
 extraClasspathDir="$(pwd)/additionalClasspath/"
 mkdir -p "${extraClasspathDir}"
 
+junitClassPath="$(find "${hadoopHome}" -name "junit*.jar" | head -n 1)"
+if [[ -z "$junitClassPath" ]]; then
+  echo "Can't find junit jar file."
 
 Review comment:
   Can we include where the JAR was searched (`hadoopHome`)?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org