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

FSDirectory#verifyMaxDirItems does not log path name

    XMLWordPrintableJSON

Details

    Description

      2016-08-05 14:42:04,687 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: FSDirectory.verifyMaxDirItems: The directory item limit of null is exceeded: limit=1048576 items=1048576

      The error message above logs the path name incorrectly (null). Without the path name it is hard to tell which directory is in trouble. The exception should set the path name before being logged.

      This bug was seen on a CDH 5.5.2 cluster, but CDH5.5.2 is roughly up to date with Apache Hadoop 2.7.2.

      Attachments

        1. HDFS-10731.001.patch
          2 kB
          Wei-Chiu Chuang

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: