runzhiwang commented on a change in pull request #1053: URL: https://github.com/apache/hadoop-ozone/pull/1053#discussion_r447697031
########## File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/pipeline/Pipeline.java ########## @@ -301,14 +306,21 @@ public static Pipeline getFromProtobuf(HddsProtos.Pipeline pipeline) for (DatanodeDetailsProto member : pipeline.getMembersList()) { nodes.add(DatanodeDetails.getFromProtoBuf(member)); } + UUID leaderId = null; + if (pipeline.hasLeaderID() && + StringUtils.isNotEmpty(pipeline.getLeaderID())) { + leaderId = UUID.fromString(pipeline.getLeaderID()); Review comment: @xiaoyuyao Thanks for review. I have updated the patch, Could you help review it again ? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org