Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Flint query scheduler part1 - integrate job scheduler plugin #2834

Merged
merged 18 commits into from
Jul 31, 2024

Conversation

noCharger
Copy link
Contributor

@noCharger noCharger commented Jul 16, 2024

Description

Integrate job scheduler plugin as the first part of async query scheduler feature opensearch-project/opensearch-spark#416, which includes:

  1. Introduce job scheduler plugin
    1.1 Upgrade guava from 32.0.1-jre to 32.1.3-jre for all components
    1.2 Consolidate on guava:failureaccess:1.0.2
    1.3 Make SQLPlugin as a JobSchedulerExtension, add job-scheduler-spi as a dependency
    1.4 Install job-scheduler plugin on integ test clusters, as well as the doc test cluster
  2. Support async query scheduler feature in async-query module
    2.1 Introduce job index .async-query-schedule
    2.2 Add scheduler data model OpenSearchRefreshIndexJobRequest
    2.3 Add scheduler job OpenSearchRefreshIndexJob
    2.4 Add scheduler interface and implementation OpenSearchAsyncQueryScheduler

Consider seperate PRs for follow-up tasks:

  1. Modify current use case to leverage on the new scheduler
  2. Make job index a system index
  3. Add a feature flag
  4. Support streaming job migration
  5. Make scheduler as a service
  6. Add more integration test coverage, as well as BWC test
  7. Migrate FlintStreamingJobHouseKeeperTask into the new scheduler

Sanity Test

On cluster bootstrap:

[2024-07-16T18:32:08,644][INFO ][o.o.j.JobSchedulerPlugin ] JobSweeper started listening to operations on index .async-query-scheduler
[2024-07-16T18:44:39,905][INFO ][o.o.j.s.JobScheduler     ] Scheduling job id my_job for index .async-query-scheduler .
[2024-07-16T18:44:39,906][INFO ][o.o.j.s.JobScheduler     ] Scheduling job id my_job2 for index .async-query-scheduler .

On path createJob:

[2024-07-16T18:34:00,161][INFO ][o.o.j.s.JobScheduler     ] Scheduling job id my_job for index .async-query-scheduler .
[2024-07-16T18:34:00,192][INFO ][o.o.s.s.s.OpenSearchAsyncQueryScheduler] Job : my_job  successfully created

[2024-07-16T18:46:44,009][INFO ][o.o.p.PluginsService     ] PluginService:onIndexModule index:[.opendistro-job-scheduler-lock/bHplaDQkTPGH_PbF97SdWw]
[2024-07-16T18:46:44,015][INFO ][o.o.c.m.MetadataCreateIndexService] [.opendistro-job-scheduler-lock] creating index, cause [api], templates [], shards [1]/[1]

On path removeJob:

[2024-07-16T18:29:18,292][INFO ][o.o.j.s.JobSweeper       ] Descheduling job my_job on index .async-query-scheduler
[2024-07-16T18:29:18,292][INFO ][o.o.j.s.JobScheduler     ] Descheduling jobId: my_job
[2024-07-16T18:29:18,337][INFO ][o.o.s.s.s.OpenSearchAsyncQueryScheduler] Job : my_job successfully deleted

Issues Resolved

#2832

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@noCharger noCharger force-pushed the feature-query-scheduler branch 2 times, most recently from b29ffc4 to 91bd2bc Compare July 17, 2024 00:18
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.28%. Comparing base (2c29a1a) to head (6f85b9a).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2834      +/-   ##
============================================
+ Coverage     94.60%   96.28%   +1.68%     
+ Complexity     5140     4904     -236     
============================================
  Files           508      467      -41     
  Lines         14473    13366    -1107     
  Branches        944      887      -57     
============================================
- Hits          13692    12870     -822     
+ Misses          740      463     -277     
+ Partials         41       33       -8     
Flag Coverage Δ
sql-engine 96.28% <ø> (+1.68%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@noCharger noCharger force-pushed the feature-query-scheduler branch 2 times, most recently from 7224729 to 783a644 Compare July 17, 2024 01:43
@noCharger noCharger self-assigned this Jul 17, 2024
@noCharger noCharger added feature v2.16.0 Issues targeting release v2.16.0 labels Jul 17, 2024
@noCharger noCharger force-pushed the feature-query-scheduler branch 4 times, most recently from e55762f to 3d70c7d Compare July 17, 2024 16:11
@noCharger noCharger marked this pull request as ready for review July 17, 2024 19:42
Signed-off-by: Louis Chu <clingzhi@amazon.com>
Signed-off-by: Louis Chu <clingzhi@amazon.com>
core/build.gradle Show resolved Hide resolved
public static final String ENABLED_FIELD = "enabled";

// name is doc id
private final String jobName;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is jobName? could u explain more name is doc id?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JobName is the required field for ScheduledJobParameter interface. The plan is to reuse it for the doc id.


// name is doc id
private final String jobName;
private final String jobType;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is jobType?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is jobType?

This is for supporting different type of jobs, it should be moved to the parent class when abtract out the service layer

* and using singleton job runner to ensure we register a usable job runner instance to JobScheduler
* plugin.
*/
public class OpenSearchRefreshIndexJob implements ScheduledJobRunner {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. why add @Singleton

Comment on lines +55 to +58
jobRunner = OpenSearchRefreshIndexJob.getJobRunnerInstance();
jobRunner.setClient(null);
jobRunner.setClusterService(null);
jobRunner.setThreadPool(null);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why use setXXX? can we construct OpenSearchRefreshIndexJob(client, clusterService, threadpool)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why use setXXX? can we construct OpenSearchRefreshIndexJob(client, clusterService, threadpool)?

Explained on comments here https://github.com/opensearch-project/sql/pull/2834/files/2b69b66166dcc0b022404d7424717b6503265bef#diff-b63487ae812d0eeb5c84aa6be4bca723773ffbe2f04056ff1807d31ca4d0e67eR23-R31

import org.opensearch.sql.spark.scheduler.model.OpenSearchRefreshIndexJobRequest;
import org.opensearch.threadpool.ThreadPool;

public class OpenSearchAsyncQuerySchedulerTest {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can do test with TestCluster and verify the mapping, doc is expected also.

Copy link
Contributor Author

@noCharger noCharger Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can do test with TestCluster and verify the mapping, doc is expected also.

Will in include this in part2. Thanks!

Comment on lines +38 to +42
public static OpenSearchRefreshIndexJob INSTANCE = new OpenSearchRefreshIndexJob();

public static OpenSearchRefreshIndexJob getJobRunnerInstance() {
return INSTANCE;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With @Singleton annotation, Guice will use single instance when injecting to other classes. So we don't need to implement singleton pattern by ourselves.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With @Singleton annotation, Guice will use single instance when injecting to other classes. So we don't need to implement singleton pattern by ourselves.

getJobRunnerInstance is called during SQLPlugin instantiation, whereas injector = modules.createInjector(); is then called in createComponents. Please let me know how to apply Guice in this case. Thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If injector is created after the instantiation, we cannot use @Singleton since that means we cannot rely on Guice to create the instance. But looks like the getJobRunnerInstance is called from OpenSearchAsyncQueryScheduler, which is instantiated in the same method. It should work even if we retrieve instance from the injector (retrieve instance of OpenSearchAsyncQueryScheduler from injector, and inject OpenSearchRefreshIndexJob into OpenSearchAsyncQueryScheduler by Guice).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +41 to +78
@Override
public String getName() {
return jobName;
}

public String getJobType() {
return jobType;
}

@Override
public Schedule getSchedule() {
return schedule;
}

@Override
public boolean isEnabled() {
return enabled;
}

@Override
public Instant getLastUpdateTime() {
return lastUpdateTime;
}

@Override
public Instant getEnabledTime() {
return enabledTime;
}

@Override
public Long getLockDurationSeconds() {
return lockDurationSeconds;
}

@Override
public Double getJitter() {
return jitter;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use @Data or @Getter annotation on this class?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use @Data or @Getter annotation on this class?

The fields must be overridden for the ScheduledJobParameter interface.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Data and @Getter should be able to implement methods from interface. Did you try?

Copy link
Contributor Author

@noCharger noCharger Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-07-24 at 11 46 02
after removed

  @Override
  public String getName() {
    return jobName;
  }

Tried both annotation

@noCharger noCharger requested a review from ykmr1224 July 24, 2024 16:10
Comment on lines +38 to +42
public static OpenSearchRefreshIndexJob INSTANCE = new OpenSearchRefreshIndexJob();

public static OpenSearchRefreshIndexJob getJobRunnerInstance() {
return INSTANCE;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If injector is created after the instantiation, we cannot use @Singleton since that means we cannot rely on Guice to create the instance. But looks like the getJobRunnerInstance is called from OpenSearchAsyncQueryScheduler, which is instantiated in the same method. It should work even if we retrieve instance from the injector (retrieve instance of OpenSearchAsyncQueryScheduler from injector, and inject OpenSearchRefreshIndexJob into OpenSearchAsyncQueryScheduler by Guice).

Comment on lines +41 to +78
@Override
public String getName() {
return jobName;
}

public String getJobType() {
return jobType;
}

@Override
public Schedule getSchedule() {
return schedule;
}

@Override
public boolean isEnabled() {
return enabled;
}

@Override
public Instant getLastUpdateTime() {
return lastUpdateTime;
}

@Override
public Instant getEnabledTime() {
return enabledTime;
}

@Override
public Long getLockDurationSeconds() {
return lockDurationSeconds;
}

@Override
public Double getJitter() {
return jitter;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Data and @Getter should be able to implement methods from interface. Did you try?

@noCharger noCharger requested a review from ykmr1224 July 24, 2024 18:48
Signed-off-by: Louis Chu <clingzhi@amazon.com>
Signed-off-by: Louis Chu <clingzhi@amazon.com>
@noCharger noCharger requested a review from penghuo July 25, 2024 16:41
@ykmr1224 ykmr1224 merged commit 3daf64f into opensearch-project:main Jul 31, 2024
15 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/sql/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/sql/backport-2.x
# Create a new branch
git switch --create backport/backport-2834-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3daf64fbce5a8d29e846669689b3a7b12c5c7f07
# Push it to GitHub
git push --set-upstream origin backport/backport-2834-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/sql/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-2834-to-2.x.

noCharger added a commit to noCharger/sql that referenced this pull request Jul 31, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
noCharger added a commit to noCharger/sql that referenced this pull request Aug 1, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
noCharger added a commit to noCharger/sql that referenced this pull request Aug 1, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
noCharger added a commit to noCharger/sql that referenced this pull request Aug 1, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
noCharger added a commit to noCharger/sql that referenced this pull request Aug 1, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
noCharger added a commit to noCharger/sql that referenced this pull request Aug 1, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
ykmr1224 pushed a commit that referenced this pull request Aug 2, 2024
#2834) (#2889)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 3daf64f)
manasvinibs pushed a commit to manasvinibs/sql that referenced this pull request Aug 14, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
jzonthemtn pushed a commit to jzonthemtn/sql that referenced this pull request Aug 28, 2024
opensearch-project#2834)

* [Feature] Flint query scheduler part1 - integrate job scheduler plugin

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add unit test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Remove test rest API

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Add more tests

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix IT with security

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Improve test coverage

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix integTest cluster

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Update UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix bwc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* clean up doc test

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Resolve comments

Signed-off-by: Louis Chu <clingzhi@amazon.com>

* Fix UT

Signed-off-by: Louis Chu <clingzhi@amazon.com>

---------

Signed-off-by: Louis Chu <clingzhi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants