Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 620C110568 for ; Tue, 3 Sep 2013 16:07:11 +0000 (UTC) Received: (qmail 83436 invoked by uid 500); 3 Sep 2013 16:07:11 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 83098 invoked by uid 500); 3 Sep 2013 16:07:07 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 83090 invoked by uid 99); 3 Sep 2013 16:07:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 16:07:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [137.100.96.43] (HELO eadc-e-relay3.vaa.gd-ais.com) (137.100.96.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 16:06:55 +0000 Received: from ([10.96.80.41]) by eadc-e-relay3.vaa.gd-ais.com with ESMTP with TLS id GK9K4M1.65125540; Tue, 03 Sep 2013 12:06:32 -0400 Received: from EADC-E-MABPRD13.ad.gd-ais.com ([169.254.2.242]) by EADC-E-CAHPRD03.ad.gd-ais.com ([10.96.80.41]) with mapi id 14.03.0158.001; Tue, 3 Sep 2013 12:06:32 -0400 From: "Smith, Joshua D." To: "user@accumulo.apache.org" Subject: Accumulo with NameNode HA: UnknownHostException for dfs.nameservices Thread-Topic: Accumulo with NameNode HA: UnknownHostException for dfs.nameservices Thread-Index: Ac6ov1SWUwjG2n3ZSUKNRSxp+wVWtA== Date: Tue, 3 Sep 2013 16:06:31 +0000 Message-ID: <4FD323DAC825AA4882CB54C01B499C222F6538@EADC-E-MABPRD13.ad.gd-ais.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.96.100.153] x-tm-as-product-ver: SMEX-10.2.0.2087-7.000.1014-20124.004 x-tm-as-result: No--41.792900-0.000000-31 x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No Content-Type: multipart/alternative; boundary="_000_4FD323DAC825AA4882CB54C01B499C222F6538EADCEMABPRD13adgd_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_4FD323DAC825AA4882CB54C01B499C222F6538EADCEMABPRD13adgd_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All- I'm installing Accumulo 1.5 on CDH 4.3. I'm running Hadoop 2.0 (yarn) with = High Availability (HA) for the NameNode. When I try to initialize Accumulo = I get the following error message: >sudo -u accumulo accumulo init FATAL: java.lang.IllegalArgumentException: java.net.UnknownHostException: m= ycluster java.lang.IllegalArgumentException: java.net.UnknownHostException: mycluste= r at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.j= ava:414) at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProzies.= java:164) at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:= 129) at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:448) at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:410) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileS= ystem.java:128) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2308) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:87) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2324) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:351) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:163) at org.apache.accumulo.core.file.FileUtil.getFileSystem(FileUtil.java:550) at org.apache.accumulo.server.util.Initialize.main(Initialize.java:485) ... "mycluster" is from my hdfs-site.xml and is part of the HA configuration dfs.nameservices mycluster It's not a hostname and I'm not sure why Accumulo would try to resolve it a= s if it was a hostname. Any idea why I would get this error or why Accumulo would have trouble runn= ing on Hadoop 2.0 with HA? Thanks, Josh --_000_4FD323DAC825AA4882CB54C01B499C222F6538EADCEMABPRD13adgd_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

All-

 

I’m installing Accumulo 1.5 on CDH 4.3. I̵= 7;m running Hadoop 2.0 (yarn) with High Availability (HA) for the NameNode.= When I try to initialize Accumulo I get the following error message:<= /o:p>

 

= >sudo –u accumulo accumulo init

=  

= FATAL: java.lang.IllegalArgumentException: java.net.UnknownHostException: m= ycluster

= java.lang.IllegalArgumentException: java.net.UnknownHostException: mycluste= r

= at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.j= ava:414)

= at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProzies.= java:164)

= at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:= 129)

= at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:448)

= at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:410)

= at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileS= ystem.java:128)

= at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2308)

= at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:87)

= at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2324)<= o:p>

= at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:351)

= at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:163)

= at org.apache.accumulo.core.file.FileUtil.getFileSystem(FileUtil.java:550)<= o:p>

= at org.apache.accumulo.server.util.Initialize.main(Initialize.java:485)

= …

 

“mycluster” is from my hdfs-site.xml and= is part of the HA configuration

= <property>

<name>dfs.nameservices</name>

<value>mycluster</value><= /span>

= </property>

 

It’s not a hostname and I’m not sure why= Accumulo would try to resolve it as if it was a hostname.

 

Any idea why I would get this error or why Accumulo = would have trouble running on Hadoop 2.0 with HA?

 

Thanks,

Josh

 

 

 

--_000_4FD323DAC825AA4882CB54C01B499C222F6538EADCEMABPRD13adgd_--