[
https://issues.apache.org/jira/browse/GOBBLIN-1499?focusedWorklogId=630764&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-630764
]
ASF GitHub Bot logged work on GOBBLIN-1499:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jul/21 20:25
Start Date: 28/Jul/21 20:25
Worklog Time Spent: 10m
Work Description: sv2000 commented on a change in pull request #3343:
URL: https://github.com/apache/gobblin/pull/3343#discussion_r678627051
##########
File path:
gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/writer/HiveMetadataWriter.java
##########
@@ -292,9 +292,9 @@ private void schemaUpdateHelper(GobblinMetadataChangeEvent
gmce, HiveSpec spec,
return;
}
//Force to set the schema even there is no schema literal defined in the
spec
- spec.getTable()
- .getSerDeProps()
-
.setProp(AvroSerdeUtils.AvroTableProperties.SCHEMA_LITERAL.getPropName(),
latestSchemaMap.get(tableKey));
+ if(latestSchemaMap.containsKey(tableKey)) {
Review comment:
This change looks unrelated to the PR.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 630764)
Time Spent: 20m (was: 10m)
> fix the bug that compaction job hang when there is no path match the datasets
> patten
> ------------------------------------------------------------------------------------
>
> Key: GOBBLIN-1499
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1499
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: Zihan Li
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> fix the bug that compaction job hang when there is no path match the datasets
> patten. When get the compaction workunit, it reach the end only when isDone
> set to true and workunit size is zero. But if there is no match of pattern,
> isDone is always false, so job hang.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)