[ https://issues.apache.org/jira/browse/GOBBLIN-1117?focusedWorklogId=423724&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-423724 ]
ASF GitHub Bot logged work on GOBBLIN-1117: ------------------------------------------- Author: ASF GitHub Bot Created on: 16/Apr/20 20:43 Start Date: 16/Apr/20 20:43 Worklog Time Spent: 10m Work Description: autumnust commented on pull request #2957: [GOBBLIN-1117]Enable record count verification for ORC format URL: https://github.com/apache/incubator-gobblin/pull/2957#discussion_r409836425 ########## File path: gobblin-compaction/src/main/java/org/apache/gobblin/compaction/verify/InputRecordCountHelper.java ########## @@ -71,6 +75,7 @@ public InputRecordCountHelper(State state) { try { this.fs = getSourceFileSystem (state); this.state = state; + this.extensionName = state.getProp(COMPACTION_OUTPUT_EXTENSION, DEFAULT_COMPACTION_OUTPUT_EXTENSION); Review comment: I think making this configurable in the first place is a mistake - the extension should always stay consistent with the extension that you specified as part of compaction job. I get the point of decouple the configs, but they are needed in different places and that's why it is public static. ( If strict decoupling is applied then anything should be private or package-private static, which is not realistic ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 423724) Time Spent: 1h (was: 50m) > Fix hard-code avro suffix in record-count verification process for > re-compaction > -------------------------------------------------------------------------------- > > Key: GOBBLIN-1117 > URL: https://issues.apache.org/jira/browse/GOBBLIN-1117 > Project: Apache Gobblin > Issue Type: Improvement > Reporter: Lei Sun > Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)