public interface UpgradeCatalog
| Modifier and Type | Method and Description |
|---|---|
String |
getSourceVersion()
Return latest source version that can be upgraded from.
|
String |
getTargetVersion()
Return the version that will be upgraded to
|
void |
upgradeData()
perform data updates as necessary, requires started persist service
|
void |
upgradeSchema()
Run the upgrade scripts for upgrading ambari server from current version
to the new version.
|
void upgradeSchema()
throws AmbariException,
SQLException
AmbariExceptionSQLExceptionvoid upgradeData()
throws AmbariException,
SQLException
AmbariExceptionSQLExceptionString getTargetVersion()
String getSourceVersion()
Copyright © 2016. All rights reserved.