xinyuiscool commented on a change in pull request #1197: SAMZA-2067: Support
Samza's running on Kubernetes
URL: https://github.com/apache/samza/pull/1197#discussion_r344416754
##########
File path:
samza-core/src/main/java/org/apache/samza/clustermanager/ClusterBasedJobCoordinator.java
##########
@@ -413,7 +413,8 @@ public static void main(String[] args) {
//Read and parse the coordinator system config.
LOG.info("Parsing coordinator system config {}", coordinatorSystemEnv);
coordinatorSystemConfig =
- new
MapConfig(SamzaObjectMapper.getObjectMapper().readValue(coordinatorSystemEnv,
Config.class));
+ new MapConfig(SamzaObjectMapper.getObjectMapper()
+ .readValue(coordinatorSystemEnv.replace("\\\"", "\""),
Config.class));
Review comment:
Is there any reason we do this replacement?
----------------------------------------------------------------
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