---
schema_version: "1"
id: 8af2db3d86edab3a9474b90e4eb91a2e025ee1f4b5f8fed4733eeab8d1e808c2
title: Using Anypoint Studio to Configure Hadoop (HDFS) Connector
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/hdfs-connector/latest/hdfs-connector-studio.md
canonical_url: https://docs.mulesoft.com/hdfs-connector/latest/hdfs-connector-studio
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 36dfb3e8e3b6dd59ba64686220a0c1c6f6b2bfc1a21a4adc022610f53b30b774
description: MuleSoft Documentation Site
release: "6.0"
latest: true
---
---
product: Hadoop (HDFS) Connector
version: 6.0
is-latest-version: true
---

# Using Anypoint Studio to Configure Hadoop (HDFS) Connector

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Studio (Studio) editors help you design and update your Mule applications, properties, and
configuration files.

To add and configure a connector in Studio:

1.  Create a Mule project.

2.  Add the connector to your Mule project

3.  Configure an input source for the connector’s flow.

4.  Configure global elements for the connector.

If you are new to configuring Anypoint Connectors in Studio, see
[Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio).

## Create a Mule Project

In Anypoint Studio, create a new Mule project in which to add and configure the connector.

1.  In Anypoint Studio, from the main menu, select **File > New > Mule Project**.

2.  Enter a name for your Mule project, and click **Finish**.

## Add the Connector to Your Mule Project

Add Hadoop (HDFS) Connector to a Mule project to automatically populate the XML code with the
connector’s namespace and schema location, as well as add the required dependencies to the project’s
`pom.xml` file.

1.  In the **Mule Palette** view, click **(X) Search in Exchange**.

2.  In **Add Modules to Project**, type `hdfs` in the search field.

3.  Click the name of the connector in **Available modules**.

4.  Click **Add**.

5.  Click **Finish**.

Adding a connector to a Mule project in Studio does not make that same connector available to other
projects in your Studio workspace.

## Configure an Input Source

An input source initiates a flow when a specified condition is met. The act of dragging the
connector’s operation from the palette onto the Anypoint Studio canvas automatically populates the
XML code with the connector namespace and schema location.

Possible input source operations for this connector are:

- Read  
  Starts your app when the content of a file is read and streamed to the rest of the flow.

- HTTP Listener  
  Starts your app using a browser or a command such as `curl`.

- Scheduler  
  Starts your app at timed intervals.

In Studio, drag the input operation you choose from the **Mule Palette** to the **Source** panel in
the canvas, and supply the required parameters.

For example, the required fields for the `Read` input source are:

- Configuration  
  The name of the connector configuration to use

- Path  
  The path for the file to read

## Configure a Global Element for the Connector

To configure a connector in your Mule app, configure a global element that can be used by all
instances of that connector in the flow:

1.  In the **Mule Palette** view, search for the connector and select an operation.

2.  Drag the operation onto the canvas to the right of the input source.

3.  In the configuration screen for the operation, click the plus sign (+) next to the **Connector
    configuration** field to add a global element for the connector.

4.  In the **General** tab, enter a name for the configuration, and select the connection type from
    **Connection**.  
    Supported connection types for this connector are:

    - [**Kerberos**](https://docs.mulesoft.com/hdfs-connector/latest/hdfs-connector-reference#hdfs_kerberos)

    - [**Simple**](https://docs.mulesoft.com/hdfs-connector/latest/hdfs-connector-reference#hdfs_simple)

      For information about how to configure the connections, see
      [Connection Types](https://docs.mulesoft.com/hdfs-connector/latest/hdfs-connector-reference#connection_types).

      You can provide your credentials in the global configuration properties, or you can reference
      a configuration file that contains those values.

      To simplify maintenance and improve project reusability, of your project, use a configuration
      file. Keeping these values in a separate file is useful if you need to deploy to different
      environments, such as production, development, and QA, where your access credentials differ.

      See
      [Anypoint Connector Configuration](https://docs.mulesoft.com/connectors/introduction/intro-connector-configuration-overview)
      for more information.

5.  Click the **Advanced** tab to specify a reconnection strategy, if supported.

6.  Click **Test Connection** to confirm that Mule can connect with the specified server.

7.  Click **OK**.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Anypoint Connector Configuration](https://docs.mulesoft.com/connectors/introduction/intro-connector-configuration-overview)

- [Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio)

- [Hadoop (HDFS) Connector Reference](https://docs.mulesoft.com/hdfs-connector/latest/hdfs-connector-reference)

- [Salesforce Help](https://help.salesforce.com)
