You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/14 20:03:00 UTC

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

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

ASF subversion and git services commented on SLIDER-787:
--------------------------------------------------------

Commit 3ee3d1ea373c79becfe29f3c8ac7220284c3439f in incubator-slider's branch refs/heads/develop from [~gsaha]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=3ee3d1e ]

SLIDER-787 App Upgrade/Reconfig support in Slider (comment tricky assert)


> 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
>
>         Attachments: SliderRollingUpgradeDowngrade.pdf
>
>
> *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)