Ben Chuanlong Du's Blog

It is never too late to learn.

Spark Issue: AccessControlException: Permission Denied

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Symptom

org.apache.hadoop.security.AccessControlException: Permission denied ...

Cause

The user of the Spark application has no permission to the query a table or HDFS path.

Solution

Apply to access to …