[ 
https://issues.apache.org/jira/browse/HADOOP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481302
 ] 

Owen O'Malley commented on HADOOP-1068:
---------------------------------------

Your message is an improvement, but I would still prefer a special case for 0 
datanodes, since that is a case that can easily happen if the cluster is 
misconfigured.

> 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
>
>         Attachments: fewdatanodeswarning.patch
>
>
> 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