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 2019/09/28 07:07:52 UTC

[GitHub] [incubator-hudi] yanghua edited a comment on issue #923: HUDI-247 Unify the initialization of HoodieTableMetaClient in test for hoodie-client module

yanghua edited a comment on issue #923: HUDI-247 Unify the initialization of HoodieTableMetaClient in test for hoodie-client module
URL: https://github.com/apache/incubator-hudi/pull/923#issuecomment-536160969
 
 
   @vinothchandar How can we get a new metaclient only through an old metaclient instance? IMO, we always need two parameters(`Configuration conf, String basePath`) to init a new meta client.
   
   I mean define a method like:
   
   ```java
   public HoodieTableMetaClient reloadMetaClient(Configuration conf, String basePath)
         throws IOException, DatasetNotFoundException {
       return new HoodieTableMetaClient(...);
     }
   ```
   
   Maybe I misunderstood your idea? Did you mean deeply copy an old client's fields into a new client?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services