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