You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Shashikant Banerjee (Jira)" <ji...@apache.org> on 2021/02/08 10:49:01 UTC

[jira] [Resolved] (HDDS-4806) Fix misc acceptance test: List pipelines on unknown host

     [ https://issues.apache.org/jira/browse/HDDS-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shashikant Banerjee resolved HDDS-4806.
---------------------------------------
    Fix Version/s: 1.2.0
       Resolution: Fixed

> Fix misc acceptance test: List pipelines on unknown host
> --------------------------------------------------------
>
>                 Key: HDDS-4806
>                 URL: https://issues.apache.org/jira/browse/HDDS-4806
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM HA
>    Affects Versions: 1.2.0
>            Reporter: Glen Geng
>            Assignee: Glen Geng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>
> For now, SCMContainerLocationFailoverProxyProvider first use ozone.scm.names to create rpcProxy, if ozone.scm.names is not set, it falls back to use 
> ozone.scm.client.address. However, it breaks the master's behavior, which directly use ozone.scm.client.address to build the rpcProxy.
>  
> In ozone admin --verbose pipeline list --scm unknown-host, unknown-host will be set to ozone.scm.client.address, the created rpcProxy will trigger "java.net.UnknownHostException: Invalid host name: "
>  
> This Jira https://issues.apache.org/jira/browse/HDDS-4556 and PR [https://github.com/apache/ozone/pull/1671 |https://github.com/apache/ozone/pull/1671] adds a smoketest for {{ozonescripts}} environment, helps to find this bug.
> {code:java}
> ------------------------------------------------------------------------------ 
>  List pipelines on unknown host | FAIL | 
>  1'Pipeline[ Id: abdee66c-4fce-4099-a7b6-ab0dab03f52f, Nodes: 8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host: ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886, RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId: null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0}, Type:RATIS, Factor:ONE, State:OPEN, leaderId:8df277fe-9d11-4dce-8c64-898e2ad83901, CreationTimestamp2021-02-08T04:05:29.452Z] 
>  Pipeline[ Id: d1ad94f4-bbe2-4676-8e4d-2f7261754b31, Nodes: 8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host: ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886, RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId: null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0}, Type:STAND_ALONE, Factor:ONE, State:CLOSED, leaderId:, CreationTimestamp2021-02-08T04:05:53.496Z]' does not contain 'Invalid host name' 
>  ------------------------------------------------------------------------------ 
>  Pipeline :: Test ozone admin pipeline command | FAIL |{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org