Chosen123Wang commented on issue #5457:
URL: https://github.com/apache/hudi/issues/5457#issuecomment-1125690477

   > Hi, I also encountered the same problem. My approach here is
   > 
   > 1. Modify the code in org.apache.hudi.io.storage.HoodieParquetWriter of 
hudi-client-common:
   >    **Comment out this variable directly HoodieWrapperFileSystem fs**
   >    [Before]
   >    private final HoodieWrapperFileSystem fs;
   >    [after]
   >    //private final HoodieWrapperFileSystem fs;
   > 2. Continue to modify the above 'fs' variable association method code in 
this class:
   > 
   > **Comment out the 'fs' object reference code in the constructor of 
org.apache.hudi.io.storage.HoodieParquetWriter directly** [Before] this.fs = 
(HoodieWrapperFileSystem) 
this.file.getFileSystem(FSUtils.registerFileSystem(file, 
parquetConfig.getHadoopConf())); [after] //this.fs = (HoodieWrapperFileSystem) 
this.file.getFileSystem(FSUtils.registerFileSystem(file, 
parquetConfig.getHadoopConf()));
   > 
   > Because this variable is not used for the time being, commenting it out 
will solve my problem, you can also try this method, I hope it can help you.
   
   According to your solution, I tested it, the job is running normally, thank 
you for solving my problem。 
   What does this variable do? @yihua 


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