# Set up Oozie on a cluster

Perform the following steps to add a PDI user to the `oozie-site.xml` file:

1. Open the `oozie-site.xml` file on the cluster.
2. Add the following lines of the code to the `oozie-site.xml` file on cluster, substituting *\<your\_pdi\_user\_name>* with the PDI user name, such as `jdoe`.

   ```xml
   <property>
   <name>oozie.service.ProxyUserService.proxyuser.*&lt;your\_pdi\_user\_name&gt;*.groups</name>
   <value>*</value>
   </property>
   <property>
   <name>oozie.service.ProxyUserService.proxyuser.*&lt;your\_pdi\_user\_name&gt;*.hosts</name>
   <value>*</value>
   </property>
   ```
3. Save and close the file.


---

# 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/9.3-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-azure-hdinsight-cp/using-oozie-shared/set-up-oozie-on-a-cluster.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.
