zjffdu commented on a change in pull request #4266: URL: https://github.com/apache/zeppelin/pull/4266#discussion_r756643346
########## File path: rlang/pom.xml ########## @@ -113,6 +113,13 @@ <scope>compile</scope> </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <version>2.7.7</version> Review comment: Fixed ########## File path: spark/interpreter/pom.xml ########## @@ -198,10 +205,23 @@ <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> - <version>2.6.0</version> + <version>2.7.7</version> Review comment: Fixed ########## File path: spark/interpreter/pom.xml ########## @@ -198,10 +205,23 @@ <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> - <version>2.6.0</version> + <version>2.7.7</version> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <version>2.7.7</version> Review comment: Fixed ########## File path: spark/spark-scala-parent/pom.xml ########## @@ -80,6 +80,21 @@ <scope>provided</scope> </dependency> + <!-- Use provided scope, hadoop dependencies are only for compilation --> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-client</artifactId> + <version>2.7.7</version> Review comment: Fixed ########## File path: zeppelin-interpreter-integration/pom.xml ########## @@ -203,4 +173,105 @@ </plugins> </build> + <profiles> + <profile> + <id>hadoop2</id> + + <activation> + <activeByDefault>true</activeByDefault> + </activation> + + <properties> + <hadoop.version>${hadoop2.7.version}</hadoop.version> + <curator.version>2.7.1</curator.version> + <commons-io.version>2.4</commons-io.version> Review comment: Fixed ########## File path: zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/ZeppelinSparkClusterTest.java ########## @@ -154,6 +162,11 @@ private void waitForRunning(Paragraph p) { @Test public void scalaOutputTest() throws IOException, InterruptedException { + if (!isHadoopVersionMatch()) { Review comment: Fixed ########## File path: zeppelin-interpreter/pom.xml ########## @@ -233,4 +226,86 @@ </resources> </build> + <profiles> + <profile> + <id>hadoop2</id> + + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <hadoop.version>${hadoop2.7.version}</hadoop.version> + <curator.version>2.7.1</curator.version> + <commons-io.version>2.4</commons-io.version> Review comment: Fixed ########## File path: zeppelin-server/pom.xml ########## @@ -498,17 +477,95 @@ </zeppelin.daemon.package.base> </properties> </profile> + + <profile> + <id>hadoop2</id> + + <properties> + <hadoop.version>${hadoop2.7.version}</hadoop.version> + <curator.version>2.7.1</curator.version> + <commons-io.version>2.4</commons-io.version> Review comment: Fixed ########## File path: zeppelin-zengine/pom.xml ########## @@ -317,4 +312,86 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>hadoop2</id> + + <activation> + <activeByDefault>true</activeByDefault> + </activation> + + <properties> + <hadoop.version>${hadoop2.7.version}</hadoop.version> + <curator.version>2.7.1</curator.version> + <commons-io.version>2.4</commons-io.version> Review comment: Fixed -- 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. To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org