atovk commented on a change in pull request #463:
URL: https://github.com/apache/submarine/pull/463#discussion_r533095816



##########
File path: submarine-security/spark-security/pom.xml
##########
@@ -539,6 +563,7 @@
       <id>spark-2.3</id>
       <properties>
         <spark.version>2.3.4</spark.version>
+        <guava.version>15.0</guava.version>

Review comment:
       this change for test case in profile  hadoop-3.x spark-3.x, case runner 
has guava error 
   `java.lang.NoSuchMethodError: 
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V`
   Dependency guava version is old; 
   so, i add guava Dependency for test scope, profile `hadoop-3.2, ranger-x, 
spark-3.0 ` test case passed, 
   but profile `hadoop-2.9, ranger-x, spark-2.x` test case is failure [Cause: 
java.lang.IllegalAccessError: tried to access method 
com.google.common.base.Stopwatch.<init>](https://stackoverflow.com/questions/36427291/illegalaccesserror-to-guavas-stopwatch-from-org-apache-hadoop-mapreduce-lib-inp)
 , spark-2.x need guava version is 15.0;
   
   if skip profile `hadoop-3.x` test case, i well be clean it




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


Reply via email to