Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6328

FSHDFSUtils#recoverFileLease tries to rethrow InterruptedException but actually shallows it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.95.2
    • 0.94.1, 0.95.0
    • master, regionserver
    • None
    • Reviewed

    Description

      Coding error is:

            try {
              Thread.sleep(1000);
            } catch (InterruptedException ex) {
              new InterruptedIOException().initCause(ex);
            }
      

      The exception is created but not thrown...

      Attachments

        1. 6328.092_094.v1.patch
          1.0 kB
          Nicolas Liochon
        2. 6328.v1.patch
          1 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: