ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14670) Express Upgrade failed during restart of STORM components
Date Thu, 14 Jan 2016 22:37:40 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15099046#comment-15099046
] 

Hudson commented on AMBARI-14670:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4175 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4175/])
AMBARI-14670 - Express Upgrade failed during restart of STORM components (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7d07b6bac86e67b24d471083ad2fafa9b2554940])
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.4.xml
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/Task.java
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/UpgradePack.java
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ConfigureTask.java
* ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java


> 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)

Mime
View raw message