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

Missing Space in Client Error Message

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: hdfs-client
    • Labels:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: