dongjoon-hyun commented on a change in pull request #29006:
URL: https://github.com/apache/spark/pull/29006#discussion_r450310424



##########
File path: pom.xml
##########
@@ -3085,6 +3085,31 @@
         <orc.classifier>nohive</orc.classifier>
         <datanucleus-core.version>3.2.10</datanucleus-core.version>
       </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-enforcer-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>enforce-hadoop-versions</id>
+                <goals>
+                  <goal>enforce</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <bannedDependencies>
+                      <excludes>
+                        <exclude>org.apache.hadoop:*:[3.2.0,)</exclude>

Review comment:
       Does this work in `sbt` run? It seems that PR builder is banned by this.
   ```
   [info] Building Spark using SBT with these arguments:  -Phadoop-2.7 
-Phive-1.2 -Pspark-ganglia-lgpl -Pyarn -Pkubernetes -Phadoop-cloud 
-Phive-thriftserver -Phive -Pkinesis-asl -Pmesos test:package 
streaming-kinesis-asl-assembly/assembly
   ```




----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to