You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eagle.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/14 01:53:42 UTC

[jira] [Commented] (EAGLE-892) MRRunningJobFetchSpout throws NPE when there is no apps found

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

ASF GitHub Bot commented on EAGLE-892:
--------------------------------------

GitHub user jhsenjaliya opened a pull request:

    https://github.com/apache/eagle/pull/800

    [EAGLE-892] fixng NPE on ResourceFetcher

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jhsenjaliya/eagle EAGLE-892

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/eagle/pull/800.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #800
    
----
commit 0b0c52bc50b042504aa93409a40822a86e3c76e1
Author: Jay <jh...@gmail.com>
Date:   2017-02-11T02:09:25Z

    [EAGLE-892] fixng NPE on ResourceFetcher

----


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