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

Improve corrupt files warning message on NameNode web UI

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      On NameNode web interface, you may get this warning:

      WARNING : There are about 32 missing blocks. Please check the log or run fsck.

      If the cluster was started less than 14 days before, it would be great to add: "Is dfs.data.dir defined?"

      If at the point of that error message, that parameter could be checked, and error made "OMG dfs.data.dir isn't defined!" that'd be even better. As is, troubleshooting undefined parameters is a difficult proposition.

      I suspect this is an easy fix.

        Attachments

        1. branch-0.22-hdfs-1954.patch
          3 kB
          Konstantin Shvachko
        2. HDFS-1954.patch
          2 kB
          Patrick Hunt
        3. HDFS-1954.patch
          2 kB
          Patrick Hunt
        4. HDFS-1954.patch
          2 kB
          Patrick Hunt

          Activity

            People

            • Assignee:
              phunt Patrick Hunt
              Reporter:
              philovivero philo vivero
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified