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

dhruba borthakur updated HADOOP-1068:
-------------------------------------

    Attachment: fewdatanodeswarning2.patch

Added a special message for 0 datanode cluster.

> 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: fewdatanodeswarning2.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