Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 10-04-2018 09:38 AM - edited 08-17-2019 09:45 PM
after we build a new cluster HDP - 2.6.4
cluster include - 3 masters machines and 3 workers machines ( data node )
and starting the services
we get the following error when starting the start the ZKFailoverController on master machines
2018-10-04 08:41:42,298 ERROR datanode.DataNode (DataNode.java:secureMain(2692)) - Exception in secureMain java.lang.IllegalArgumentException: Does not contain a valid host:port authority: master01.krysve_ci90.com:8020 at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:213) at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164) at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:153) at org.apache.hadoop.hdfs.DFSUtil.getAddressesForNameserviceId(DFSUtil.java:699) at org.apache.hadoop.hdfs.DFSUtil.getAddressesForNsIds(DFSUtil.java:668) at org.apache.hadoop.hdfs.DFSUtil.getNNServiceRpcAddressesForCluster(DFSUtil.java:885) at org.apache.hadoop.hdfs.server.datanode.BlockPoolManager.refreshNamenodes(BlockPoolManager.java:156) at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1287) at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:456) at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2591) at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2493) at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2540) at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2685) at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2709) 2018-10-04 08:41:42,300 INFO util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 1 2018-10-04 08:41:42,304 INFO datanode.DataNode (LogAdapter.java:info(47)) - SHUTDOWN_MSG: /************************************************************
we got - "Does not contain a valid host:port authority"
what we need to check in order to understand this issue? , and resolving it
Created 10-04-2018 09:44 AM
Hi @Michael Bronson
I think the problem originates from the underscore used in the hostname krysve_ci90. Underscores should not be used in hostnames. Any chance you can try this with a different name / alias?
Created 10-04-2018 09:44 AM
Hi @Michael Bronson
I think the problem originates from the underscore used in the hostname krysve_ci90. Underscores should not be used in hostnames. Any chance you can try this with a different name / alias?
Created 10-04-2018 09:46 AM
how you can be sure that underscore isnt allow in ambari ckuster installation , where it is wrote ?
Created 10-04-2018 09:50 AM
I'm not sure it's explicitly documented for Ambari... Can you try without the underscore and see if it works?
See also; https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames
Created 10-04-2018 10:10 AM
ok , I will create a new LAB , I and I will update if it will be success without the underscroe
Created 10-08-2018 06:37 AM
Did it work OK without the underscore? I'm curious and hope I didn't make you go through making a new lab for nothing 🙂 let me know if you still have any errors.