[ https://issues.apache.org/jira/browse/EAGLE-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865527#comment-15865527 ]
Hao Chen commented on EAGLE-892: -------------------------------- [~r7raul] please update JIRA columns like: 1) Affects Version/s 2) Component/s > MRRunningJobFetchSpout throws NPE when there is no apps found > ------------------------------------------------------------- > > Key: EAGLE-892 > URL: https://issues.apache.org/jira/browse/EAGLE-892 > Project: Eagle > Issue Type: Bug > Reporter: Jayesh > Assignee: Jayesh > Priority: Minor > > MR running app has following exception when there is no app returned by RM. > {code} > 2017-02-10 17:53:33.880 o.a.e.j.u.r.RMResourceFetcher [INFO] Going to call > yarn api to fetch running application list: > http://localhost:8088/ws/v1/cluster/apps?applicationTypes=MAPREDUCE&state=RUNNING&anonymous=true > 2017-02-10 17:53:33.887 STDIO [ERROR] java.lang.NullPointerException > 2017-02-10 17:53:33.888 STDIO [ERROR] at > org.apache.eagle.jpm.mr.running.storm.MRRunningJobFetchSpout.nextTuple(MRRunningJobFetchSpout.java:90) > 2017-02-10 17:53:33.888 STDIO [ERROR] at > backtype.storm.daemon.executor$fn__5624$fn__5639$fn__5670.invoke(executor.clj:607) > 2017-02-10 17:53:33.889 STDIO [ERROR] at > backtype.storm.util$async_loop$fn__545.invoke(util.clj:479) > 2017-02-10 17:53:33.889 STDIO [ERROR] at clojure.lang.AFn.run(AFn.java:22) > 2017-02-10 17:53:33.889 STDIO [ERROR] at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)