Skip to content

[Bug] [REST-API] Cannot get finished job status with new api /hazelcast/rest/maps/finished-jobs/:state #6037

@sheng-jie

Description

@sheng-jie

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I build seatunnel pacakge with latest dev branch to test new merged rest -api-feature .

After I run the job, when I call /hazelcast/rest/maps/finished-jobs/:state only 204 returned.

SeaTunnel Version

latest dev branch

SeaTunnel Config

env {
  execution.parallelism = 1
  job.mode = "BATCH"
}

source {
  FakeSource {
    result_table_name = "fake1"
    row.num = 16
    schema = {
      fields {
        name = "string"
        age = "int"
        created_time = "timestamp"
        destroyed_time = "timestamp"
      }
    }
  }
}

transform {


    SQL {
    source_table_name = "fake1"
    result_table_name = "fake2"
    query = "SELECT name, age, created_time, destroyed_time, CURRENT_DATE() today, DATEDIFF(created_time, destroyed_time, 'SECOND') duration FROM fake1 "
  }

  SQL {
    source_table_name = "fake2"
    result_table_name = "fake3"
    query = "SELECT name, age, today, duration FROM fake2 "
  }
}

sink {
  Console {
    source_table_name = "fake3"
  }
}

Running Command

bin/seatunnel.sh -c config/demo.conf

Error Exception

no exception

Zeta or Flink or Spark Version

Zeta

Java or Scala Version

No response

Screenshots

api call

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions