Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 69324200D0B for ; Wed, 27 Sep 2017 20:51:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 67A421609EB; Wed, 27 Sep 2017 18:51:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ABD5C1609C1 for ; Wed, 27 Sep 2017 20:51:06 +0200 (CEST) Received: (qmail 13578 invoked by uid 500); 27 Sep 2017 18:51:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 13561 invoked by uid 99); 27 Sep 2017 18:51:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 18:51:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2C138CF789 for ; Wed, 27 Sep 2017 18:51:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hUSSvTOAdy98 for ; Wed, 27 Sep 2017 18:51:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 97F8E6104F for ; Wed, 27 Sep 2017 18:51:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3133CE0E4F for ; Wed, 27 Sep 2017 18:51:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0B27D242BE for ; Wed, 27 Sep 2017 18:51:01 +0000 (UTC) Date: Wed, 27 Sep 2017 18:51:01 +0000 (UTC) From: "Chen Liang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-12454) Ozone : the sample ozone-site.xml in OzoneGettingStarted does not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Sep 2017 18:51:07 -0000 [ https://issues.apache.org/jira/browse/HDFS-12454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183080#comment-16183080 ] Chen Liang commented on HDFS-12454: ----------------------------------- [~anu] bq. re-confirm that we cannot have a DNS:PORT By DNS, did you mean hostname? I have only tested the config in local one machine environment, something like localhost:port did work for me. I haven't tested this config for multi-machine setup, I don't see any reason why hostname won't work for multi-node though. Earlier there was a comment bq. I think we do need ozone.ksm.address, let user explicitly set this property helps them to understand the primitive services' location. And this should be an address, not a hostname. [~cheersyang] is there a particular reason why you prefer IP address rather than hostname? does hostname work here at all for multi-node? > Ozone : the sample ozone-site.xml in OzoneGettingStarted does not work > ---------------------------------------------------------------------- > > Key: HDFS-12454 > URL: https://issues.apache.org/jira/browse/HDFS-12454 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Chen Liang > Assignee: Chen Liang > Priority: Blocker > Labels: ozoneMerge > Fix For: HDFS-7240 > > Attachments: HDFS-12454-HDFS-7240.001.patch, HDFS-12454-HDFS-7240.002.patch, HDFS-12454-HDFS-7240.003.patch, HDFS-12454-HDFS-7240.004.patch, HDFS-12454-HDFS-7240.005.patch > > > In OzoneGettingStarted.md there is a sample ozone-site.xml file. But there are a few issues with it. > 1. > {code} > > ozone.scm.block.client.address > scm.hadoop.apache.org > > > ozone.ksm.address > ksm.hadoop.apache.org > > {code} > The value should be an address instead. > 2. > {{datanode.ObjectStoreHandler.(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. > {code} > > ozone.scm.names > scm.hadoop.apache.org > > {code} > This value did not make much sense to, I found the comment in {{ScmConfigKeys}} that says > {code} > // 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 > {code} > So maybe we should write something like scm1 as value here. > 4. I'm not entirely sure about this, but [here|https://wiki.apache.org/hadoop/Ozone#Configuration] it says > {code} > > ozone.handler.type > local > > {code} > is also part of minimum setting, do we need to add this [~anu]? -- 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