yihua commented on code in PR #11096:
URL: https://github.com/apache/hudi/pull/11096#discussion_r1580612388


##########
hudi-hadoop-common/src/main/java/org/apache/hudi/storage/hadoop/HoodieHadoopStorage.java:
##########
@@ -202,8 +204,8 @@ public Object getFileSystem() {
   }
 
   @Override
-  public Object getConf() {
-    return fs.getConf();
+  public StorageConfiguration<Configuration> getConf() {
+    return new HadoopStorageConfiguration(fs.getConf());
   }

Review Comment:
   As discussed, added `HoodieStorage#unwrapConf` as the shortcut.



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