openapi/openapi-client/src/main/openapi3/master_rest_v1.yaml [802:900]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    WorkerData:
      type: object
      properties:
        host:
          type: string
          description: The host of the worker.
        rpcPort:
          type: integer
          format: int32
          description: The rpc port of the worker.
        pushPort:
          type: integer
          format: int32
          description: The push port of the worker.
        fetchPort:
          type: integer
          format: int32
          description: The fetch port of the worker.
        replicatePort:
          type: integer
          format: int32
          description: The replicate port of the worker.
        internalPort:
          type: integer
          format: int32
          description: The internal port of the worker.
        slotUsed:
          type: integer
          format: int64
          description: The slot used of the worker.
        lastHeartbeatTimestamp:
          type: integer
          format: int64
          description: The last heartbeat timestamp of the worker.
        heartbeatElapsedSeconds:
          type: integer
          format: int64
          description: The elapsed seconds since the last heartbeat of the worker.
        diskInfos:
          type: object
          description: A map of disk name and disk info.
          additionalProperties:
            type: string
        resourceConsumptions:
          type: object
          description: A map of user identifier and resource consumption.
          additionalProperties:
            $ref: '#/components/schemas/WorkerResourceConsumption'
        workerRef:
          type: string
          description: The reference of the worker.
        workerState:
          type: string
          description: The state of the worker.
        workerStateStartTime:
          type: integer
          format: int64
          description: The start time of the worker state.
        networkLocation:
          type: string
          description: The network location of the worker.
      required:
        - host
        - rpcPort
        - pushPort
        - fetchPort
        - replicatePort

    WorkerResourceConsumption:
      type: object
      properties:
        diskBytesWritten:
          type: integer
          format: int64
        diskFileCount:
          type: integer
          format: int64
        hdfsBytesWritten:
          type: integer
          format: int64
        hdfsFileCount:
          type: integer
          format: int64
        subResourceConsumptions:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/WorkerResourceConsumption'

    WorkerTimestampData:
      type: object
      properties:
        worker:
          $ref: '#/components/schemas/WorkerData'
        timestamp:
          type: integer
          format: int64
      required:
        - worker
        - timestamp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



openapi/openapi-client/src/main/openapi3/worker_rest_v1.yaml [497:595]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    WorkerData:
      type: object
      properties:
        host:
          type: string
          description: The host of the worker.
        rpcPort:
          type: integer
          format: int32
          description: The rpc port of the worker.
        pushPort:
          type: integer
          format: int32
          description: The push port of the worker.
        fetchPort:
          type: integer
          format: int32
          description: The fetch port of the worker.
        replicatePort:
          type: integer
          format: int32
          description: The replicate port of the worker.
        internalPort:
          type: integer
          format: int32
          description: The internal port of the worker.
        slotUsed:
          type: integer
          format: int64
          description: The slot used of the worker.
        lastHeartbeatTimestamp:
          type: integer
          format: int64
          description: The last heartbeat timestamp of the worker.
        heartbeatElapsedSeconds:
          type: integer
          format: int64
          description: The elapsed seconds since the last heartbeat of the worker.
        diskInfos:
          type: object
          description: A map of disk name and disk info.
          additionalProperties:
            type: string
        resourceConsumptions:
          type: object
          description: A map of user identifier and resource consumption.
          additionalProperties:
            $ref: '#/components/schemas/WorkerResourceConsumption'
        workerRef:
          type: string
          description: The reference of the worker.
        workerState:
          type: string
          description: The state of the worker.
        workerStateStartTime:
          type: integer
          format: int64
          description: The start time of the worker state.
        networkLocation:
          type: string
          description: The network location of the worker.
      required:
        - host
        - rpcPort
        - pushPort
        - fetchPort
        - replicatePort

    WorkerResourceConsumption:
      type: object
      properties:
        diskBytesWritten:
          type: integer
          format: int64
        diskFileCount:
          type: integer
          format: int64
        hdfsBytesWritten:
          type: integer
          format: int64
        hdfsFileCount:
          type: integer
          format: int64
        subResourceConsumptions:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/WorkerResourceConsumption'

    WorkerTimestampData:
      type: object
      properties:
        worker:
          $ref: '#/components/schemas/WorkerData'
        timestamp:
          type: integer
          format: int64
      required:
        - worker
        - timestamp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



