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

Do not throw UnsupportedOperationException in ProcedureFuture.get

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0, 2.1.3, 2.0.5
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      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.v01.patch
          4 kB
          Junhong Xu
        2. HBase-21715.v03.patch
          3 kB
          Junhong Xu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: