03-31-2017 02:35 PM
I am attempting leverage Spark2 to write a parquet file to HDFS, but am receiving the following error:
Error summary: RemoteException: File /user/cloudera/1000genome/processed/test.vds/rdd.p
at java.security.AccessController.doPrivileged(Native Method)
I had initially started with the Cloudera Quickstart VM, upgraded Cloudera Manager and CDH to 5.10, and then installed Spark2. Is there something I'm missing that would prevent Spark2 from writing to HDFS? As well, Spark2 is unable to write this file locally, instead receiving an IO Exception Error, but has no problems reading the file.
I am calling my Spark Script with the below line:
spark2-submit --master yarn-client tutorial.py
03-31-2017 02:39 PM
It has nothing to do with Spark. This is the kind of error you get when HDFS is not working. It may be unable to start, still starting, or having some other problem.
03-31-2017 02:49 PM
Odd, hdfs dfs -ls etc. all seem to be working. As well, if I run through the "Getting Started" tutorial I don't seem to encounter any issues.
In regards to the IOException when attempting to write to disk (see below), is this just tied to the user behind Spark2 not having write priviledges to that location?
Error summary: IOException: Mkdirs failed to create file:/home/cloudera/Documents/hail-workspace/sourc