Problem: An Aster Database queen or vworker node cannot resolve the host name of the given Hadoop Spark name node. On the queen or vworker, this command:
ping -c 3 -w 10 hadoop_node_host_name
Returns:ping: unknown host hadoop_node_host_name
Possible Reasons:
- The hadoop_node_host_name is misspelled.
- The network does not allow the Aster Database queen and vworker nodes to translate hadoop_node_host_name to an IP address.
Solution:
- Use the correct spelling of hadoop_node_host_name.
- Perform the network system administration actions that allow the queen and vworker to translate hadoop_node_host_name to an IP address.For example, you might edit the /etc/hosts file of the queen and each vworker:
- On the queen, at the command prompt, enter:
vi /etc/hosts
- Add the IP address and host name of each Hadoop name node and data node.
- Save the change.
- Exit vi.
- Verify that the queen can now resolve hadoop_node_host_name:
ping -c 3 -w 10 hadoop_node_host_name
- To allow the vworkers to resolve hadoop_node_host_name, enter:
ncli node clonefile /etc/hosts
- On the queen, at the command prompt, enter: