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

Ted Yu commented on HBASE-19848:
--------------------------------

There were several compilation errors, such as:
{code}
[ERROR] 
/testptch/hbase/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/HBaseContext.scala:875:
 error: type WriterBuilder is not a member of object 
org.apache.hadoop.hbase.regionserver.StoreFile
[ERROR]       new StoreFile.WriterBuilder(conf, new CacheConfig(tempConf), new 
HFileSystem(fs))
{code}
Please fix, compile locally before uploading the next patch.

Include the JIRA number in the name of patch file.

> 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: 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