This is an automated email from the ASF dual-hosted git repository.

meszibalu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-connectors.git


The following commit(s) were added to refs/heads/master by this push:
     new 792ea99  HBASE-24088 Solve the ambiguous reference for scala 2.12 (#63)
792ea99 is described below

commit 792ea9973d37fc4ecf6e4a7a3a29380462044d47
Author: LB Yu <[email protected]>
AuthorDate: Fri Apr 3 03:52:48 2020 +0800

    HBASE-24088 Solve the ambiguous reference for scala 2.12 (#63)
    
    Signed-off-by: Balazs Meszaros <[email protected]>
---
 .../org/apache/hadoop/hbase/spark/datasources/HBaseTableScanRDD.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/spark/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseTableScanRDD.scala
 
b/spark/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseTableScanRDD.scala
index 6c06811..346983c 100644
--- 
a/spark/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseTableScanRDD.scala
+++ 
b/spark/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseTableScanRDD.scala
@@ -213,7 +213,7 @@ class HBaseTableScanRDD(relation: HBaseRelation,
     val scans = partition.scanRanges
       .map(buildScan(_, filter, columns))
     val tableResource = TableResource(relation)
-    context.addTaskCompletionListener(context => close())
+    context.addTaskCompletionListener[Unit](context => close())
     val points = partition.points
     val gIt: Iterator[Result] =  {
       if (points.isEmpty) {

Reply via email to