Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12454

Ozone : the sample ozone-site.xml in OzoneGettingStarted does not work

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • HDFS-7240
    • None
    • Reviewed

    Description

      In OzoneGettingStarted.md there is a sample ozone-site.xml file. But there are a few issues with it.
      1.

              <property>
                <name>ozone.scm.block.client.address</name>
                <value>scm.hadoop.apache.org</value>
              </property>
      
               <property>
                  <name>ozone.ksm.address</name>
                  <value>ksm.hadoop.apache.org</value>
                </property>
      

      The value should be an address instead.

      2.
      datanode.ObjectStoreHandler.<init>(ObjectStoreHandler.java:103) requires ozone.scm.client.address to be set, which is missing from this sample file. Missing this config will seem to cause failure on starting datanode.

      3.

              <property>
                <name>ozone.scm.names</name>
                <value>scm.hadoop.apache.org</value>
              </property>
      

      This value did not make much sense to, I found the comment in ScmConfigKeys that says

      // ozone.scm.names key is a set of DNS | DNS:PORT | IP Address | IP:PORT.
      // Written as a comma separated string. e.g. scm1, scm2:8020, 7.7.7.7:7777
      

      So maybe we should write something like scm1 as value here.

      4. I'm not entirely sure about this, but here it says

      <property>
          <name>ozone.handler.type</name>
          <value>local</value>
        </property>
      

      is also part of minimum setting, do we need to add this anu?

      Attachments

        1. HDFS-12454-HDFS-7240.005.patch
          29 kB
          Chen Liang
        2. HDFS-12454-HDFS-7240.004.patch
          29 kB
          Chen Liang
        3. HDFS-12454-HDFS-7240.003.patch
          28 kB
          Chen Liang
        4. HDFS-12454-HDFS-7240.002.patch
          28 kB
          Chen Liang
        5. HDFS-12454-HDFS-7240.001.patch
          1 kB
          Chen Liang

        Issue Links

          Activity

            People

              vagarychen Chen Liang
              vagarychen Chen Liang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: