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

skip StandbyException log for getCorruptFiles()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      Seen following warns logs from StandBy Namenode logs ..

      2014-11-27 17:50:32,497 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:50:42,557 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:50:52,617 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:00,058 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:00,117 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:02,678 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:12,738 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:22,798 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:30,058 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      2014-11-27 17:51:30,119 | WARN  | 512264920@qtp-429668078-606 | Get corrupt file blocks returned error: Operation category READ is not supported in state standby | org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getCorruptFiles(FSNamesystem.java:6916)
      

      do we need to call for SNN..? I feel, it might not be required.can we maintain state wide..Please let me know, If I am wrong..

      Attachments

        1. HDFS-7452-002.patch
          0.9 kB
          Brahma Reddy Battula
        2. HDFS-7452.patch
          1 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: