ArafatKhan2198 commented on code in PR #4054:
URL: https://github.com/apache/ozone/pull/4054#discussion_r1053203777
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineManagerImpl.java:
##########
@@ -697,6 +699,12 @@ public Map<String, Integer> getPipelineInfo() throws
NotLeaderException {
return pipelineInfo;
}
+ @Override
+ public Map<String, String[]> getPipelineLeaders() throws NotLeaderException {
Review Comment:
Thanks for the find, I have removed it !!
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineManagerMXBean.java:
##########
@@ -36,4 +36,6 @@ public interface PipelineManagerMXBean {
*/
Map<String, Integer> getPipelineInfo() throws NotLeaderException;
+ Map<String, String[]> getPipelineLeaders() throws NotLeaderException;
Review Comment:
Thanks for the find, I have removed it !!
##########
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/pipeline/MockPipelineManager.java:
##########
@@ -296,6 +297,11 @@ public Map<String, Integer> getPipelineInfo() {
return null;
}
+ @Override
+ public Map<String, String[]> getPipelineLeaders() throws NotLeaderException {
Review Comment:
Thanks for the find, I have removed it !!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]