[ https://issues.apache.org/jira/browse/HBASE-24088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balazs Meszaros resolved HBASE-24088. ------------------------------------- Fix Version/s: connector-1.0.1 Resolution: Fixed > Solve the ambiguous reference for scala 2.12 > -------------------------------------------- > > Key: HBASE-24088 > URL: https://issues.apache.org/jira/browse/HBASE-24088 > Project: HBase > Issue Type: Bug > Components: hbase-connectors > Reporter: Liebing Yu > Priority: Minor > Fix For: connector-1.0.1 > > > When the {{hbase-spark}} module is compiled under the scala 2.12 environment, > the following error appears in line 216 of the > {{org.apache.hadoop.hbase.spark.datasources.HBaseTableScanRDD}} class: > {code:java} > [ERROR] [Error] > /path/hbase-connectors/spark/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseTableScanRDD.scala:216: > ambiguous reference to overloaded definition, both method > addTaskCompletionListener in class TaskContext of type [U](f: > org.apache.spark.TaskContext => U)org.apache.spark.TaskContext and method > addTaskCompletionListener in class TaskContext of type (listener: > org.apache.spark.util.TaskCompletionListener)org.apache.spark.TaskContext > match argument types (org.apache.spark.TaskContext => Unit){code} -- This message was sent by Atlassian Jira (v8.3.4#803005)