- Get All Questions & Answer for CDP Generalist Exam (CDP-0011) and trainings.
- Get All Questions & Answer for CDP Administrator - Private Cloud Base Exam CDP-2001 and trainings.
- Get All Questions & Answer for CDP Data Developer Exam CDP-3001 and trainings.
This Question is from QuickTechie Cloudera CDP Certification Preparation Kit.
Tutorial Link
SandboxVersion: HDP 2.3.2 AmbariVersion2.1.2 Hadoop stack version:Hadoop2.7.1.2.3.2.0-2950
Issue 1: Error initializing SparkContext when executing spark-shell command
When you issue the command as root
spark-shell --master yarn-client --driver-memory 512m --executor-memory 512m
You would would receive the error:
ERROR SparkContext: Error initializing SparkContext.org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user/root/.sparkStaging/application_1451921066894_0001":hdfs:hdfs:drwxr-xr-x
Resolution
sudo su - hdfs hdfs dfs -mkdir /user/root hdfs dfs -chown root:hdfs /user/root exit
- Get All Questions & Answer for CDP Generalist Exam (CDP-0011) and trainings.
- Get All Questions & Answer for CDP Administrator - Private Cloud Base Exam CDP-2001 and trainings.
- Get All Questions & Answer for CDP Data Developer Exam CDP-3001 and trainings.
This Question is from QuickTechie Cloudera CDP Certification Preparation Kit.