[
https://issues.apache.org/jira/browse/HDDS-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753825#comment-16753825
]
Hudson commented on HDDS-974:
-----------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15839 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15839/])
HDDS-974. Add getServiceAddress method to ServiceInfo and use it in (yqlin: rev
8326450bca1b15383bf1c1a3b4e86df1ca027495)
* (edit)
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneDatanodeShell.java
* (edit)
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
* (edit)
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java
* (edit)
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/ServiceInfo.java
> Add getServiceAddress method to ServiceInfo and use it in TestOzoneShell
> ------------------------------------------------------------------------
>
> Key: HDDS-974
> URL: https://issues.apache.org/jira/browse/HDDS-974
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Dinesh Chitlangia
> Assignee: Doroszlai, Attila
> Priority: Major
> Labels: newbie
> Fix For: 0.4.0
>
> Attachments: HDDS-974.001.patch, HDDS-974.002.patch
>
>
> This jira has been filed based on [~ajayydv]'s [review comment
> |https://issues.apache.org/jira/browse/HDDS-960?focusedCommentId=16739807&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16739807]on
> HDDS-960
> 1. Add a method getServiceAddress(ServicePort port) in ServiceInfo
> 2. Use this method in TestOzoneShell in place of following snippet:
> {code:java}
> String omHostName = services.stream().filter(
> a -> a.getNodeType().equals(HddsProtos.NodeType.OM))
> .collect(Collectors.toList()).get(0).getHostname();
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]