You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/18 06:07:21 UTC

[GitHub] [hudi] eric9204 commented on issue #6696: [SUPPORT][Consistent bucket index]NoClassDefFoundError: org/apache/logging/log4j/LogManager

eric9204 commented on issue #6696:
URL: https://github.com/apache/hudi/issues/6696#issuecomment-1250200063

   > @eric9204 does the version you used contain this patch? #6631, which is likely to address this problem cc @alexeykudinkin
   
   @xushiyan  @YuweiXiao The version I used do contain this patch #6637 .
   But I found some problems in the  `SparkConsistentBucketClusteringPlanStrategy.java`
   
   When I modified this 
   
   ```
   import org.apache.logging.log4j.LogManager;
   import org.apache.logging.log4j.Logger; 
   ```
   
   to
   
   ```
   import org.apache.log4j.LogManager;
   import org.apache.log4j.Logger;
   ```
   This problem of NoClassDefFoundError didn't reappear.
   
   Maybe the same changes should be applied in these file.
   
   ```
   RDDConsistentBucketPartitioner.java
   SparkConsistentBucketClusteringExecutionStrategy.java
   SparkConsistentBucketDuplicateUpdateStrategy.java
   RDDConsistentBucketPartitioner.java
   ```
   
   The same import in the `SparkSizeBasedClusteringPlanStrategy.java` was 
   
   ```
   import org.apache.log4j.LogManager;
   import org.apache.log4j.Logger;
   ```


-- 
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-unsubscribe@hudi.apache.org

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