We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried docker exec -it namenode hadoop fs -put README.md /tmp/README.md and got put: `README.md': No such file or directory
The text was updated successfully, but these errors were encountered:
Hi @lehis, you need to mount your local folder to docker container. For example:
docker run -v /local/folder/to/mount:/data --network mynetwork --env-file hadoop.env bde2020/hadoop-base:tag hdfs dfs -copyFromLocal /data/myfile /
If you want to use docker exec, then you first need to copy your README.md into your container:
docker cp README.md namenode:/data/README.md docker exec -it namenode hadoop fs -put README.md /tmp/README.md
Sorry, something went wrong.
No branches or pull requests
I tried
docker exec -it namenode hadoop fs -put README.md /tmp/README.md
and got
put: `README.md': No such file or directory
The text was updated successfully, but these errors were encountered: