You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2019/01/28 09:10:00 UTC

[jira] [Comment Edited] (HDDS-974) Add getServiceAddress method to ServiceInfo and use it in TestOzoneShell

    [ https://issues.apache.org/jira/browse/HDDS-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753811#comment-16753811 ] 

Yiqun Lin edited comment on HDDS-974 at 1/28/19 9:09 AM:
---------------------------------------------------------

The failed test {{hadoop.ozone.om.TestBucketManagerImpl}} has been fixed in HDDS-1011. Committed this to trunk.
 Thanks [~adoroszlai] for the contribution and thanks [~dineshchitlangia] for the review.


was (Author: linyiqun):
Committed this to trunk.
Thanks [~adoroszlai] for the contribution and thanks [~dineshchitlangia] for the review.

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