Skip to main content
mike_bronson7
Gold ⭐️⭐️⭐️
Feb 27, 2019 5:10 AM UTC
Solved

HDFS + create simbolic link between HDFS folder to local filesystem folder

I searched in google but not find it,

is it possible to create link between HDFS folder to local folder?

example

we want to create link between folder_1 in HDFS to /home/hdfs_mirror local folder

HDFS folder:

su hdfs $ hdfs dfs -ls /hdfs_home/folder_1

Linux local folder:

ls /home/hdfs_mirror 
jsensharma
Platinum ⭐️⭐️
Feb 27, 2019 10:13 AM UTC

@Michael Bronson

I do not think it is possible.

This is because you are talking about two different File Systems (HDFS and Local FileSystem).

If you want to keep syncing your Local Data Directory to HDFS directory then you can make use of some tools like Apache Flume.

1 reply

jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Feb 27, 2019 10:13 AM UTC

@Michael Bronson

I do not think it is possible.

This is because you are talking about two different File Systems (HDFS and Local FileSystem).

If you want to keep syncing your Local Data Directory to HDFS directory then you can make use of some tools like Apache Flume.

Translate