# Set command variables

Setting these commonly used command variables makes it easier to run command-line examples on your local machine or in Cloud Shell.

Perform the following steps to set command variables.

1. Export the project using the following example:

   ```
   $ export PROJECT=project;export HOSTNAME=hostname;export ZONE=zone
   ```

   1. Set the **PROJECT** variable to your Google Cloud project ID.
   2. Set the **HOSTNAME** variable to the name of the master node in your Dataproc cluster.

      **Note:** The master name ends with an -m suffix.
   3. Set the **ZONE** variable to the zone of the instances in your Dataproc cluster.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/install/10.2-install/pentaho-configuration/tasks-to-be-performed-by-an-it-administrator/set-up-the-pentaho-server-to-connect-to-a-hadoop-cluster/additional-configurations-for-specific-distributions-connecting-to-a-cluster/advanced-settings-for-connecting-to-google-dataproc/install-the-google-cloud-sdk-on-your-local-machine-cp/set-command-variables-gdp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
