You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2007/03/06 16:36:24 UTC

[jira] Created: (HADOOP-1068) Improve error message for 0 datanode case

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.


[jira] Updated: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-1068:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Dhruba!

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


[jira] Commented: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481786 ] 

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

+1

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


[jira] Updated: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: fewdatanodeswarning.patch)

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


[jira] Updated: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

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


[jira] Updated: (HADOOP-1068) Improve error message for 0 datanode case

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: fewdatanodeswarning.patch

The error message has been changed to the following:

failed to create file xx on client yyy because there were not enough datanodes available. Found 0 datanodes but MIN_REPLICATION for the cluster is configured to be 1.



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