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

niranda perera commented on SPARK-1830:
---------------------------------------

I'm trying to implement a custom persistence engine and a leader agent in the 
Java environment. 

vis-a-vis scala, when I implement the PersistenceEngine trait in java, I would 
have to implement methods such as readPersistedData, removeDriver, etc together 
with read, persist and unpersist methods. 
but the issue here is, methods such as readPersistedData etc are 'final def's, 
hence can not be overridden in the java environment. 

I am new to scala, but is there any workaround to implement the above traits in 
java? 

look forward to hear from you. 

> Deploy failover, Make Persistence engine and LeaderAgent Pluggable.
> -------------------------------------------------------------------
>
>                 Key: SPARK-1830
>                 URL: https://issues.apache.org/jira/browse/SPARK-1830
>             Project: Spark
>          Issue Type: New Feature
>          Components: Deploy
>            Reporter: Prashant Sharma
>            Assignee: Prashant Sharma
>             Fix For: 1.3.0
>
>
> With current code base it is difficult to plugin an external user specified 
> "Persistence Engine" or "Election Agent". It would be good to expose this as 
> a pluggable API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to