# Using Pan and Kitchen with a Hadoop cluster

To use [Pan or Kitchen](https://github.com/pentaho/documentation/blob/main/PDIA/10.2/PDI/Advanced%20Pentaho%20Data%20Integration%20topics/Advanced%20topics%20\(Pentaho%20Data%20Integration%20overview\)/Use%20Command%20Line%20Tools%20to%20Run%20Transformations%20and%20Jobs=GUID-8F752993-2BB0-4609-995D-E7E473B380FD=3=en=.md) on a Hadoop cluster, you must configure Pentaho to run transformations and jobs with either the PDI client or the Pentaho Server. However, these configurations are not needed if your PDI client is connected to the Pentaho Repository. To use Pan and Kitchen from a repository directly on the Pentaho Server, you must create the named cluster definition in the server's repository. See [Connecting to a Hadoop cluster with the PDI client](/pdia-data-integration/10.2-data-integration/advanced-topics-pentaho-data-integration-overview/connecting-to-a-hadoop-cluster-with-the-pdi-client-article.md) for information on creating that connection.

**Note:** If a user starts the PDI client and the Pentaho Server on the same platform, the cluster configuration files in the `/home/<user>/.pentaho/metastore` directory are overwritten. To avoid this issue, use the same cluster connection names on both the PDI client host and the Pentaho Server host.


---

# 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/pdia-data-integration/10.2-data-integration/advanced-topics-pentaho-data-integration-overview/using-pan-and-kitchen-with-a-hadoop-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.
