You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2015/02/28 03:12:04 UTC

[jira] [Updated] (SLIDER-787) App Upgrade/Reconfig support in Slider

     [ https://issues.apache.org/jira/browse/SLIDER-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gour Saha updated SLIDER-787:
-----------------------------
    Fix Version/s: Slider 0.80

> App Upgrade/Reconfig support in Slider
> --------------------------------------
>
>                 Key: SLIDER-787
>                 URL: https://issues.apache.org/jira/browse/SLIDER-787
>             Project: Slider
>          Issue Type: New Feature
>          Components: app-package, appmaster
>    Affects Versions: Slider 0.61
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>             Fix For: Slider 0.80
>
>
> *Terminologies:*
> Here "App" means the application that is deployed by Slider e.g. HBase, Storm, Accumulo, Memcached, etc.
> *Use-case:*
> - YARN/HDFS/Zookeeper Upgrade 
> - YARN/HDFS/Zookeeper reconfiguration
> - Slider Upgrade
> - App Upgrade
> - App Reconfiguration
> *YARN/HDFS Upgrade:*
> Upgrade of YARN/HDFS underlying infra, libraries, etc.
> *YARN/HDFS reconfiguration:*
> Reconfiguration of infrastructure components which Slider relies on.
> *Slider Upgrade:*
> Today you can do it by stopping the application and use the new version of the Slider to start the application.
> *Slider Upgrade translates to the upgrade of:*
> - Slider AppMaster
> - Slider Client
> - Slider Agent
> *App Upgrade*
> - Support manual upgrade of Slider application
> - Provide individual component specific upgrade [ Nice to Have ] 
> - Need to allow rollback
> *Steps to upgrade:*
> - Stop app
> - slider set-app-package app --package <new package> 
> - Start app
> *Rollback:*
> - Stop app
> - slider set-app-package app --package <old package> 
> - Start app
> New component instances should be tried at best to be created in same host and port [ strong preference ] including AM. This task should be possible through CLI and new REST API.
> *Rolling upgrade:*
> - Slider CLI will not provide component upgrade ordering and start/stop - needs to be orchestrated by external scripts
> *App Reconfiguration*
> - Allow updating application configurations (appConfig.json or resources.json)
> - Allow rolling restart of all containers to have the new configuration take effect
>  
> *Slider needs to implement*
> - Need specific container stop/start ability
> - Need upgrade package functionality [ required for in-place upgrade too ]
> - Need update capability for configuration
> - Component and AM host port to be preserved in best-effort
> *Backward Compatibility*
> - New apps "may" have new configuration based on new packaging. So upgrade needs to take care of that.
> - Reconfiguration will NOT require to support new style of configuration metadata.



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