[
https://issues.apache.org/jira/browse/GOBBLIN-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244449#comment-16244449
]
atif majid commented on GOBBLIN-306:
------------------------------------
Feedback from Joel Baranick in Gobblin lobby:
If I recall, fork and typesafe config have issues.
We had to write the config for our job with Forks like:
_converter.classes.ROOT_VALUE="..."
...
converter.classes.0="..."
...
converter.classes.1="..."_
Above change in config got rid of the issue.
Subsequent comment from Joel: Created: apache/incubator-gobblin#2164
> Exception when using fork followed by converters with EmbeddedGoblin
> --------------------------------------------------------------------
>
> Key: GOBBLIN-306
> URL: https://issues.apache.org/jira/browse/GOBBLIN-306
> Project: Apache Gobblin
> Issue Type: Bug
> Components: misc
> Reporter: atif majid
>
> Have a simple Gobblin job that is run using
> gobblin.runtime.embedded.EmbeddedGoblin class. There is a fork in the job
> followed by converters for each fork. Using converters in fork branches
> results in below exception - note that there is a converter before the fork
> and then converters for each branch of fork that have been specified using
> converter.classes.<fork_number>. If no converters are used in fork branches
> then this exception is not encountered.
> com.typesafe.config.ConfigException$BugOrBroken: In the map, path
> 'converter.classes' occurs as both the parent object of a value and as a
> value. Because Map has no defined ordering, this is a broken situation.
> at
> com.typesafe.config.impl.PropertiesParser.fromPathMap(PropertiesParser.java:115)
> at
> com.typesafe.config.impl.PropertiesParser.fromPathMap(PropertiesParser.java:82)
> at com.typesafe.config.impl.ConfigImpl.fromAnyRef(ConfigImpl.java:260)
> at com.typesafe.config.impl.ConfigImpl.fromPathMap(ConfigImpl.java:200)
> at com.typesafe.config.ConfigFactory.parseMap(ConfigFactory.java:855)
> at com.typesafe.config.ConfigFactory.parseMap(ConfigFactory.java:866)
> at
> gobblin.runtime.embedded.EmbeddedGobblin.runAsync(EmbeddedGobblin.java:404)
> at
> gobblin.runtime.embedded.EmbeddedGobblin.run(EmbeddedGobblin.java:388)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)