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