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

Do not throw UnsupportedOperationException in ProcedureFuture.get

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.1.3, 2.0.5
    • Client
    • None
    • Reviewed

    Description

      This is really a bad practice, no one would expected that a Future does not support get, and this can not be detected at compile time. Even though we do not want user to wait for ever, we could set a long timeout, for example, 10 minutes,instead of throwing UnsuportedOperationException. I've already been hurt many times...

      Attachments

        1. HBase-21715.v03.patch
          3 kB
          Junhong Xu
        2. HBase-21715.v01.patch
          4 kB
          Junhong Xu

        Activity

          People

            Joseph295 Junhong Xu
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: