You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2018/09/18 23:29:00 UTC

[jira] [Created] (HDDS-506) Fields in AllocateScmBlockResponseProto should be optional

Arpit Agarwal created HDDS-506:
----------------------------------

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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org