Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14487

Missing Space in Client Error Message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • hdfs-client
    • Reviewed

    Description

                if (retries == 0) {
                  throw new IOException("Unable to close file because the last block"
                      + last + " does not have enough number of replicas.");
                }
      

      Note the missing space after "last block".

      https://github.com/apache/hadoop/blob/f940ab242da80a22bae95509d5c282d7e2f7ecdb/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java#L968-L969

      Attachments

        1. HDFS-14487.001.patch
          1 kB
          Shweta

        Activity

          People

            shwetayakkali Shweta
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: