Support Questions

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

how do I copy a file from aws ec2 instance to dockerized HDP2.5 ( installed in the same box)

avatar
Expert Contributor
 
1 ACCEPTED SOLUTION

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Contributor

Not clear what you are doing. Please define your problem with more details:

  • What is your environment? How did you start the containers?
  • What would you like to achieve?
  • What have you tried so far?

To copy any file from the host machine to a docker container you can use docker cp command or use docker volumes. If you would like to copy from the host machine to hdfs the easiest way to mount a volume to the docker container and use hdfs dfs -copyFromLocal from inside the containers as the hdfs configuration most probably already there...

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login