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

Lower RollingWindowManager log to debug

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      Description

      Noticed this while looking in a NN log, it's kind of spammy:

      2015-03-25 00:04:12,052 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command setTimes is: 1
      2015-03-25 00:04:12,134 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command delete is: 1
      2015-03-25 00:04:12,135 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command open is: 1
      2015-03-25 00:04:12,135 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command create is: 2
      2015-03-25 00:04:12,135 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command setPermission is: 1
      2015-03-25 00:04:12,135 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command * is: 8
      2015-03-25 00:04:12,135 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command rename is: 2
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command mkdirs is: 1
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listCachePools is: 2
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listCacheDirectives is: 1
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listStatus is: 5
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command getfileinfo is: 5
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command setTimes is: 1
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command delete is: 1
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command open is: 1
      2015-03-25 00:04:12,136 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command create is: 2
      2015-03-25 00:04:12,137 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command setPermission is: 1
      2015-03-25 00:04:12,137 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command * is: 8
      2015-03-25 00:04:12,137 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command rename is: 2
      2015-03-25 00:04:12,137 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command mkdirs is: 1
      2015-03-25 00:04:12,137 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listCachePools is: 2
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listCacheDirectives is: 1
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listStatus is: 5
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command getfileinfo is: 5
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command setTimes is: 1
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command delete is: 1
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command open is: 1
      2015-03-25 00:04:12,138 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command create is: 2
      2015-03-25 00:04:12,139 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command setPermission is: 0
      2015-03-25 00:04:12,139 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command * is: 7
      2015-03-25 00:04:12,139 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command rename is: 1
      2015-03-25 00:04:12,139 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command mkdirs is: 0
      2015-03-25 00:04:12,139 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listCachePools is: 1
      2015-03-25 00:04:12,140 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listCacheDirectives is: 0
      2015-03-25 00:04:12,140 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command listStatus is: 3
      2015-03-25 00:04:12,140 INFO org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager: topN size for command getfileinfo is: 4
      

        Attachments

        1. hdfs-8007.001.patch
          0.9 kB
          Andrew Wang

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: