[ 
https://issues.apache.org/jira/browse/AMBARI-24731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647595#comment-16647595
 ] 

Hudson commented on AMBARI-24731:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-Infra-master-Commit #6 (See 
[https://builds.apache.org/job/Ambari-Infra-master-Commit/6/])
AMBARI-24731 - Infra Manager: scheduled cleanup of old jobs (#4) (github: 
[https://gitbox.apache.org/repos/asf?p=ambari-infra.git&a=commit&h=3e941c5e3442ef7a5c7cbdc61b987e4654224827])
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/SolrQueryBuilder.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/JobsPropertyMap.java
* (edit) .gitignore
* (add) 
ambari-infra-manager-it/src/test/java/org/apache/ambari/infra/S3Client.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/conf/DurationConverter.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/cleanup/CleanUpParameters.java
* (edit) ambari-infra-manager/docker/infra-manager-docker-compose.sh
* (edit) ambari-infra-manager-it/pom.xml
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/cleanup/CleanUpConfiguration.java
* (edit) ambari-infra-manager/src/main/resources/infra-manager.properties
* (edit) 
ambari-infra-manager/src/test/java/org/apache/ambari/infra/job/archive/SolrPropertiesTest.java
* (edit) pom.xml
* (edit) ambari-infra-manager/docker/docker-compose.yml
* (edit) 
ambari-infra-manager-it/src/test/java/org/apache/ambari/infra/steps/ExportJobsSteps.java
* (edit) 
ambari-infra-manager-it/src/test/java/org/apache/ambari/infra/steps/AbstractInfraSteps.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/SolrProperties.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/ArchivingParameters.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/DocumentArchivingConfiguration.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/cleanup/TaskHistoryWiper.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/deleting/DocumentWiperTasklet.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/JobProperties.java
* (add) 
ambari-infra-manager/src/test/java/org/apache/ambari/infra/env/TestAppConfig.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/JobScheduler.java
* (edit) ambari-infra-manager-it/src/test/java/org/apache/ambari/infra/Solr.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/SolrDAO.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/SolrParameters.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/SchedulingProperties.java
* (add) 
ambari-infra-manager/src/test/java/org/apache/ambari/infra/job/InfraJobExecutionDAOIT.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/S3Uploader.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/deleting/DocumentDeletingConfiguration.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/json/StringToDurationConverter.java
* (delete) 
ambari-infra-manager/src/test/java/org/apache/ambari/infra/job/JobPropertiesTest.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/Validatable.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/deleting/DocumentDeletingProperties.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/DocumentArchivingProperties.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/deleting/DeletingParameters.java
* (edit) 
ambari-infra-manager-it/src/test/resources/stories/infra_api_tests.story
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/InfraJobExecutionDao.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/cleanup/CleanUpProperties.java
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/JobPropertiesHolder.java
* (edit) ambari-infra-manager/.gitignore
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/FileNameSuffixFormatter.java
* (edit) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/AbstractJobsConfiguration.java
* (edit) 
ambari-infra-manager/src/test/java/org/apache/ambari/infra/job/archive/SolrQueryBuilderTest.java
* (edit) ambari-infra-solr-plugin/pom.xml
* (edit) ambari-infra-manager/pom.xml
* (add) 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/json/DurationToStringConverter.java


> Infra Manager: scheduled cleanup of old jobs
> --------------------------------------------
>
>                 Key: AMBARI-24731
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24731
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-infra
>    Affects Versions: 2.8.0
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to