hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-506) Fields in AllocateScmBlockResponseProto should be optional
Date Wed, 19 Sep 2018 06:51:00 GMT

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

Hudson commented on HDDS-506:
-----------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15008 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/15008/])
HDDS-506. Fields in AllocateScmBlockResponseProto should be optional. (xyao: rev e435e12f1fd00a5f78621ec1933a60171fc224e6)
* (edit) hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/exceptions/SCMException.java
* (edit) hadoop-hdds/common/src/main/proto/ScmBlockLocationProtocol.proto
* (edit) hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipelines/PipelineSelector.java


> Fields in AllocateScmBlockResponseProto should be optional
> ----------------------------------------------------------
>
>                 Key: HDDS-506
>                 URL: https://issues.apache.org/jira/browse/HDDS-506
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>            Priority: Blocker
>         Attachments: HDDS-506.01.patch
>
>
> Fields in AllocateScmBlockResponseProto that are not initialized on the error path must
be optional.
> Also PipelineSelector must check for null key to avoid generating NPE on failure. Instead
we can return a more useful exception code.



--
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


Mime
View raw message