Apache Hive · Capability

Apache Hive WebHCat REST API — Jobs

Apache Hive WebHCat REST API — Jobs. 2 operations. Lead operation: Apache Hive Submit Hive Job. Self-contained Naftiko capability covering one Apache Hive business surface.

Run with Naftiko Apache HiveJobs

What You Can Do

POST
Submithivejob — Apache Hive Submit Hive Job
/v1/hive
GET
Getjobstatus — Apache Hive Get Job Status
/v1/jobs/{jobid}

MCP Tools

apache-hive-submit-hive-job

Apache Hive Submit Hive Job

apache-hive-get-job-status

Apache Hive Get Job Status

read-only idempotent

Capability Spec

webhcat-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache Hive WebHCat REST API — Jobs
  description: 'Apache Hive WebHCat REST API — Jobs. 2 operations. Lead operation: Apache Hive Submit Hive Job. Self-contained
    Naftiko capability covering one Apache Hive business surface.'
  tags:
  - Apache Hive
  - Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_HIVE_API_KEY: APACHE_HIVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: webhcat-jobs
    baseUri: http://localhost:50111/templeton/v1
    description: Apache Hive WebHCat REST API — Jobs business capability. Self-contained, no shared references.
    resources:
    - name: hive
      path: /hive
      operations:
      - name: submithivejob
        method: POST
        description: Apache Hive Submit Hive Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: jobs-jobId
      path: /jobs/{jobId}
      operations:
      - name: getjobstatus
        method: GET
        description: Apache Hive Get Job Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: jobId
          in: path
          type: string
          description: Hadoop job ID
          required: true
  exposes:
  - type: rest
    namespace: webhcat-jobs-rest
    port: 8080
    description: REST adapter for Apache Hive WebHCat REST API — Jobs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/hive
      name: hive
      description: REST surface for hive.
      operations:
      - method: POST
        name: submithivejob
        description: Apache Hive Submit Hive Job
        call: webhcat-jobs.submithivejob
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/jobs/{jobid}
      name: jobs-jobid
      description: REST surface for jobs-jobId.
      operations:
      - method: GET
        name: getjobstatus
        description: Apache Hive Get Job Status
        call: webhcat-jobs.getjobstatus
        with:
          jobId: rest.jobId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webhcat-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache Hive WebHCat REST API — Jobs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-hive-submit-hive-job
      description: Apache Hive Submit Hive Job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: webhcat-jobs.submithivejob
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-hive-get-job-status
      description: Apache Hive Get Job Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webhcat-jobs.getjobstatus
      with:
        jobId: tools.jobId
      outputParameters:
      - type: object
        mapping: $.