Hi All, I tried to stop the flink job using flink ...
# troubleshooting
s
Hi All, I tried to stop the flink job using flink rest api in postman service. i cant able to stop the flink job, i use this website as a reference link. i get jobid list and i get request-id to stop the flink job using that request-id. i check the request status. it shows error message. error response in postman:
Copy code
{
  "errors": [
    "Unable to load requested file /requests/7ad49557ed3a0bbb6a0d82fca6f5819d."
  ]
}
After the error i check the job status. jobid status:
Copy code
{
  "jid": "9fda20b732e6f18865a4603a01631a28",
  "name": "student_output",
  "isStoppable": false,
  "state": "RUNNING",
  "start-time": 1702539875665,
  "end-time": -1,
  "duration": 41278,
  "maxParallelism": -1,
  "now": 1702539916943,
  "timestamps": {
    "SUSPENDED": 0,
    "RUNNING": 1702539876182,
    "FAILED": 0,
    "RESTARTING": 0,
    "RECONCILING": 0,
    "INITIALIZING": 1702539875665,
    "CREATED": 1702539875876,
    "CANCELLING": 0,
    "CANCELED": 0,
    "FAILING": 0,
    "FINISHED": 0
  },
  "vertices": [
    {
      "id": "cbc357ccb763df2852fee8c4fc7d55f2",
      "name": "Source: source_table[1] -> sink_table[2]: Writer -> sink_table[2]: Committer",
      "maxParallelism": 128,
      "parallelism": 1,
      "status": "RUNNING",
      "start-time": 1702539890550,
      "end-time": -1,
      "duration": 26393,
      "tasks": {
        "FINISHED": 0,
        "SCHEDULED": 0,
        "FAILED": 0,
        "DEPLOYING": 0,
        "CANCELED": 0,
        "INITIALIZING": 0,
        "RUNNING": 1,
        "CREATED": 0,
        "RECONCILING": 0,
        "CANCELING": 0
      },
      "metrics": {
        "read-bytes": 0,
        "read-bytes-complete": false,
        "write-bytes": 0,
        "write-bytes-complete": false,
        "read-records": 0,
        "read-records-complete": false,
        "write-records": 0,
        "write-records-complete": false,
        "accumulated-backpressured-time": 0,
        "accumulated-idle-time": 0,
        "accumulated-busy-time": 0
      }
    }
  ],
  "status-counts": {
    "FINISHED": 0,
    "SCHEDULED": 0,
    "FAILED": 0,
    "DEPLOYING": 0,
    "CANCELED": 0,
    "INITIALIZING": 0,
    "RUNNING": 1,
    "CREATED": 0,
    "RECONCILING": 0,
    "CANCELING": 0
  },
  "plan": {
    "jid": "9fda20b732e6f18865a4603a01631a28",
    "name": "student_output",
    "type": "STREAMING",
    "nodes": [
      {
        "id": "cbc357ccb763df2852fee8c4fc7d55f2",
        "parallelism": 1,
        "operator": "",
        "operator_strategy": "",
        "description": "[1]:TableSourceScan(table=[[default_catalog, default_database, source_table]], fields=[STUDENT_ID, STUDENT_NAME, STUDENT_ADDRESS, STUDENT_PHONE, DEPT_ID])br/+- sink_table[2]: Writerbr/   +- sink_table[2]: Committerbr/",
        "optimizer_properties": {}
      }
    ]
  }
}
In this response isStoppable is false in need to change as isStoppable is true. i need correct configure flink yaml file.