I want to submit a job on the Google Cloud Dataproc for us-east4 region. I have used the following code which gives me an error.
job_clnt = dataproc_v1.JobControllerClient()
project_id = self.project_id
region = cluster_region
job_clnt.submit_job(project_id, region, job)
Error is:
400 Region 'us-east4' specified in request does not match endpoint region 'global'. To use 'us-east4' region, specify 'us-east4' region in request and configure client to use 'us-east4-dataproc.googleapis.com:443' endpoint.