You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2016/06/23 07:22:16 UTC

[jira] [Commented] (STORM-1925) Nimbus fails to start in secure mode

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

Jungtaek Lim commented on STORM-1925:
-------------------------------------

Harsha pointed out I'm calling Nimbus thrift API inside of Nimbus. 
I guess common logic can be extracted as function and both of reified INimbus and send_cluster_metrics_to_executors can call that.

> Nimbus fails to start in secure mode 
> -------------------------------------
>
>                 Key: STORM-1925
>                 URL: https://issues.apache.org/jira/browse/STORM-1925
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 2.0.0, 1.1.0
>            Reporter: Sriharsha Chintalapani
>            Assignee: Jungtaek Lim
>            Priority: Critical
>
> We are noticing a failure in secure cluster as nimbus failed to start
> 2016-06-23 06:43:48.874 o.a.s.d.nimbus [ERROR] Error when processing event
> java.lang.NullPointerException
> 	at org.apache.storm.security.auth.authorizer.SimpleACLAuthorizer.permit(SimpleACLAuthorizer.java:114)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
> 	at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
> 	at org.apache.storm.daemon.nimbus$check_authorization_BANG_.invoke(nimbus.clj:1047)
> 	at org.apache.storm.daemon.nimbus$check_authorization_BANG_.invoke(nimbus.clj:1051)
> 	at org.apache.storm.daemon.nimbus$mk_reified_nimbus$reify__11183.getClusterInfo(nimbus.clj:1772)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
> 	at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:313)
> 	at org.apache.storm.daemon.nimbus$send_cluster_metrics_to_executors.invoke(nimbus.clj:1393)
> 	at org.apache.storm.daemon.nimbus$fn__11394$exec_fn__3529__auto____11395$fn__11421.invoke(nimbus.clj:2254)
> 	at org.apache.storm.timer$schedule_recurring$this__2156.invoke(timer.clj:105)
> 	at org.apache.storm.timer$mk_timer$fn__2139$fn__2140.invoke(timer.clj:50)
> 	at org.apache.storm.timer$mk_timer$fn__2139.invoke(timer.clj:42)
> 	at clojure.lang.AFn.run(AFn.java:22)
> 	at java.lang.Thread.run(Thread.java:745)
> 2016-06-23 06:43:48.877 o.a.s.util [ERROR] Halting process: ("Error when processing an event")
> java.lang.RuntimeException: ("Error when processing an event")
> 	at org.apache.storm.util$exit_process_BANG_.doInvoke(util.clj:341)
> 	at clojure.lang.RestFn.invoke(RestFn.java:423)
> 	at org.apache.storm.daemon.nimbus$nimbus_data$fn__10332.invoke(nimbus.clj:205)
> 	at org.apache.storm.timer$mk_timer$fn__2139$fn__2140.invoke(timer.clj:71)
> 	at org.apache.storm.timer$mk_timer$fn__2139.invoke(timer.clj:42)
> 	at clojure.lang.AFn.run(AFn.java:22)
> 	at java.lang.Thread.run(Thread.java:745)



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