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


##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java:
##########
@@ -384,13 +384,12 @@ public Boolean isMetadataTable() {
 
   public HoodieStorage getStorage() {
     if (storage == null) {
+      HoodieStorage newStorage = HoodieStorageUtils.getStorage(metaPath, 
getStorageConf());

Review Comment:
   You're right on point.  The `HoodieStorage` instance the meta client holds 
is marked as `transient`, so it is not serde over the communication between 
driver and executors.  Rather, the method `getStorage` creates a new storage 
instance for Hadoop-based implementation on the executor side when `storage` 
instance is null.



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

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

Reply via email to