フィードバックを送信
プロジェクトを設定する
bookmark_border bookmark
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
設定の手順
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Note : If you don't plan to keep the
resources that you create in this procedure, create a project instead of
selecting an existing project. After you finish these steps, you can
delete the project, removing all resources associated with the project.
Go to project selector
Make sure that billing is enabled for your Google Cloud project .
Enable the Google Cloud Dataproc API.
Enable the API
Install the Google Cloud CLI.
To initialize the gcloud CLI, run the following command:
gcloud init
注: Dataproc API を有効にすると、Dataproc Control API も有効になります。Dataproc API を無効にしても、Dataproc Control API は無効になりません。Dataproc Control API は個別に無効にする必要があります。 認証情報の必要について: 認証情報が必要になるのは、アプリケーションやブラウザから直接 Dataproc API を呼び出すことができるようにする場合のみです。Google Cloud コンソールまたは Google Cloud CLI を使用してクラスタの作成と管理、ジョブの送信を行う場合、gcloud init
コマンドを使用して SDK にログインするだけで済みます。
VM の設定(オプション)
Compute Engine 仮想マシン(VM)インスタンスから gcloud CLI を実行できるようにする場合は、Google Cloud サービスにアクセスするようにこの VM を設定する必要があります。
VM が正しく設定されているかどうかをテストするには、gcloud compute instances describe your-vm-instance-name
をコマンドラインから実行します。 https://www.googleapis.com/auth/cloud-platform
スコープを含むサービス アカウントが一覧表示されます。VM を設定する方法について詳しくは、ユーザー管理のサービス アカウントを使用する VM を作成する をご覧ください。
Cloud Shell を使用して gcloud CLI コマンドを実行します。
独自の VM を設定して SDK コマンドを実行する方法に代えて、Cloud Shell セッションを使用する方法があります。このセッションを開くと、必要なスコープを設定して自動的に VM がプロビジョニングされるので、Cloud Shell から gcloud CLI コマンドを実行できます。
フィードバックを送信
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンス により使用許諾されます。コードサンプルは Apache 2.0 ライセンス により使用許諾されます。詳しくは、Google Developers サイトのポリシー をご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-31 UTC。
ご意見をお聞かせください
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-01-31 UTC。"],[],[]]