- 26 Jun, 2020 2 commits
-
-
Fabien Viale authored
Fix bad mistake in housekeeping
-
Fabien Viale authored
Conversion from long to integer implied to set SCHEDULER_REMOVED_JOB_DELAY = 0 when the configured value is bigger than 24 days (due to MAX_INTEGER reached). Use now the appropriate getValueAsLong() method.
-
- 24 Jun, 2020 1 commit
-
-
TAO Xinxiu (Isabelle) authored
-
- 20 Jun, 2020 4 commits
-
-
Fabien Viale authored
Generic Info REMOVE_DELAY : change format
-
Fabien Viale authored
- use Tools.parsePeriod instead of Tools.formatDate for a more comprehensive duration format
-
Fabien Viale authored
Generic Info REMOVE_DELAY to remove a job after a configurable time
-
Fabien Viale authored
- Add functional test for housekeeping - Also, fix issue with ServerJobAndTaskLogs while removing precious logs (access to SchedulerSpacesSupport from a non-active object context). Fix minor issues appearing in the code
-
- 19 Jun, 2020 1 commit
-
-
Fabien Viale authored
Optimize JobData and TaskData queries
-
- 18 Jun, 2020 3 commits
-
-
Fabien Viale authored
- discontinue support of pa.scheduler.job.removeFromDataBase=false, which implied executing joined tables queries constantly (decreases performance and disallow some indexing) - add 3 indexes in JobData (submit_time, scheduled_time_for_removal, and job_id_status : composite index used to optimize scheduler portal default list jobs query) - getTaskCounts : avoid joined table query by considering only task statuses. - getFinishedTaskCount : fix incomplete list of finished task statuses - getPendingTaskCount : add in-error status (similar to pause) - adapt db tests - add owner column in TaskData to avoid join - initialize TaskData.owner using JobData.owner when recovering an existing database - TaskData : replace task.jobData.id by task.id.jobId to avoid implicit cross join - TaskDBUtils : supress removeTime usage and replace jobData.owner by taskData.owner - BaseServiceTest : add SQL debug info - MockSchedulingInfrastructure : print unexpected exceptions
-
medou-boushab authored
Handle the case where the value of a resultMap entry is null
-
medou-boushab authored
-
- 17 Jun, 2020 3 commits
-
-
Fabien Viale authored
ZipUtils: do not perform compression in memory
-
Fabien Viale authored
Current implementation was performing compression using a ByteArrayOutputStream in memory. Problem: When the amount of data to compress is big, this clearly exhaust the memory usage. Solution : perform compression directly inside the zip file destination.
-
Fabien Viale authored
synchronize fork
-
- 15 Jun, 2020 2 commits
-
-
Fabien Viale authored
MemoryLeak: do not keep finished jobs state in memory
-
Fabien Viale authored
- SchedulerStateImpl : use a maximum size for finished jobs. As test is using the getState method a lot, it is necessary to keep some retro-compatibility. The default number of jobs kept in SchedulerStateImpl is 1000, but can be configured through a JVM property. - SchedulerFrontendState : delete job from jobsMap when the job is finished.
-
- 11 Jun, 2020 2 commits
-
-
Fabien Viale authored
Make FileAppender pattern configurable
-
Fabien Viale authored
Add a new rm property which allows to define a conversion pattern for all FileAppenders (job/task server logs)
-
- 10 Jun, 2020 2 commits
-
-
Fabien Viale authored
Add poolName for hikari pools
-
Fabien Viale authored
-
- 08 Jun, 2020 1 commit
-
-
TAO Xinxiu (Isabelle) authored
-
- 05 Jun, 2020 3 commits
-
-
Fabien Viale authored
Fix NodeRecovery eligible status
-
TAO Xinxiu (Isabelle) authored
-
Fabien Viale authored
- use of setEligibleNodesToRecover in NodesRecoveryManager means that if several node sources are present, the set of eligible nodes is overwritten. - replaced by a list add method - additionnally, in proactive-scheduler service definition fix the node name parameter.
-
- 03 Jun, 2020 2 commits
-
-
Fabien Viale authored
Remove and comment recursive algorithm in InternalJob
-
Fabien Viale authored
Replaced by a simple iterative search After analysis of the code, it tries to find an InternalTask based on its name, but to do so, it does a complex potentially exponential recursive algorithm. This code hanged a task termination on a workflow containing a loop which had around 1400 tasks. For now I comment the previous code to keep its track.
-
- 27 May, 2020 3 commits
-
-
Fabien Viale authored
Stop the scheduler only in case of jython deadlocks
-
Fabien Viale authored
It has been observed recently that shutdown of the scheduler server occurs in case of server lag, not due to python deadlocks. The goal of this change is to trigger a shutdown only when the cause is due to jython and not something else.
-
Fabien Viale authored
synchronize fork
-
- 20 May, 2020 3 commits
-
-
activeeon-bot authored
-
Fabien Viale authored
Remove empty lines from job logs full
-
Fabien Viale authored
Empty lines was created by log4j messages already containing end of lines characters. This fix makes sure that each log message terminates with a single end-of-line (in Log4JTaskLogs, thanks to StringUtils.stripEnd). It also makes sure that no blank lines are added between individual task logs (changes in SchedulerStateRest).
-
- 19 May, 2020 5 commits
-
-
Fabien Viale authored
Change content-type produced by log outputs
-
Fabien Viale authored
- log outputs are in general not valid json as it simply returns the contents of the log as plain text - json is returned only in case of errors (wrong job id for example) - plain text as application/json cannot be forcefully parsed by angular/js. So in order to use these requests from angular, it is necessary to advertise them as text/plain - did not modify the live logs output (for now)
-
Fabien Viale authored
Add api links to ProActive frontpage
-
Fabien Viale authored
-
Fabien Viale authored
synchronize fork
-
- 17 May, 2020 2 commits
-
-
Nebil Ben Mabrouk authored
* update welcome page * remove assets * add all resources * remove useless files * remove additional slash
-
Fabien Viale authored
Fix dataspace warnings in task logs
-
- 16 May, 2020 1 commit
-
-
Fabien Viale authored
Warnings or errors when transferring files using dataspaces used to appear in task logs but these logs disappeared (regression). This commit fixes the issue. Addressed reviews
-