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

BlockManager#invalidateWork should print logs outside the lock

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.4.1
    • None
    • None
    • Reviewed

    Description

      Info level log information printed holding the lock is long and is printed by traversing a list/array. It would be better to move it outside of the lock.

      Attachments

        1. HDFS-4052.b1.001.patch
          5 kB
          Jing Zhao
        2. HDFS-4052.trunk.001.patch
          3 kB
          Jing Zhao

        Issue Links

        Activity

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

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            7 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment