Robert Joseph Evans created STORM-2649:
------------------------------------------

             Summary: Update config validation check to give better information
                 Key: STORM-2649
                 URL: https://issues.apache.org/jira/browse/STORM-2649
             Project: Apache Storm
          Issue Type: Improvement
          Components: storm-client
    Affects Versions: 2.0.0
            Reporter: Robert Joseph Evans


As part of submitting a topology we need to serialize the config as JSON.  The 
check right now is rather bad. it just calls Utils.isValidConf and throws some 
generic Exception about problems.

https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/utils/Utils.java#L978-L980

It would be much better to have a new function/method that would check if they 
are equal and if not it would walk through them looking for which configs are 
different when it finds one it includes which configs and how they are 
different in the exception.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to