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

Improve corrupt files warning message on NameNode web UI

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • namenode
    • None
    • 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. HDFS-1954.patch
          2 kB
          Patrick D. Hunt
        2. HDFS-1954.patch
          2 kB
          Patrick D. Hunt
        3. HDFS-1954.patch
          2 kB
          Patrick D. Hunt
        4. branch-0.22-hdfs-1954.patch
          3 kB
          Konstantin Shvachko

        Activity

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

          People

            phunt Patrick D. Hunt
            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

                Slack

                  Issue deployment