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
AmbariException
SQLException
void upgradeData() throws AmbariException, SQLException
AmbariException
SQLException
String getTargetVersion()
String getSourceVersion()
Copyright © 2017. All rights reserved.