You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this repository to set up a hadoop cluster in Docker according to this tutorial. I have changed the docker-compose file to this because the versions in the tutorial are old.
I used this repository to set up a hadoop cluster in Docker according to this tutorial. I have changed the docker-compose file to this because the versions in the tutorial are old.
These are the changes I made:
big-data-europe/docker-hadoop@master...nilesim:master
Now it is up and running and I can monitor it from http://localhost:9870/. 3 datanodes are up and running.
But when I try to write it from java with this code it gives error, creates the directory and file but could not write in it:
repository:
(https://github.com/nsquare-jdzone/hadoop-examples/tree/master/ReadWriteHDFSExample)
from this tutorial:
https://javadeveloperzone.com/hadoop/java-read-write-files-hdfs-example/
and I monitored from (http://localhost:9870/explorer.html#/) that the directory and file is created when code run but size is 0 .
Hadoop docker error logs are:
and java errors are:
The text was updated successfully, but these errors were encountered: