Hive / HCatalog Forum
HCatalog: Error while importing files
I am working on a 4 node cluster, 1NN, 1Sec NN and 2DN. I was trying to follow the tutorials on Hortonworks. I uploaded the file and also created the table ‘nyse_stocks’. However when I try to import data onto the created table, I get an error:
IOException: Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try. (Nodes: current=[10.45.153.156:50010, 10.180.193.223:50010], original=[10.180.193.223:50010, 10.45.153.156:50010]). The current failed datanode replacement policy is DEFAULT, and a client may configure this via ‘dfs.client.block.write.replace-datanode-on-failure.policy’ in its configuration.
When I checked on Ambari, I did not notice any bad datanode. All datanodes are working fine. Can anyone please suggest a good fix for this issue.
Support from the Experts
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Become HDP Certified
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world