[ https://issues.apache.org/jira/browse/GOBBLIN-1107?focusedWorklogId=414476&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-414476 ]
ASF GitHub Bot logged work on GOBBLIN-1107: ------------------------------------------- Author: ASF GitHub Bot Created on: 02/Apr/20 04:35 Start Date: 02/Apr/20 04:35 Worklog Time Spent: 10m Work Description: autumnust commented on pull request #2947: GOBBLIN-1107: Lazily initialize Helix TaskStateModelFactory in Gobbli… URL: https://github.com/apache/incubator-gobblin/pull/2947#discussion_r402045061 ########## File path: gobblin-cluster/src/test/java/org/apache/gobblin/cluster/GobblinTaskRunnerTest.java ########## @@ -128,21 +141,31 @@ public void testBuildFileSystemConfig() { Assert.assertEquals(fileSystem.getConf().get(HADOOP_OVERRIDE_PROPERTY_NAME), "value"); } - @Test - public void testConnectHelixManagerWithRetry() { + /** + * A helper method that creates a partial instance structure in ZK. + */ + private static void createPartialInstanceStructure(HelixManager helixManager, String zkConnectString) { //Connect and disconnect the corrupt task runner to create a Helix Instance set up. Review comment: This comment no longer accurate: there's no corrupt taskRunner being used here. ---------------------------------------------------------------- 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: 414476) Time Spent: 50m (was: 40m) > Lazily initialize Helix TaskStateModelFactory in GobblinTaskRunner > ------------------------------------------------------------------ > > Key: GOBBLIN-1107 > URL: https://issues.apache.org/jira/browse/GOBBLIN-1107 > Project: Apache Gobblin > Issue Type: Improvement > Components: gobblin-cluster > Affects Versions: 0.15.0 > Reporter: Sudarshan Vasudevan > Assignee: Hung Tran > Priority: Major > Fix For: 0.15.0 > > Time Spent: 50m > Remaining Estimate: 0h > > Current behavior eagerly initializes the taskStateModelFactory inside the > constructor. This causes Helix task assignment to be stuck when a Helix > manager connection needs to be retried. -- This message was sent by Atlassian Jira (v8.3.4#803005)