diff options
author | tedyu <yuzhihong@gmail.com> | 2015-05-25 08:19:42 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-05-25 08:19:42 +0100 |
commit | 23bea97d922fbd131d9eb9531906a68459346720 (patch) | |
tree | 9378ab53dda0168af2b5095de437796c5c026f4c /examples/src/main | |
parent | 4f4ba8fda8285f5f23143eafcd15be7f4a050122 (diff) | |
download | spark-23bea97d922fbd131d9eb9531906a68459346720.tar.gz spark-23bea97d922fbd131d9eb9531906a68459346720.tar.bz2 spark-23bea97d922fbd131d9eb9531906a68459346720.zip |
Close HBaseAdmin at the end of HBaseTest
Author: tedyu <yuzhihong@gmail.com>
Closes #6381 from ted-yu/master and squashes the following commits:
e2f0ea1 [tedyu] Close HBaseAdmin at the end of HBaseTest
Diffstat (limited to 'examples/src/main')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala | 1 |
1 files changed, 1 insertions, 0 deletions
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 849887d23c..95c96111c9 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() } } |