hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-12183) Ozone: KSM : Use proper defaults for block client address
Date Fri, 28 Jul 2017 17:58:01 GMT

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

Xiaoyu Yao edited comment on HDFS-12183 at 7/28/17 5:57 PM:
------------------------------------------------------------

+1 for me too. The other choice is to set the default in ozone-default.xml like below without
code changes. I'm OK with either of them.
{code}
  <property>
    <name>ozone.scm.block.client.address</name>
    <value>${ozone.scm.client.address}</value>
    <description>
      The address of the Ozone SCM block client service.
    </description>
  </property>
{code}



was (Author: xyao):
+1 for me too. The other choice is to set the default in ozone-default.xml like below without
code changes.
{code}
  <property>
    <name>ozone.scm.block.client.address</name>
    <value>${ozone.scm.client.address}</value>
    <description>
      The address of the Ozone SCM block client service.
    </description>
  </property>
{code}


> Ozone: KSM :  Use proper defaults for block client address
> ----------------------------------------------------------
>
>                 Key: HDFS-12183
>                 URL: https://issues.apache.org/jira/browse/HDFS-12183
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Lokesh Jain
>            Priority: Trivial
>              Labels: newbie
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-12183-HDFS-7240.001.patch
>
>
> The setting *ozone.scm.block.client.address* allows extra flexibility but it is set to
the *ozone.scm.client.address* all the time when we deploy the cluster.
> Currently, KSM will fail to startup if *ozone.scm.block.client.address* is not configured.
This JIRA suggests that we use *ozone.scm.client.address* as the default for the *ozone.scm.block.client.address*,
so we don't have to explicitly configure *ozone.scm.block.client.address*.
> Change involves modifying *getScmAddressForBlockClients* and the passing the default
parameter to *getHostNameFromConfigKeys* and *getPortNumberFromConfigKeys*



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

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


Mime
View raw message