Jackie-Jiang commented on a change in pull request #4646: Enabling alternative
controller rest API classes in preprocess
URL: https://github.com/apache/incubator-pinot/pull/4646#discussion_r328402999
##########
File path:
pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java
##########
@@ -194,14 +193,6 @@ public void run()
_fileSystem.delete(_stagingDir, true);
}
- @Nullable
- protected TableConfig getTableConfig()
- throws IOException {
- try (ControllerRestApi controllerRestApi = getControllerRestApi()) {
- return controllerRestApi != null ? controllerRestApi.getTableConfig() :
null;
- }
- }
-
protected Schema getSchema()
Review comment:
Actually we can move _filesystem and _schemaFile into the base class as
well. Your call
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]