找不到返回statusruntimeexception群集的dataproc

mitkmikd  于 2021-05-27  发布在  Spark
关注(0)|答案(1)|浏览(556)

我正在向正在使用gcloud dataproc重新编制索引的api发送请求。我正在发送一个请求给我答复
io.grpc.statusruntimeexception:未找到:未找到:cluster projects/go dev central/regions/us-central1/clusters/cluster-156c
对gcloud还很陌生,我不知道该去哪里找。可能是区域/区域问题。

Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task failed
        at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:57)
        at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
        at com.google.cloud.dataproc.v1.JobControllerClient.submitJob(JobControllerClient.java:210)
        at com.google.cloud.dataproc.v1.JobControllerClient.submitJob(JobControllerClient.java:183)
        at com.carecloud.edison.commons.providers.gcp.GoogleDataProcProvider.$anonfun$submitDataProcJob$1(GoogleDataProcProvider.scala:59)
        at com.carecloud.edison.commons.providers.gcp.GoogleDataProcProvider.withJobControllerClientSync(GoogleDataProcProvider.scala:39)
        at com.carecloud.edison.commons.providers.gcp.GoogleDataProcProvider.$anonfun$withJobControllerClient$1(GoogleDataProcProvider.scala:27)
        at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:658)
        at scala.util.Success.$anonfun$map$1(Try.scala:255)
        at scala.util.Success.map(Try.scala:213)
Caused by: io.grpc.StatusRuntimeException: NOT_FOUND: Not found: Cluster projects/go-dev-central/regions/us-central1/clusters/cluster-156c
    at io.grpc.Status.asRuntimeException(Status.java:533)
    at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:490)
    at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
    at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
    at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
    at io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:700)
    at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
    at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
    at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
    at io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.onClose(CensusTracingModule.java:399)
2020-08-31 04:33:49,568 [ERROR] c.ReindexController - General Service Error: io.grpc.StatusRuntimeException: NOT_FOUND: Not found: Cluster projects/go-dev-central/regions/us-central1/clusters/cluster-156c
xbp102n0

xbp102n01#

最可能的解释是,您使用了单独的“全局”多区域来创建集群,即使您将其放置在us-central1中的gce区域中,同时您已经将代码配置为使用“us-central1”区域dataproc universe。
看到了吗https://cloud.google.com/dataproc/docs/concepts/regional-endpoints 有关差异的更多详细信息。高层次是“全球”是一个独立的数据过程宇宙,就像“美国-中央1号”、“欧洲-西方1号”等不同的区域宇宙一样;他们都是孤立的。
如果在云控制台中查看“集群”列表页面,您可以看到集群所在的位置,因为应该有一列指示正在使用的dataproc区域。

相关问题