[hawkular/hawkular-metrics] 6943ee: Release 0.28.4
by John Sanda
Branch: refs/heads/release/0.28.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 6943ee248e30f3a1aaba8367341598274f0df73b
https://github.com/hawkular/hawkular-metrics/commit/6943ee248e30f3a1aaba8...
Author: John Sanda <john.sanda(a)gmail.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M alerting/alerter-war/pom.xml
M alerting/alerting-jar/pom.xml
M alerting/pom.xml
M api/metrics-api-jaxrs/pom.xml
M api/metrics-api-util/pom.xml
M bus/pom.xml
M clients/common/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter-factory/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter/pom.xml
M clients/dropwizard/pom.xml
M clients/pom.xml
M clients/ptranslator/pom.xml
M containers/hawkular-openshift-security-filter/pom.xml
M containers/pom.xml
M core/configuration-service/pom.xml
M core/datetime-service/pom.xml
M core/metrics-core-service/pom.xml
M core/metrics-model/pom.xml
M core/rx-java-driver/pom.xml
M core/schema/pom.xml
M data-generator/pom.xml
M dist/component/component-ear/pom.xml
M dist/component/component-war/pom.xml
M dist/containers/hawkular-metrics-openshift-alerting/pom.xml
M dist/containers/hawkular-metrics-openshift-dist/pom.xml
M dist/containers/hawkular-metrics-openshift/pom.xml
M dist/pom.xml
M dist/standalone/standalone-ear/pom.xml
M dist/standalone/standalone-war/pom.xml
M dist/standalone/wildfly-standalone/pom.xml
M integration-tests/hawkular-server-tests/pom.xml
M integration-tests/jmh-benchmark/pom.xml
M integration-tests/load-tests/pom.xml
M integration-tests/metrics-api-jaxrs-test/pom.xml
M integration-tests/pom.xml
M integration-tests/rest-tests-jaxrs-dist/pom.xml
M integration-tests/rest-tests-jaxrs/pom.xml
M job-scheduler/pom.xml
M pom.xml
Log Message:
-----------
Release 0.28.4
Commit: f6c24ff5db4bf2bd15e91ae393fb135decbd0dfa
https://github.com/hawkular/hawkular-metrics/commit/f6c24ff5db4bf2bd15e91...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M alerting/alerter-war/pom.xml
M alerting/alerting-jar/pom.xml
M alerting/pom.xml
M api/metrics-api-jaxrs/pom.xml
M api/metrics-api-util/pom.xml
M bus/pom.xml
M clients/common/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter-factory/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter/pom.xml
M clients/dropwizard/pom.xml
M clients/pom.xml
M clients/ptranslator/pom.xml
M containers/hawkular-openshift-security-filter/pom.xml
M containers/pom.xml
M core/configuration-service/pom.xml
M core/datetime-service/pom.xml
M core/metrics-core-service/pom.xml
M core/metrics-model/pom.xml
M core/rx-java-driver/pom.xml
M core/schema/pom.xml
M data-generator/pom.xml
M dist/component/component-ear/pom.xml
M dist/component/component-war/pom.xml
M dist/containers/hawkular-metrics-openshift-alerting/pom.xml
M dist/containers/hawkular-metrics-openshift-dist/pom.xml
M dist/containers/hawkular-metrics-openshift/pom.xml
M dist/pom.xml
M dist/standalone/standalone-ear/pom.xml
M dist/standalone/standalone-war/pom.xml
M dist/standalone/wildfly-standalone/pom.xml
M integration-tests/hawkular-server-tests/pom.xml
M integration-tests/jmh-benchmark/pom.xml
M integration-tests/load-tests/pom.xml
M integration-tests/metrics-api-jaxrs-test/pom.xml
M integration-tests/pom.xml
M integration-tests/rest-tests-jaxrs-dist/pom.xml
M integration-tests/rest-tests-jaxrs/pom.xml
M job-scheduler/pom.xml
M pom.xml
Log Message:
-----------
Merge pull request #958 from jsanda/0.28.4-release
Release 0.28.4
Compare: https://github.com/hawkular/hawkular-metrics/compare/9b238710bb49...f6c24...
5 years, 11 months
[hawkular/hawkular-metrics] c9ef72: Release 0.30.4
by John Sanda
Branch: refs/heads/release/0.30.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: c9ef722955f5b8895e9da8043b2f634f7586b08f
https://github.com/hawkular/hawkular-metrics/commit/c9ef722955f5b8895e9da...
Author: John Sanda <john.sanda(a)gmail.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/pom.xml
M api/metrics-api-util/pom.xml
M clients/common/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter-factory/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter/pom.xml
M clients/dropwizard/pom.xml
M clients/pom.xml
M clients/ptranslator/pom.xml
M containers/hawkular-openshift-security-filter/pom.xml
M containers/pom.xml
M core/configuration-service/pom.xml
M core/datetime-service/pom.xml
M core/metrics-core-service/pom.xml
M core/metrics-model/pom.xml
M core/rx-java-driver/pom.xml
M core/schema-installer/pom.xml
M core/schema/pom.xml
M data-generator/pom.xml
M dist/containers/hawkular-metrics-openshift/pom.xml
M dist/pom.xml
M integration-tests/jmh-benchmark/pom.xml
M integration-tests/load-tests/pom.xml
M integration-tests/metrics-api-jaxrs-test/pom.xml
M integration-tests/pom.xml
M integration-tests/rest-tests-jaxrs/pom.xml
M job-scheduler/pom.xml
M pom.xml
Log Message:
-----------
Release 0.30.4
5 years, 11 months
[hawkular/hawkular-metrics] 33883b: [HWKMETRICS-783] Schema installer should not use g...
by John Sanda
Branch: refs/heads/release/0.30.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 33883b6978c7dc29661cb2daf88238c3c98a6e81
https://github.com/hawkular/hawkular-metrics/commit/33883b6978c7dc29661cb...
Author: ruben.vargas <ruben.vp8510(a)gmail.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/SchemaVersionChecker.java
M core/configuration-service/src/test/java/org/hawkular/metrics/sysconfig/ConfigurationServiceTest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/BaseITest.java
M core/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java
M core/schema/src/main/java/org/hawkular/metrics/schema/SchemaService.java
M core/schema/src/main/resources/org/hawkular/schema/bootstrap.groovy
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobSchedulerTest.java
M pom.xml
Log Message:
-----------
[HWKMETRICS-783] Schema installer should not use git hash for schema version
Commit: c910d399dedec6878db328970225dacf64fbae29
https://github.com/hawkular/hawkular-metrics/commit/c910d399dedec6878db32...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/SchemaVersionChecker.java
M core/configuration-service/src/test/java/org/hawkular/metrics/sysconfig/ConfigurationServiceTest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/BaseITest.java
M core/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java
M core/schema/src/main/java/org/hawkular/metrics/schema/SchemaService.java
M core/schema/src/main/resources/org/hawkular/schema/bootstrap.groovy
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobSchedulerTest.java
M pom.xml
Log Message:
-----------
Merge pull request #957 from jsanda/hwkmetrics-783-0.30.0
[HWKMETRICS-783] release/0.30.0 branch
Compare: https://github.com/hawkular/hawkular-metrics/compare/d6c3357d1748...c910d...
5 years, 11 months
[hawkular/hawkular-metrics] c8b564: [HWKMETRICS-783] Schema installer should not use g...
by John Sanda
Branch: refs/heads/master
Home: https://github.com/hawkular/hawkular-metrics
Commit: c8b564a558e424a64cf42580b89257616bed3712
https://github.com/hawkular/hawkular-metrics/commit/c8b564a558e424a64cf42...
Author: ruben.vargas <ruben.vp8510(a)gmail.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/SchemaVersionChecker.java
M core/configuration-service/src/test/java/org/hawkular/metrics/sysconfig/ConfigurationServiceTest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/BaseITest.java
M core/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java
M core/schema/src/main/java/org/hawkular/metrics/schema/SchemaService.java
M core/schema/src/main/resources/org/hawkular/schema/bootstrap.groovy
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobSchedulerTest.java
M pom.xml
Log Message:
-----------
[HWKMETRICS-783] Schema installer should not use git hash for schema version
Commit: d6930e9209c5c9e5febee34fd24f2dd3e3ed4df7
https://github.com/hawkular/hawkular-metrics/commit/d6930e9209c5c9e5febee...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/SchemaVersionChecker.java
M core/configuration-service/src/test/java/org/hawkular/metrics/sysconfig/ConfigurationServiceTest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/BaseITest.java
M core/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java
M core/schema/src/main/java/org/hawkular/metrics/schema/SchemaService.java
M core/schema/src/main/resources/org/hawkular/schema/bootstrap.groovy
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobSchedulerTest.java
M pom.xml
Log Message:
-----------
Merge pull request #952 from rubenvp8510/HWKMETRICS-783
[HWKMETRICS-783] Schema installer should not use git hash for schema …
Compare: https://github.com/hawkular/hawkular-metrics/compare/7e21ae554b03...d6930...
5 years, 11 months
[hawkular/hawkular-metrics] 11bad7: HWKMETRICS-784 (#954)
by John Sanda
Branch: refs/heads/release/0.28.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 11bad7cb3b513f86cfe22b169e536cd49c6095db
https://github.com/hawkular/hawkular-metrics/commit/11bad7cb3b513f86cfe22...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/TempDataCompressor.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccess.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DataAccessITest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DelegatingDataAccess.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/TestDataAccessFactory.java
Log Message:
-----------
HWKMETRICS-784 (#954)
* compressBlock will check for all possible blocks to compress
* Take the input time from the job, fixes tests
Change the DataAccessITest to use a single version of time
* Add requested logging
* Refactor slightly.. add target subject error propagation
* flatMap -> concatMap
Commit: 9b238710bb492f31bd2d00f756cfadab993db892
https://github.com/hawkular/hawkular-metrics/commit/9b238710bb492f31bd2d0...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/TempDataCompressor.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccess.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DataAccessITest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DelegatingDataAccess.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/TestDataAccessFactory.java
Log Message:
-----------
Merge pull request #956 from jsanda/hwkmetrics-785
HWKMETRICS-785
Compare: https://github.com/hawkular/hawkular-metrics/compare/7afe1aea1c1b...9b238...
5 years, 11 months
[hawkular/hawkular-metrics] 0d0fe2: [HWKMETRICS-780] fix temp tables not getting dropp...
by John Sanda
Branch: refs/heads/release/0.28.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 0d0fe23626704d845d14e0f3b4ab1fbe6e219cbe
https://github.com/hawkular/hawkular-metrics/commit/0d0fe23626704d845d14e...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/JobsServiceImpl.java
A core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/TempTablesCleaner.java
R job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/RetryPolicy.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/Scheduler.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/SchedulerImpl.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/TestScheduler.java
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobExecutionTest.java
Log Message:
-----------
[HWKMETRICS-780] fix temp tables not getting dropped (#928)
* [HWKMETRICS-763] fix bug in scheduler error handling
I found the bug today which is in SchedulerImpl.java. At some point a while back
I added retry support for when jobs fails. You provide a RetryPolicy that
determines if and when a job should be retried. This was primarily intended for
non-repeating, single-execution jobs. For repeating jobs, i.e., the compression
job, the job is supposed to be executed according to its trigger. Suppose the
compression job is scheduled to run at 15:00 and repeats every two hours. If
the 15:00 execution fails, the scheduler is supposed to retry the job (for all
intensive purposes) immediately with the same trigger time of 15:00. When the
job completes normally, its trigger will get updated in the database to the
next execution time of 17:00. If it already later than 17:00, then the
scheduler will again execute the job right away.
There was a bug with the error handling such that the job wasn't getting
retried for the 15:00 execution. The trigger was getting advanced and set to
17:00. The temp table being compressed gets dropped at the end of the
compression job. Unless the failure was dropping the table, we end up with
orphaned temp tables any time the job fails.
This commit does away with the RetryPolicy since it is not used. This
means that when a job fails, regardless of whether or not it is
repeating, it will be retried with the same trigger until it completes
normally.
* [HWKMETRICS-763] add "local" job to check for expired temp tables
Due to the bug in SchedulerImpl.java which was fixed in my previous
commit, there are openshift clusters with literally hundreds of expired
temp tables. They are expired in the sense that they are older than the
data retention and therefore do not contain any live data.
This commit adds a "local" job that checks for and drops expired tables.
The job is local in the sense that it is local to the hawkular-metrics
server. It is not run via the job scheduler.
* [HWKMETRICS-763] use Observable.empty to get rid of filter call
Commit: 7afe1aea1c1b046e4e5dafa5c015491a6968025f
https://github.com/hawkular/hawkular-metrics/commit/7afe1aea1c1b046e4e5da...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/JobsServiceImpl.java
A core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/TempTablesCleaner.java
R job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/RetryPolicy.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/Scheduler.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/SchedulerImpl.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/TestScheduler.java
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobExecutionTest.java
Log Message:
-----------
Merge pull request #955 from jsanda/hwkmetrics-786
HWKMETRICS-786
Compare: https://github.com/hawkular/hawkular-metrics/compare/a92b2b12dd38...7afe1...
5 years, 11 months
[hawkular/hawkular-metrics] 5468d7: Release 0.29.1
by John Sanda
Branch: refs/heads/release/0.29.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 5468d78d9b642fbbceb20e2f2f1d4a88ee26de8f
https://github.com/hawkular/hawkular-metrics/commit/5468d78d9b642fbbceb20...
Author: John Sanda <john.sanda(a)gmail.com>
Date: 2018-04-20 (Fri, 20 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/pom.xml
M api/metrics-api-util/pom.xml
M clients/common/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter-factory/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter/pom.xml
M clients/dropwizard/pom.xml
M clients/pom.xml
M clients/ptranslator/pom.xml
M containers/hawkular-openshift-security-filter/pom.xml
M containers/pom.xml
M core/configuration-service/pom.xml
M core/datetime-service/pom.xml
M core/metrics-core-service/pom.xml
M core/metrics-model/pom.xml
M core/rx-java-driver/pom.xml
M core/schema/pom.xml
M data-generator/pom.xml
M dist/containers/hawkular-metrics-openshift/pom.xml
M dist/pom.xml
M integration-tests/jmh-benchmark/pom.xml
M integration-tests/load-tests/pom.xml
M integration-tests/metrics-api-jaxrs-test/pom.xml
M integration-tests/pom.xml
M integration-tests/rest-tests-jaxrs/pom.xml
M job-scheduler/pom.xml
M pom.xml
Log Message:
-----------
Release 0.29.1
5 years, 11 months
[hawkular/hawkular-metrics] 563c33: HWKMETRICS-784 (#954)
by John Sanda
Branch: refs/heads/release/0.29.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 563c336ff73b6f1872bd37d94b0859e39a6bd3c0
https://github.com/hawkular/hawkular-metrics/commit/563c336ff73b6f1872bd3...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-20 (Fri, 20 Apr 2018)
Changed paths:
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/TempDataCompressor.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccess.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DataAccessITest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DelegatingDataAccess.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/TestDataAccessFactory.java
Log Message:
-----------
HWKMETRICS-784 (#954)
* compressBlock will check for all possible blocks to compress
* Take the input time from the job, fixes tests
Change the DataAccessITest to use a single version of time
* Add requested logging
* Refactor slightly.. add target subject error propagation
* flatMap -> concatMap
5 years, 11 months
[hawkular/hawkular-metrics] 468955: [HWKMETRICS-780] fix temp tables not getting dropp...
by John Sanda
Branch: refs/heads/release/0.29.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 4689551c878e6ea83df78f2d813f6b26d7bb5d3e
https://github.com/hawkular/hawkular-metrics/commit/4689551c878e6ea83df78...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-20 (Fri, 20 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/JobsServiceImpl.java
A core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/TempTablesCleaner.java
R job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/RetryPolicy.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/Scheduler.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/SchedulerImpl.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/TestScheduler.java
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobExecutionTest.java
Log Message:
-----------
[HWKMETRICS-780] fix temp tables not getting dropped (#928)
* [HWKMETRICS-763] fix bug in scheduler error handling
I found the bug today which is in SchedulerImpl.java. At some point a while back
I added retry support for when jobs fails. You provide a RetryPolicy that
determines if and when a job should be retried. This was primarily intended for
non-repeating, single-execution jobs. For repeating jobs, i.e., the compression
job, the job is supposed to be executed according to its trigger. Suppose the
compression job is scheduled to run at 15:00 and repeats every two hours. If
the 15:00 execution fails, the scheduler is supposed to retry the job (for all
intensive purposes) immediately with the same trigger time of 15:00. When the
job completes normally, its trigger will get updated in the database to the
next execution time of 17:00. If it already later than 17:00, then the
scheduler will again execute the job right away.
There was a bug with the error handling such that the job wasn't getting
retried for the 15:00 execution. The trigger was getting advanced and set to
17:00. The temp table being compressed gets dropped at the end of the
compression job. Unless the failure was dropping the table, we end up with
orphaned temp tables any time the job fails.
This commit does away with the RetryPolicy since it is not used. This
means that when a job fails, regardless of whether or not it is
repeating, it will be retried with the same trigger until it completes
normally.
* [HWKMETRICS-763] add "local" job to check for expired temp tables
Due to the bug in SchedulerImpl.java which was fixed in my previous
commit, there are openshift clusters with literally hundreds of expired
temp tables. They are expired in the sense that they are older than the
data retention and therefore do not contain any live data.
This commit adds a "local" job that checks for and drops expired tables.
The job is local in the sense that it is local to the hawkular-metrics
server. It is not run via the job scheduler.
* [HWKMETRICS-763] use Observable.empty to get rid of filter call
Commit: ea834ea2f13b787b0910e4a05db74a28fefe4cc4
https://github.com/hawkular/hawkular-metrics/commit/ea834ea2f13b787b0910e...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-04-20 (Fri, 20 Apr 2018)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/JobsServiceImpl.java
A core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/TempTablesCleaner.java
R job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/RetryPolicy.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/api/Scheduler.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/SchedulerImpl.java
M job-scheduler/src/main/java/org/hawkular/metrics/scheduler/impl/TestScheduler.java
M job-scheduler/src/test/java/org/hawkular/metrics/scheduler/impl/JobExecutionTest.java
Log Message:
-----------
Merge pull request #953 from jsanda/hwkmetrics-780
HWKMETRICS-780
Compare: https://github.com/hawkular/hawkular-metrics/compare/087de7e996cf...ea834...
5 years, 11 months
[hawkular/hawkular-metrics] 8621d6: Release 0.27.7
by John Sanda
Branch: refs/heads/release/0.27.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 8621d6653f1c92ec1642650d981ff5b6772746b2
https://github.com/hawkular/hawkular-metrics/commit/8621d6653f1c92ec16426...
Author: John Sanda <john.sanda(a)gmail.com>
Date: 2018-04-20 (Fri, 20 Apr 2018)
Changed paths:
M alerting/alerter-war/pom.xml
M alerting/alerting-jar/pom.xml
M alerting/pom.xml
M api/metrics-api-jaxrs/pom.xml
M api/metrics-api-util/pom.xml
M bus/pom.xml
M clients/common/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter-factory/pom.xml
M clients/dropwizard/hawkular-dropwizard-reporter/pom.xml
M clients/dropwizard/pom.xml
M clients/pom.xml
M clients/ptranslator/pom.xml
M containers/hawkular-openshift-security-filter/pom.xml
M containers/pom.xml
M core/configuration-service/pom.xml
M core/datetime-service/pom.xml
M core/metrics-core-service/pom.xml
M core/metrics-model/pom.xml
M core/rx-java-driver/pom.xml
M core/schema/pom.xml
M data-generator/pom.xml
M dist/component/component-ear/pom.xml
M dist/component/component-war/pom.xml
M dist/containers/hawkular-metrics-openshift-alerting/pom.xml
M dist/containers/hawkular-metrics-openshift-dist/pom.xml
M dist/containers/hawkular-metrics-openshift/pom.xml
M dist/pom.xml
M dist/standalone/standalone-ear/pom.xml
M dist/standalone/standalone-war/pom.xml
M dist/standalone/wildfly-standalone/pom.xml
M integration-tests/jmh-benchmark/pom.xml
M integration-tests/load-tests/pom.xml
M integration-tests/metrics-api-jaxrs-test/pom.xml
M integration-tests/pom.xml
M integration-tests/rest-tests-jaxrs-dist/pom.xml
M integration-tests/rest-tests-jaxrs/pom.xml
M job-scheduler/pom.xml
M pom.xml
Log Message:
-----------
Release 0.27.7
5 years, 11 months