Apache Hadoop WebHDFS API

HDFS filesystem REST operations under /webhdfs/v1.

Operations 4

GET /webhdfs/v1/{path} WebHDFS GET operations #
PUT /webhdfs/v1/{path} WebHDFS PUT operations #
POST /webhdfs/v1/{path} WebHDFS POST operations #
DELETE /webhdfs/v1/{path} WebHDFS DELETE #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hadoop-webhdfs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hadoop-webhdfs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache Hadoop REST Web HDFS API
  description: Aggregated OpenAPI definition for the public REST APIs exposed by Apache Hadoop. Includes WebHDFS for filesystem operations and the YARN ResourceManager for cluster, application, and node management.
  version: stable
  contact:
    name: Apache Hadoop
    url: https://hadoop.apache.org/
  license:
    name: Apache License 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://{host}:{port}
  description: Hadoop service host
  variables:
    host:
      default: localhost
    port:
      default: '50070'
tags:
- name: WebHDFS
  description: HDFS filesystem REST operations under /webhdfs/v1.
paths:
  /webhdfs/v1/{path}:
    get:
      summary: WebHDFS GET operations
      description: 'File or directory operations selected by the `op` query parameter: OPEN, GETFILESTATUS, LISTSTATUS, LISTSTATUS_BATCH, GETCONTENTSUMMARY, GETFILECHECKSUM, GETHOMEDIRECTORY, GETXATTRS, GETACLSTATUS.'
      operationId: webhdfsGet
      tags:
      - WebHDFS
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      - name: op
        in: query
        required: true
        schema:
          type: string
          enum:
          - OPEN
          - GETFILESTATUS
          - LISTSTATUS
          - LISTSTATUS_BATCH
          - GETCONTENTSUMMARY
          - GETFILECHECKSUM
          - GETHOMEDIRECTORY
          - GETXATTRS
          - GETACLSTATUS
      responses:
        '200':
          description: Operation result
    put:
      summary: WebHDFS PUT operations
      description: 'Mutation operations selected by `op`: CREATE, MKDIRS, RENAME, SETPERMISSION, SETOWNER, SETREPLICATION, SETXATTR, SETACL.'
      operationId: webhdfsPut
      tags:
      - WebHDFS
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      - name: op
        in: query
        required: true
        schema:
          type: string
          enum:
          - CREATE
          - MKDIRS
          - RENAME
          - SETPERMISSION
          - SETOWNER
          - SETREPLICATION
          - SETXATTR
          - SETACL
      responses:
        '200':
          description: Operation result
    post:
      summary: WebHDFS POST operations
      description: APPEND, CONCAT, or TRUNCATE selected by `op`.
      operationId: webhdfsPost
      tags:
      - WebHDFS
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      - name: op
        in: query
        required: true
        schema:
          type: string
          enum:
          - APPEND
          - CONCAT
          - TRUNCATE
      responses:
        '200':
          description: Operation result
    delete:
      summary: WebHDFS DELETE
      description: Delete a file or directory.
      operationId: webhdfsDelete
      tags:
      - WebHDFS
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      - name: op
        in: query
        required: true
        schema:
          type: string
          enum:
          - DELETE
      responses:
        '200':
          description: Deletion result