You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/03/22 21:57:05 UTC

[jira] [Commented] (HDFS-9791) libhfds++: ConfigurationLoader throws parse_exception on invalid input

    [ https://issues.apache.org/jira/browse/HDFS-9791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410411#comment-16410411 ] 

Hudson commented on HDFS-9791:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13869 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13869/])
HDFS-9791: libhdfs+_+: ConfigurationLoader throws parse_exception on (james.clampffer: rev 1600e6bba8933fb7b0c14d2ebc9096ab77647c8d)
* (edit) hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration_loader.cc


> 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
>          Components: hdfs-client
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>            Priority: Major
>         Attachments: HDFS-9791.HDFS-8707.000.patch
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org