Author: gourksaha
Date: Wed Jun 10 19:56:32 2015
New Revision: 1684756
URL: http://svn.apache.org/r1684756
Log:
introduce app_version for v2.0 as well
Modified:
incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md
Modified:
incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md
URL:
http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md?rev=1684756&r1=1684755&r2=1684756&view=diff
==============================================================================
---
incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md
(original)
+++
incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md
Wed Jun 10 19:56:32 2015
@@ -77,7 +77,7 @@ Create an application *MyHBase_Facebook_
slider create MyHBase_Facebook_Finance --template
~/myHBase_appConfig_v1.0.json --resources ~/myHBase_resources_v1.0.json
-Note, that myHBase_appConfig_v1.0.json should have an app_version property,
which is newly exposed for upgrade support -
+Note, that *myHBase_appConfig_v1.0.json* should have an `app_version`
property, which is newly exposed for upgrade support -
"site.global.app_version": "1.0",
@@ -110,6 +110,10 @@ flex command until all containers are up
slider upgrade MyHBase_Facebook_Finance --template
~/myHBase_appConfig_v2.0.json --resources ~/myHBase_resources_v2.0.json
+Note, that *myHBase_appConfig_v2.0.json* should have an `app_version`
property, similar to what the v1.0 of app config had -
+
+ "site.global.app_version": "2.0",
+
At this point the upgrade orchestrator (Ambari or a script) will rely on the
slider `list` command with
`--containers` option (with additional filter options `--components` and/or
`--version`) to find all
the containers that are running for the application. The orchestrator needs to
decide how it wants to