zjffdu commented on a change in pull request #4266: URL: https://github.com/apache/zeppelin/pull/4266#discussion_r769667126
########## 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.11</commons-io.version> + <!-- + the declaration site above of these variables explains why we need to re-assign them here + --> + <hadoop-client-api.artifact>hadoop-client</hadoop-client-api.artifact> + <hadoop-client-runtime.artifact>hadoop-yarn-api</hadoop-client-runtime.artifact> + <hadoop-client-minicluster.artifact>hadoop-client</hadoop-client-minicluster.artifact> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-client</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-api</artifactId> 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.11</commons-io.version> + <!-- + the declaration site above of these variables explains why we need to re-assign them here + --> + <hadoop-client-api.artifact>hadoop-client</hadoop-client-api.artifact> + <hadoop-client-runtime.artifact>hadoop-yarn-api</hadoop-client-runtime.artifact> + <hadoop-client-minicluster.artifact>hadoop-client</hadoop-client-minicluster.artifact> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-client</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-api</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-yarn-common</artifactId> 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