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

Improve log message in Storage.tryLock()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.7.0
    • datanode, namenode
    • None
    • Reviewed

    Description

      Confusing log message in Storage.tryLock(). It talks about namenode, while this is a common part of NameNode and DataNode storage.
      The log message should include the directory path and the exception.
      Also fix the long line in tryLock().

      Attachments

        1. logging.patch
          1 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: