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

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 2.0.3-alpha
    • journal-node
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xieliang007 Liang Xie
            xieliang007 Liang Xie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment