You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/06/21 16:04:44 UTC
[GitHub] [hudi] arun990 commented on issue #564: In spark 2.4, the parquet version is 1.10.0, can upgrade to the same version?
arun990 commented on issue #564:
URL: https://github.com/apache/hudi/issues/564#issuecomment-865157871
Hi, Using spark 2.4.0 with python 3.6
set the hive_sync.enable': 'false' while checking.
Saving the dataframe to hdfs giving the below error.
please help.
df.write.format("org.apache.hudi").options(**hudiOptions).mode("append").save("/data1/table1")
File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/readwriter.py", line 736, in save
File "/usr/lib/spark/python/lib/py4j-0.10.7-src.zip/py4j/java_gateway.py", line 1257, in call
File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 63, in deco
File "/usr/lib/spark/python/lib/py4j-0.10.7-src.zip/py4j/protocol.py", line 328, in get_return_value
py4j.protocol.Py4JJavaError: An error occurred while calling o151.save.
: java.lang.NoSuchMethodError: org.apache.spark.sql.execution.datasources.DataSourceUtils$.PARTITIONING_COLUMNS_KEY()Ljava/lang/String;
at org.apache.hudi.DataSourceWriteOptions$.translateSqlOptions(DataSourceOptions.scala:206)
at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:139)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org