Is there a way of submitting HDFS commands on a Dataproc cluster, if you can't SSH into the master node. I couldn't find anything in the Gcloud SDK or the rest API.
So something like :
gcloud dataproc jobs submit hdfs 'ls /hdfs/path/' --cluster=my-cluster --region=europe-west1