spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhayat <baki...@gmail.com>
Subject Handling Exception or Control in spark dataframe write()
Date Wed, 14 Dec 2016 18:10:43 GMT
Hello,

I am writing my RDD into parquet format but what i understand that write()
method is still experimental and i do not know how i will deal with possible
exceptions.

For example:

 schemaXXX.write().mode(saveMode).parquet(parquetPathInHdfs);

In this example i do not know how i will handle exception if parquet path
does not exist or host is not reachable.

Do you have any way to do it ?

Thank you,



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Handling-Exception-or-Control-in-spark-dataframe-write-tp28210.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message