0

I want to write a huge table from SQL to Kudu Table, I am not able to write it to a Kudu table.

With the following code:

kuduDF.write.format('org.apache.kudu.spark.kudu')
              .option('kudu.master',kudu_master)
              .option('kudu.table',"impala::"+kudu_database_name+"."+kudu_table_name).mode('append')
              .option("kudu.operation", operation_type)
              .save()

but I am getting the following error:

An error occurred while calling o202.save. : java.lang.AbstractMethodError: org.apache.kudu.spark.kudu.DefaultSource.createRelation(Lorg/apache/spark/sql/SQLContext;Lorg/apache/spark/sql/SaveMode;Lscala/collection/immutable/Map;Lorg/apache/spark/sql/Dataset;)Lorg/apache/spark/sql/sources/BaseRelation;

4

1 回答 1

-1

你能试试这个 jar kudu-spark2-tools_2.11.jar 吗?你用哪个罐子让它工作

于 2020-08-17T15:24:43.683 回答