I have a question about a failure to write that I’m getting.
I’m using the HortonWorks Sandbox Version 2.1. I’m working from a simple JVM program writing into HDFS (it’s actually a Scala program). When I attempt to write the file (testfile.txt
) I get a failure that the write did not meet the minimum replication (which is 1, dfs.replication – I believe):
File /user/andrewlenards/testfile.txt could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and 1 node(s) are excluded in this operation.
The entire output can be found here: https://gist.github.com/lenards/f431ff405d9145a11935
It looks like node is refusing the operation, but I’m a bit puzzled as the sandbox is preconfigured. I’ve done some poking around and I haven’t seen any solid leads on what might caused this.
Any pointers on how to get the write to be accepted?