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

Reduce NeedUnmanagedConnectionException issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.0.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: