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

Make sure the close method of the SmartSonnection is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • hbase-connectors-1.0.1
    • spark
    • None
    • Reviewed

    Description

      The close method of SmartSonnection may not be called when an exception occurs in the hbaseForeachPartition or hbaseMapPartition methods of HBaseContext. We should use try-finally to ensure that the close method is called.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wforget Zhen Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: