public class StackUpgradeHelper extends Object
| Constructor and Description |
|---|
StackUpgradeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Support changes need to support upgrade of Stack
|
void |
updateStackVersion(Map<String,String> stackInfo)
Change the stack id in the Ambari DB.
|
public void updateStackVersion(Map<String,String> stackInfo) throws Exception
stackInfo - SQLExceptionExceptionpublic static void main(String[] args)
args - Simple key value json mapCopyright © 2016. All rights reserved.