- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
transfer files from local to hdfs in AWS instance
- Labels:
-
HDFS
Created on ‎10-03-2016 06:32 PM - edited ‎09-16-2022 03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎10-03-2016 08:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎10-03-2016 08:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎10-03-2016 08:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have given the write access to the destination folder in hdfs and it worked. Thanks for the reply
Created ‎10-03-2016 08:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Logeswaran Radhakrishnan Please accept the answer if this worked for you
