Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14222

Create specialized IOException subclass to represent closed filesystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I was working on HBASE-17287 where hbase master didn't recognize that file system had closed due to extended unavailability of hdfs.

      Chatting with steve_l, he suggested creating IOException subclass to represent closed filesystem so that downstream projects don't have to rely on the specific exception message.

      The string in existing exception message can't be changed.
      We should add clear comment around that part to avoid breakage.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: