[ 
https://issues.apache.org/jira/browse/HBASE-19848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346718#comment-16346718
 ] 

Key Hutu commented on HBASE-19848:
----------------------------------

Hi !Ted Yu, [~huaxiang]

I fix compile error locally.

In the patch, just make sure the connection is closing, testing the patch in 
addition no need.  What do you think ? Thank you

> 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
>            Assignee: Key Hutu
>            Priority: Major
>              Labels: performance
>             Fix For: 1.2.0
>
>         Attachments: HBASE-19848-V2.patch, HBaseContext.patch, 
> 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)

Reply via email to