You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Sudarshan Vasudevan (Jira)" <ji...@apache.org> on 2021/06/09 00:33:00 UTC
[jira] [Created] (GOBBLIN-1462) Ensure FsSpecConsumer handles
config keys which are prefixes of other keys
Sudarshan Vasudevan created GOBBLIN-1462:
--------------------------------------------
Summary: Ensure FsSpecConsumer handles config keys which are prefixes of other keys
Key: GOBBLIN-1462
URL: https://issues.apache.org/jira/browse/GOBBLIN-1462
Project: Apache Gobblin
Issue Type: Bug
Components: gobblin-cluster
Affects Versions: 0.15.0
Reporter: Sudarshan Vasudevan
Assignee: Sudarshan Vasudevan
Fix For: 0.16.0
Currently, the FsSpecConsumer fails when building a JobSpec if the configuration contains keys which are prefixes of other keys, which is not allowed in typesafe config. In practice, this constraint may be violated particularly when loading system properties which are outside application's control. To ensure these properties are safely handled, the FsSpecConsumer should use the proertiesToConfig() method in PropertiesUtils which adds a suffix to the root properties.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)