Does reverse DNS work for 10.0.10.1? -- Sean On Jul 26, 2014 10:34 AM, "David Medinets" <[email protected]> wrote:
> 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://10.0.10.1/accumulo 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: java.net.UnknownHostException: > MYHOSTNAME > at > org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:377) > at > org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:240) > at > org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:144) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:579) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:524) > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:146) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2397) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89) > at > org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2431) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368) > at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) > at > org.apache.accumulo.server.fs.VolumeManagerImpl.getVolumeByPath(VolumeManagerImpl.java:301) > at > org.apache.accumulo.server.fs.VolumeManagerImpl.listStatus(VolumeManagerImpl.java:335) > at org.apache.accumulo.tserver.Tablet.lookupDatafiles(Tablet.java:1108) > at org.apache.accumulo.tserver.Tablet.<init>(Tablet.java:1211) > at org.apache.accumulo.tserver.Tablet.<init>(Tablet.java:1067) > at org.apache.accumulo.tserver.Tablet.<init>(Tablet.java:1056) > at > org.apache.accumulo.tserver.TabletServer$AssignmentHandler.run(TabletServer.java:2911) > at > org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at > org.apache.accumulo.tserver.TabletServer$ThriftClientHandler$3.run(TabletServer.java:2277) > Caused by: java.net.UnknownHostException: MYHOSTNAME > ... 21 more > > Is the hostname stored in Zookeeper or Hadoop during the initialization > process? > > The github project > (https://github.com/medined/docker-accumulo/tree/1.6.0) 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 (run.sh calls > setup_config_files.sh). > > git clone [email protected]:medined/docker-accumulo.git > git checkout 1.6.0 > cd single_node > ./make_image.sh > ./make_container.sh grail grail brgrail 10.0.10 1 10.0.10.1 yes > ./enter_image.sh grail > cd /var/log/accumulo > more tserver_grail.debug.log > > That log file can be seen via gist at > https://gist.github.com/medined/27c4ec638f0ce0ef8339. >
