Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

will Hortonworks create hdfs folder under /data?

avatar
Contributor

Hi all,

I am new to Hortonworks, my task is managing our cluster in office, however we plan to mount all other hard drives on our server under /data0 /data1 /data2 and so on. My question is will Hortonworks automatically create hdfs in those folder?

I have done a single node test installation, I notice the /hadoop folder is created.

1 ACCEPTED SOLUTION

avatar
@Ronnie 10

Ambari will by default pick up the mount points and configure them to appropriate services. eg: For HDFS ambari configures dfs.datanode.data.dir and dfs.namenode.data.dir with all the mount points. Do when you start using HDFS you should see data insode your /data0 /data1 /data2 and so on.

Hope this helps.

View solution in original post

3 REPLIES 3

avatar
@Ronnie 10

Ambari will by default pick up the mount points and configure them to appropriate services. eg: For HDFS ambari configures dfs.datanode.data.dir and dfs.namenode.data.dir with all the mount points. Do when you start using HDFS you should see data insode your /data0 /data1 /data2 and so on.

Hope this helps.

avatar
Contributor

Thank you, now I am clear.

avatar

@Ronnie 10 , Do consider accepting the answer if it helped you 🙂