Question: How do I fix ConnectionRefused error while running and create a new directory on Hadoop? Ryms-Air:sbin rymhuynh $ hdfs dfs -mkdir /tmp/data 2023-02-05 23:26:52,133 WARN

How do I fix ConnectionRefused error while running and create a new directory on Hadoop?

How do I fix ConnectionRefused error while running and create a new

Ryms-Air:sbin rymhuynh $ hdfs dfs -mkdir /tmp/data 2023-02-05 23:26:52,133 WARN util.NativeCodeloader: Unable to load native-hadoop library for your platform... using builtin-java class [es where applicable mkdir: Call From Ryms-Air.attlocal.net/192.168.1.73 to localhost:9000 failed on connection exception: java.net.ConnectException: Conne ction refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused Ryms-Air:sbin rymhuynh $ java -version java version "1.8.0_241" Java(TM) SE Runtime Environment (build 1.8.0_241b07) [Java HotSpot(TM) 64-Bit Server VM (build 25.241b07, mixed mode) Ryms-Air:sbin rymhuynh\$ hdfs dfs -mkdir /tmp/data 2023-02-05 23:29:41,310 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java class es where applicable mkdir: Call From Ryms-Air.attlocal.net/192.168.1.73 to localhost:9000 failed on connection exception: java.net.ConnectException: Conne ction refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused Ryms-Air:sbin rymhuynh\$

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!