Github user mmiklavc commented on a diff in the pull request:
https://github.com/apache/metron/pull/760#discussion_r139190738
--- Diff:
metron-platform/metron-common/src/main/java/org/apache/metron/common/configuration/ConfigurationsUtils.java
---
@@ -76,7 +80,7 @@ public static void writeProfilerConfigToZookeeper(byte[]
config, CuratorFramewor
}
public static void writeSensorParserConfigToZookeeper(String sensorType,
SensorParserConfig sensorParserConfig, String zookeeperUrl) throws Exception {
- writeSensorParserConfigToZookeeper(sensorType,
JSONUtils.INSTANCE.toJSON(sensorParserConfig), zookeeperUrl);
+ writeSensorParserConfigToZookeeper(sensorType,
JSONUtils.INSTANCE.toJSONPretty(sensorParserConfig), zookeeperUrl);
--- End diff --
Yeah, I hastily read that stacktrace. This was indeed the problem.
---