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

Reduce NeedUnmanagedConnectionException issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Managed connections are a bit of a pain when it comes to the new API. If a connection is managed, then connection.getAdmin() and connection.getTable(..) throw NeedUnmanagedConnectionException. Is that really necessary, i.e can we create Tables and Admins with a managed connection? If not, can we come up with something better than sprinkling NeedUnmanagedConnectionException try-catch blocks in the HBase code base to fix this problem?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sduskis Solomon Duskis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: