[ 
https://issues.apache.org/jira/browse/AMBARI-14670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley resolved AMBARI-14670.
--------------------------------------
    Resolution: Fixed

> Express Upgrade failed during restart of STORM components
> ---------------------------------------------------------
>
>                 Key: AMBARI-14670
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14670
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.1
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14670.patch
>
>
> When upgrading HDP 2.2 to 2.4, the configurations for the 2.3 stack are not 
> applied.
> Caused by:
> {code}
> cat /grid/0/log/storm/storm.out
> Exception in thread "main" java.lang.ExceptionInInitializerError
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:270)
>       at clojure.lang.RT.loadClassForName(RT.java:2093)
>       at clojure.lang.RT.load(RT.java:430)
>       at clojure.lang.RT.load(RT.java:411)
>       at clojure.core$load$fn__5066.invoke(core.clj:5641)
>       at clojure.core$load.doInvoke(core.clj:5640)
>       at clojure.lang.RestFn.invoke(RestFn.java:408)
>       at clojure.lang.Var.invoke(Var.java:379)
>       at backtype.storm.ui.core.<clinit>(Unknown Source)
> Caused by: java.lang.IllegalArgumentException: Field nimbus.seeds must be an 
> Iterable but was a class java.lang.String
>       at 
> backtype.storm.ConfigValidation$2.validateField(ConfigValidation.java:113)
>       at 
> backtype.storm.ConfigValidation$NestableFieldValidator.validateField(ConfigValidation.java:47)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
>       at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
>       at 
> backtype.storm.config$validate_configs_with_schemas.invoke(config.clj:118)
>       at backtype.storm.config$read_storm_config.invoke(config.clj:123)
>       at backtype.storm.ui.core__init.load(Unknown Source)
>       at backtype.storm.ui.core__init.<clinit>(Unknown Source)
>       ... 10 more
> {code}
> It appears as though {{nimbus.host}} was never converted to {{nimbus.seeds}} 
> even though it's defined in the upgrade pack:
> {code}
> <execute-stage service="STORM" component="NIMBUS" title="Apply config changes 
> for Nimbus">
>     <task xsi:type="configure" 
> id="hdp_2_3_0_0_nimbus_convert_nimbus_host_to_seeds"/>
> </execute-stage>
> {code}
> {code:title=HDP 2.2 storm-site}
> "nimbus.host": "os-s11-3-hifgts-c10tom21unsecha-5.novalocal",
> {code}
> {code:title=HDP 2.4 storm-site}
> "nimbus.host": "os-s11-3-hifgts-c10tom21unsecha-5.novalocal",
> "nimbus.seeds": "localhost",
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to