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

NPE in block_info_xml JSP if the block has been deleted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.2.0
    • None
    • datanode
    • None

    Description

      If you ask for a block info report on a block that has been deleted, you see a stack trace and a 500 error.

      Steps to replicae

      1. create a file
      2. browse to it
      3. get the block info
      4. delete the file
      5. reload the block info page

      Maybe a 404 is the response to raise instead

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: