[
https://issues.apache.org/jira/browse/HBASE-19848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Key Hutu updated HBASE-19848:
-----------------------------
Status: Patch Available (was: Open)
At bulkload and hbaseBulkLoadThinRows method , do close()
I submit a patch file in attachment
> Zookeeper thread leaks in hbase-spark bulkLoad method
> -----------------------------------------------------
>
> Key: HBASE-19848
> URL: https://issues.apache.org/jira/browse/HBASE-19848
> Project: HBase
> Issue Type: Bug
> Components: spark, Zookeeper
> Affects Versions: 1.2.0
> Environment: hbase-spark-1.2.0-cdh5.12.1 version
> spark 1.6
> Reporter: Key Hutu
> Priority: Major
> Labels: performance
> Fix For: 1.2.0
>
> Attachments: HBaseContext.scala
>
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> In hbase-spark project, HBaseContext provides bulkload methond for loading
> spark rdd data to hbase easily.But when i using it frequently, the program
> will throw "cannot create native thread" exception.
> using pstack command in spark driver process , the thread num is increasing
> using jstack, named "main-SendThread" and "main-EventThread" thread so many
> It seems like that , connection created before bulkload ,but close method
> uninvoked at last
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)