wangyum commented on a change in pull request #24115: [SPARK-27180][BUILD][YARN] Fix testing issues with yarn module in Hadoop-3 URL: https://github.com/apache/spark/pull/24115#discussion_r269611177
########## File path: resource-managers/yarn/src/test/java/org/apache/hadoop/net/ServerSocketUtil.java ########## @@ -0,0 +1,132 @@ +/* Review comment: Yes, I tried it, this can be successful on hadoop-3.2, but throws a compilation exception on hadoop-2.7(It seems exclude `hadoop-common`). ```java [error] /Users/yumwang/SPARK-20845/spark/resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/ApplicationMasterSuite.scala:34: Class org.apache.hadoop.conf.Configuration not found - continuing with a stub. [error] val yarnConf = new YarnConfiguration() [error] ``` ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
