[ https://issues.apache.org/jira/browse/HBASE-19848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339601#comment-16339601 ]
huaxiang sun commented on HBASE-19848: -------------------------------------- Hi [~Key Hutu], as Ted mentioned, you can use the submit-patch script to submit the patch. Or use git diff to create a patch by "git diff --no-prefix". [~yuzhih...@gmail.com] and [~saint....@gmail.com], can you add [~Key Hutu] to contributor list so he can assign the Jira to himself? Thanks. > 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)