Bob Hansen created HDFS-9791:
--------------------------------

             Summary: libhfds++: ConfigurationLoader throws parse_exception on 
invalid input
                 Key: HDFS-9791
                 URL: https://issues.apache.org/jira/browse/HDFS-9791
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Bob Hansen


The coding style for libhdfs++ is to return Status objects rather than throwing 
exceptions.  The interface for ConfigurationLoader should switch out bools for 
Status objects, and ConfigurationLoader::UpdateMapWithBytes (and any other 
place we interact wtih rapidxml) should catch rapidxml exceptions, returning an 
appropriate Status message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to