liang xie created HDFS-4110:
-------------------------------

             Summary: Refine JNStorage log
                 Key: HDFS-4110
                 URL: https://issues.apache.org/jira/browse/HDFS-4110
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: journal-node
    Affects Versions: 3.0.0, 2.0.3-alpha
            Reporter: liang xie
            Priority: Minor


Abstract class Storage has a toString method: 
{quote}
    return "Storage Directory " + this.root;
{quote}

and in the subclass JNStorage we could see:
{quote}
    LOG.info("Formatting journal storage directory " + 
        sd + " with nsid: " + getNamespaceID());
{quote}

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}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to