Reply
Explorer
Posts: 13
Registered: ‎05-16-2017

CDH installation: Failed to create HDFS directory /tmp

Hi,

 

I am in the step of "Starting HDFS" installation, however, when it is about to be finished I get the following error:

"Creating HDFS /tmp/directory". Command aborted because of exception: Command timed-out after 90 seconds.

Directory /tmp does not currently exist.

 

How can I solve this problem?

 

Thanks,

 

Kind regards,

New Contributor
Posts: 1
Registered: ‎05-18-2017

Re: CDH installation: Failed to create HDFS directory /tmp

Hi. I also had this problem and I solved it.

Just open port 8022.

All namenodes try to connect to cloudera manager using this port.

 

Good luck

 

Ricardo

Highlighted
Champion
Posts: 547
Registered: ‎05-16-2016

Re: CDH installation: Failed to create HDFS directory /tmp

Could you post the full installer log for more digging . 

 

one thing i assume might be a permission issue .

did you kick off the installation as root ?

 

finally let me know if you are able to go to the 

hostname:50070 - Namenode UI
New Contributor
Posts: 1
Registered: ‎09-09-2017

Re: CDH installation: Failed to create HDFS directory /tmp

That worked after opening the port 8022 :)
New Contributor
Posts: 4
Registered: ‎09-06-2017

Re: CDH installation: Failed to create HDFS directory /tmp

could you tell me how to open the port 8022 ? thank you very much
Champion
Posts: 547
Registered: ‎05-16-2016

Re: CDH installation: Failed to create HDFS directory /tmp

@houfan 

as a root run the below command to see if the port is listed there and listening . 

netstat -nlp

meantime check your firewalld status if its active and if you are ok try disabling it . 

could you let me know operating system that you are using ? 

Announcements