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

Refine JNStorage log

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.0.3-alpha
    • Component/s: journal-node
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Abstract class Storage has a toString method:

      return "Storage Directory " + this.root;

      and in the subclass JNStorage we could see:

      LOG.info("Formatting journal storage directory " +
      sd + " with nsid: " + getNamespaceID());

      that'll print sth like "Formatting journal storage directory Storage Directory xxxxx"

      Just one line change to:

      {quota}
      LOG.info("Formatting journal " + sd + " with nsid: " + getNamespaceID());{quota}

        Attachments

        1. HDFS-4110.txt
          0.9 kB
          Liang Xie

          Activity

            People

            • Assignee:
              xieliang007 Liang Xie
              Reporter:
              xieliang007 Liang Xie

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment