Improve error message for 0 datanode case
-----------------------------------------

                 Key: HADOOP-1068
                 URL: https://issues.apache.org/jira/browse/HADOOP-1068
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
    Affects Versions: 0.12.0
            Reporter: Owen O'Malley
         Assigned To: dhruba borthakur
             Fix For: 0.13.0


A user got the error message:

org.apache.hadoop.ipc.RemoteException: java.io.IOException: failed to create
file /user/root/rand-input/part000000 on client localhost.localdomain
because target-length is 0, below MIN_REPLICATION (1)

A better error message for 0 targets would be something like:
The cluster has no datanodes for creating file /user/root/rand-input/part000000.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to