eyjian opened a new issue, #9154:
URL: https://github.com/apache/hudi/issues/9154

   The error message in the log is not specific enough.
   
   ```
   org.apache.hudi.exception.HoodieUpsertException: Error upserting bucketType 
UPDATE for partition :0
        at 
org.apache.hudi.table.action.commit.BaseSparkCommitActionExecutor.handleUpsertPartition(BaseSparkCommitActionExecutor.java:336)
        at 
org.apache.hudi.table.action.commit.BaseSparkCommitActionExecutor.lambda$mapPartitionsAsRDD$a3ab3c4$1(BaseSparkCommitActionExecutor.java:251)
        at 
org.apache.spark.api.java.JavaRDDLike.$anonfun$mapPartitionsWithIndex$1(JavaRDDLike.scala:102)
        at 
org.apache.spark.api.java.JavaRDDLike.$anonfun$mapPartitionsWithIndex$1$adapted(JavaRDDLike.scala:102)
        at 
org.apache.spark.rdd.RDD.$anonfun$mapPartitionsWithIndex$2(RDD.scala:915)
        at 
org.apache.spark.rdd.RDD.$anonfun$mapPartitionsWithIndex$2$adapted(RDD.scala:915)
        at 
org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
   
   org.apache.hudi.exception.HoodieIOException: Unable to create 
:/data61/yarnenv/local/usercache/test/appcache/application_1686131065976_125148857/hudi-BITCASK-b2edc4fb-7dbd-42b9-9af8-a49a2da39889
        at 
org.apache.hudi.common.util.collection.ExternalSpillableMap.getDiskBasedMap(ExternalSpillableMap.java:121)
        at 
org.apache.hudi.common.util.collection.ExternalSpillableMap.getDiskBasedMapNumEntries(ExternalSpillableMap.java:140)
        at org.apache.hudi.io.HoodieMergeHandle.init(HoodieMergeHandle.java:259)
        at org.apache.hudi.io.HoodieMergeHandle.(HoodieMergeHandle.java:129)
        at org.apache.hudi.io.HoodieMergeHandle.(HoodieMergeHandle.java:121)
   
   java.io.IOException: Unable to create 
:/data61/yarnenv/local/usercache/test/appcache/application_1686131065976_125148857/hudi-BITCASK-b2edc4fb-7dbd-42b9-9af8-a49a2da39889
        at org.apache.hudi.common.util.FileIOUtils.mkdir(FileIOUtils.java:70)
        at org.apache.hudi.common.util.collection.DiskMap.(DiskMap.java:55)
        at 
org.apache.hudi.common.util.collection.BitCaskDiskMap.(BitCaskDiskMap.java:98)
        at 
org.apache.hudi.common.util.collection.ExternalSpillableMap.getDiskBasedMap(ExternalSpillableMap.java:118)
   ```
   
   ```java
   public static void mkdir(File directory) throws IOException {
       if (!directory.exists()) {
         directory.mkdirs();
       }
   
       if (!directory.isDirectory()) {
         throw new IOException("Unable to create :" + directory);
       }
     }
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to