You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2015/05/25 09:19:47 UTC

spark git commit: Close HBaseAdmin at the end of HBaseTest

Repository: spark
Updated Branches:
  refs/heads/master 4f4ba8fda -> 23bea97d9


Close HBaseAdmin at the end of HBaseTest

Author: tedyu <yu...@gmail.com>

Closes #6381 from ted-yu/master and squashes the following commits:

e2f0ea1 [tedyu] Close HBaseAdmin at the end of HBaseTest


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/23bea97d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/23bea97d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/23bea97d

Branch: refs/heads/master
Commit: 23bea97d922fbd131d9eb9531906a68459346720
Parents: 4f4ba8f
Author: tedyu <yu...@gmail.com>
Authored: Mon May 25 08:19:42 2015 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Mon May 25 08:19:42 2015 +0100

----------------------------------------------------------------------
 examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/23bea97d/examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala b/examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala
index 849887d..95c9611 100644
--- a/examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala
+++ b/examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala
@@ -59,5 +59,6 @@ object HBaseTest {
     hBaseRDD.count()
 
     sc.stop()
+    admin.close()
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org