Github user haosdent commented on the pull request: https://github.com/apache/spark/pull/194#issuecomment-38357573 I change the close method of writer to : ```scala def close() { Option(htable) match { case Some(t) => { try { t.close() } catch { case ex: Exception => logWarning("Close HBase table failed.", ex) } } case None => logWarning("HBase table variable is null!") } } ``` And add the assumption to the scala document: ``` /** * Save [[org.apache.spark.rdd.RDD[Text]]] as a HBase table * * The format of record in RDD should looks like this: * rowkey|delimiter|column|delimiter|column|delimiter|... * For example (if delimiter is ","): * 0001,apple,banana * "0001" is rowkey field while "apple" and "banana" are column fields. ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---