yuqi1129 commented on code in PR #5558:
URL: https://github.com/apache/gravitino/pull/5558#discussion_r1861469478


##########
catalogs/catalog-hive/build.gradle.kts:
##########
@@ -129,6 +129,10 @@ dependencies {
   testImplementation(libs.testcontainers.mysql)
   testImplementation(libs.testcontainers.localstack)
   testImplementation(libs.hadoop2.aws)
+  testImplementation(libs.hadoop3.abs)
+
+  // You need this to run test CatalogHiveABSIT
+  // testImplementation(libs.hadoop3.common)

Review Comment:
   First for Auzre Blob Storage test, it requres hadoop3 common or the 
following error will occur:
   
   ```
   java.lang.NoClassDefFoundError: 
org/apache/hadoop/security/ssl/DelegatingSSLSocketFactory$SSLChannelMode
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.<init>(AzureBlobFileSystemStore.java:151)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.initialize(AzureBlobFileSystem.java:108)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3261)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:121)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3310)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3278)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:475)
        at 
org.apache.gravitino.catalog.hive.integration.test.CatalogHiveABSIT.initFileSystem(CatalogHiveABSIT.java:74)
        at 
org.apache.gravitino.catalog.hive.integration.test.CatalogHiveIT.startup(CatalogHiveIT.java:215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
        at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
        at
   ```
   
   If we do not comment the code, there will be conflicts between hadoop2 and 
hadoop3 common , resulting failures in other test.
   
   So we need to comment the dependencies currently. 



-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to