You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2018/01/10 21:35:00 UTC

[jira] [Created] (HDFS-13007) Ozone: Fix TestKeySpaceManager#testKSMInitializationFailure

Xiaoyu Yao created HDFS-13007:
---------------------------------

             Summary: Ozone: Fix TestKeySpaceManager#testKSMInitializationFailure
                 Key: HDFS-13007
                 URL: https://issues.apache.org/jira/browse/HDFS-13007
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: HDFS-7240
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao


The test attempts to create KSM with a config that does not specify  OZONE_SCM_CLIENT_ADDRESS_KEY and always failed with a different exception. 

The fix is to set ozone.scm.client.address before instantiate KSM.

{code}
config.set(ScmConfigKeys.OZONE_SCM_CLIENT_ADDRESS_KEY, "127.0.0.1:0");
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org