Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1068

Improve error message for 0 datanode case

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • None
    • None

    Description

      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.

      Attachments

        1. fewdatanodeswarning2.patch
          1 kB
          Dhruba Borthakur

        Activity

          People

            dhruba Dhruba Borthakur
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: