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

ASF GitHub Bot commented on METRON-1614:
----------------------------------------

Github user cestella commented on a diff in the pull request:

    https://github.com/apache/metron/pull/1108#discussion_r203045196
  
    --- Diff: 
metron-platform/metron-job/src/main/java/org/apache/metron/job/Statusable.java 
---
    @@ -18,20 +18,45 @@
     
     package org.apache.metron.job;
     
    -import java.io.IOException;
     import java.util.Map;
     
     /**
      * Abstraction for getting status on running jobs. Also provides options 
for killing and validating.
      */
    -public interface Statusable {
    +public interface Statusable<PAGE_T> {
    +
    +  enum JobType {
    +    MAP_REDUCE,
    +    SPARK;
    --- End diff --
    
    No, just `SPARK`.  The enum is spot on.


> Create job status abstraction
> -----------------------------
>
>                 Key: METRON-1614
>                 URL: https://issues.apache.org/jira/browse/METRON-1614
>             Project: Metron
>          Issue Type: Sub-task
>            Reporter: Ryan Merriman
>            Assignee: Michael Miklavcic
>            Priority: Major
>
> It is possible to use different job engines such as MR or Spark. There should 
> be an abstraction that allows us to track status independent of the 
> underlying job engine. Initially we will use YARN/MR to run pcap query jobs. 
> We will also need a way to persist this information.
> Pcap job submission should be asynchronous. Some kind of id should be 
> returned upon successful job submission rather than blocking and waiting on 
> the job to complete.



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

Reply via email to