Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

transfer files from local to hdfs in AWS instance

avatar
Contributor

Hi Team,

I am new to linux environment and I m trying to practice my hdpcd exam in AWS instance. I am trying to copy the file from local to hdfs it throws access denied exception.

If i tried with hdfs sudo user it is asking for the password for the sudo user horton.

If i ssh using root@namenode I m not able to access the local file system,

Help me with the steps to do the file transfer in aws instance from local the hdfs system.

1 ACCEPTED SOLUTION

avatar
Super Collaborator

You can can use simple hadoop -put source(local file system) destination (hdfs path). Make sure you have permission to access files on both local file system and hdfs.

View solution in original post

3 REPLIES 3

avatar
Super Collaborator

You can can use simple hadoop -put source(local file system) destination (hdfs path). Make sure you have permission to access files on both local file system and hdfs.

avatar
Contributor

I have given the write access to the destination folder in hdfs and it worked. Thanks for the reply

avatar
Super Collaborator

@Logeswaran Radhakrishnan Please accept the answer if this worked for you