accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <>
Subject Where is 'MYHOSTNAME' name coming from?
Date Sat, 26 Jul 2014 15:34:17 GMT
I'm trying to change my docker-accumulo project to use accumulo v1.6
but ran into the exception below. I have set instance.volumes to
hdfs:// and I see that value in the tserver log. As
far as I can tell, all of the configuration files (hadoop and
accumulo) are pointing to the 'grail' hostname.

2014-07-26 10:15:00,513 [tserver.TabletServer] WARN : exception trying
to assign tablet +r<< hdfs://MYHOSTNAME/accumulo/tables/+r/root_tablet
java.lang.IllegalArgumentException: MYHOSTNAME
    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$Cache.get(
    at org.apache.hadoop.fs.FileSystem.get(
    at org.apache.hadoop.fs.Path.getFileSystem(
    at org.apache.accumulo.server.fs.VolumeManagerImpl.getVolumeByPath(
    at org.apache.accumulo.server.fs.VolumeManagerImpl.listStatus(
    at org.apache.accumulo.tserver.Tablet.lookupDatafiles(
    at org.apache.accumulo.tserver.Tablet.<init>(
    at org.apache.accumulo.tserver.Tablet.<init>(
    at org.apache.accumulo.tserver.Tablet.<init>(
    at org.apache.accumulo.tserver.TabletServer$
    at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler$
    ... 21 more

Is the hostname stored in Zookeeper or Hadoop during the initialization process?

The github project
( is updated so
you could replicate this issue by the following steps. As the
container is made, the MYHOSTNAME placeholder in all of the
configuration files is replaced by the actual hostname ( calls

git clone
git checkout 1.6.0
cd single_node
./ grail grail brgrail 10.0.10 1 yes
./ grail
cd /var/log/accumulo
more tserver_grail.debug.log

That log file can be seen via gist at

View raw message