I am trying to run pyspark application using gcloud on dataproc master-node . I get "Request had insufficient authentication scopes"
# gcloud dataproc jobs submit pyspark --cluster xxxxx test.py
gcloud.dataproc.jobs.submit.pyspark) You do not have permission
to access cluster [xxxxxx] (or it may not exist):
Request had insufficient authentication scopes
I can run same application through Jobs GUI. I dont have the link to doc rightnow but it says if this is been run on Compute VM no separate credential is required which seem to be in line with when I run the same application using GUI. Any help ?