vinothchandar commented on a change in pull request #2441: URL: https://github.com/apache/hudi/pull/2441#discussion_r559907213
########## File path: hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java ########## @@ -94,31 +94,36 @@ protected final HoodieWriteConfig config; protected final HoodieTableMetaClient metaClient; - protected final transient HoodieEngineContext context; protected final HoodieIndex<T, I, K, O> index; - private SerializableConfiguration hadoopConfiguration; - private transient FileSystemViewManager viewManager; - private HoodieTableMetadata metadata; - protected final TaskContextSupplier taskContextSupplier; + private final HoodieTableMetadata metadata; + + private transient FileSystemViewManager viewManager; + protected final transient HoodieEngineContext context; protected HoodieTable(HoodieWriteConfig config, HoodieEngineContext context, HoodieTableMetaClient metaClient) { this.config = config; this.hadoopConfiguration = context.getHadoopConf(); - this.viewManager = FileSystemViewManager.createViewManager(hadoopConfiguration, - config.getViewStorageConfig()); + this.context = context; + + // disable reuse of resources, given there is no close() called on the executors ultimately Review comment: cc @prashantwason @umehrot2 this is an important piece of code ---------------------------------------------------------------- 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: us...@infra.apache.org