batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-20) extend the PersistenceManagerService to support multiple Batch job repository locations
Date Sun, 30 Mar 2014 08:37:14 GMT

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

Romain Manni-Bucau commented on BATCHEE-20:
-------------------------------------------

If we add a parameter to map on classloader isolation I'd keep a particular case (null?) to
be able to see all batches which stay an important need if you want an aggregated view of
batches.

> extend the PersistenceManagerService to support multiple Batch job repository locations
> ---------------------------------------------------------------------------------------
>
>                 Key: BATCHEE-20
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-20
>             Project: BatchEE
>          Issue Type: Bug
>            Reporter: Mark Struberg
>
> Currently our JPA and JDBC PersistenceManagerServices return the state of ALL Jobs which
are held in the Database. 
> But if I have my batches split up in multiple WARs or standalone baches, then I can only
_read_ the batch information, but _not_ start them, set parameters, etc.
> This means we need some 'partitioning'. The Job in the DB needs to know in which 'binary'
it is installed in. The GUI can then start/tweak/parameterize the _own_ batches, but can only
_read_ the 'other' batches.
> The reason is that the JobOperator from e.g. one WAR simply cannot see the Batch classes
(ItemReader, etc) from the other WAR files due to the ClassLoader isolation.
> To work around this we might (later) extend our DB to contain a binary-control information.
E.g. the URL or the binary executable path of the (web) app of each job.
> But again, this means that EACH batch-war needs the batchee-servlet as JAR dependency.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message