accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, Joshua D." <>
Subject RE: Accumulo with NameNode HA: UnknownHostException for dfs.nameservices
Date Tue, 03 Sep 2013 16:43:51 GMT

The link you sent is directly relevant, but unfortunately it didn't resolve it.

I already had the following property set

The discussion at the link that you sent was in a CDH forum and it looked like HA resulted
in some required changes for the hdfs command to be able to resolve the active NameNode. That
leads me to two questions:

1)      Does Accumulo know how to resolve the active NameNode?

2)      If it doesn't, is there a way to explicitly specify it like the user did for the hdfs
command as a work-around?


From: Eric Newton []
Sent: Tuesday, September 03, 2013 12:24 PM
Subject: Re: Accumulo with NameNode HA: UnknownHostException for dfs.nameservices

This discussion seems to provide some insight:!topic/cdh-user/I_OmKdZOjVE

Please let us know if you get it working; I would like to test this for the 1.6.0 release.


On Tue, Sep 3, 2013 at 12:06 PM, Smith, Joshua D. <<>>

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: mycluster
java.lang.IllegalArgumentException: mycluster
at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(
at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(
at org.apache.hadoop.hdfs.DFSClient.<init>(
at org.apache.hadoop.hdfs.DFSClient.<init>(
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(
at org.apache.hadoop.fs.FileSystem.createFileSystem(
at org.apache.hadoop.fs.FileSystem.access$200(
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(
at org.apache.hadoop.fs.FileSystem.get(
at org.apache.hadoop.fs.FileSystem.get(
at org.apache.accumulo.core.file.FileUtil.getFileSystem(
at org.apache.accumulo.server.util.Initialize.main(

"mycluster" is from my hdfs-site.xml and is part of the HA configuration

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?


View raw message