ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19677) Storm service check failed after HOU to HDP-2.5.3 due to CNF for StormAtlasHook
Date Mon, 23 Jan 2017 15:03:26 GMT

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

Jonathan Hurley updated AMBARI-19677:
-------------------------------------
    Status: Patch Available  (was: Open)

> Storm service check failed after HOU to HDP-2.5.3 due to CNF for StormAtlasHook
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-19677
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19677
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19677.patch
>
>
> The {{extlib}} directory of Storm, which is managed by Ambari WRT things like Atlas hook
JARs, must be updated during an upgrade to point to the correct versions of the JAR files.
> *STR*
> # Deploy HDP-2.5.0.0 cluster with Ambari-2.5.0.0 (2.5.0.0-694) - secure cluster via Blueprint
> # Perform HOU to 2.5.3.0 and let it complete
> # Run Storm service check
> *Result*
> {code}
> 5821 [main] INFO  o.a.s.m.n.Login - successfully logged in.
> 5860 [main] INFO  o.a.s.StormSubmitter - Submitting topology WordCountid16ac3271_date242017
in distributed mode with conf {"storm.zookeeper.topology.auth.scheme":"digest","storm.zookeeper.topology.auth.payload":"-6656042462002862896:-8423155374846281190","topology.workers":3,"topology.debug":true}
> 6169 [main] INFO  o.a.s.StormSubmitter - Finished submitting topology: WordCountid16ac3271_date242017
> 6170 [main] INFO  o.a.s.StormSubmitter - Initializing the registered ISubmitterHook [org.apache.atlas.storm.hook.StormAtlasHook]
> 6170 [main] WARN  o.a.s.StormSubmitter - Error occurred in invoking submitter hook:[org.apache.atlas.storm.hook.StormAtlasHook]

> java.lang.ClassNotFoundException: org.apache.atlas.storm.hook.StormAtlasHook
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_112]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_112]
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_112]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_112]
> 	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_112]
> 	at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_112]
> 	at org.apache.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:281) [storm-core-1.0.1.2.5.3.0-38.jar:1.0.1.2.5.3.0-38]
> 	at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:257) [storm-core-1.0.1.2.5.3.0-38.jar:1.0.1.2.5.3.0-38]
> 	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:310) [storm-core-1.0.1.2.5.3.0-38.jar:1.0.1.2.5.3.0-38]
> 	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:157) [storm-core-1.0.1.2.5.3.0-38.jar:1.0.1.2.5.3.0-38]
> 	at storm.starter.WordCountTopology.main(WordCountTopology.java:77) [d5b85192dee911e6b1d9fa163e04609b.jar:?]
> Exception in thread "main" org.apache.storm.hooks.SubmitterHookException: java.lang.ClassNotFoundException:
org.apache.atlas.storm.hook.StormAtlasHook
> 	at org.apache.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:288)
> 	at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:257)
> 	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:310)
> 	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:157)
> 	at storm.starter.WordCountTopology.main(WordCountTopology.java:77)
> Caused by: java.lang.ClassNotFoundException: org.apache.atlas.storm.hook.StormAtlasHook
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:264)
> 	at org.apache.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:281)
> 	... 4 more
> Command failed after 1 tries
> {code}
> Probably caused as the symlink for 2.5.3.0 still point to 2.5.0.0 as below:
> {code}
> [root@r6-mams-ambari-re2-7 storm]# ls -lahrt  /usr/hdp/2.5.0.0-1245/storm/extlib/
> total 16K
> drwxr-xr-x. 12 root root 4.0K Jan 20 04:51 ..
> lrwxrwxrwx.  1 root root   81 Jan 20 05:14 storm-bridge-shim-0.7.0.2.5.0.0-1245.jar ->
/usr/hdp/current/atlas-server/hook/storm/storm-bridge-shim-0.7.0.2.5.0.0-1245.jar
> lrwxrwxrwx.  1 root root   88 Jan 20 05:14 atlas-plugin-classloader-0.7.0.2.5.0.0-1245.jar
-> /usr/hdp/current/atlas-server/hook/storm/atlas-plugin-classloader-0.7.0.2.5.0.0-1245.jar
> drwxr-xr-x.  2 root root 4.0K Jan 20 05:14 .
> [root@r6-mams-ambari-re2-7 storm]# ls -lahrt  /usr/hdp/2.5.3.0-38/storm/extlib/
> total 16K
> drwxr-xr-x. 12 root root 4.0K Jan 20 06:03 ..
> lrwxrwxrwx.  1 root root   81 Jan 20 07:08 storm-bridge-shim-0.7.0.2.5.0.0-1245.jar ->
/usr/hdp/current/atlas-server/hook/storm/storm-bridge-shim-0.7.0.2.5.0.0-1245.jar
> lrwxrwxrwx.  1 root root   88 Jan 20 07:08 atlas-plugin-classloader-0.7.0.2.5.0.0-1245.jar
-> /usr/hdp/current/atlas-server/hook/storm/atlas-plugin-classloader-0.7.0.2.5.0.0-1245.jar
> drwxr-xr-x.  2 root root 4.0K Jan 20 07:08 .
> {code}



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

Mime
View raw message