Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A14B3200C5A for ; Tue, 18 Apr 2017 08:55:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9FFD7160B90; Tue, 18 Apr 2017 06:55:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CC8D7160BAC for ; Tue, 18 Apr 2017 08:55:44 +0200 (CEST) Received: (qmail 90431 invoked by uid 500); 18 Apr 2017 06:55:44 -0000 Mailing-List: contact issues-help@eagle.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.apache.org Delivered-To: mailing list issues@eagle.apache.org Received: (qmail 90422 invoked by uid 99); 18 Apr 2017 06:55:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2017 06:55:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A34E6C873E for ; Tue, 18 Apr 2017 06:55:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BNdBkDx5iBzk for ; Tue, 18 Apr 2017 06:55:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7BF305FC96 for ; Tue, 18 Apr 2017 06:55:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F17ABE04FE for ; Tue, 18 Apr 2017 06:55:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id AEFA421B47 for ; Tue, 18 Apr 2017 06:55:41 +0000 (UTC) Date: Tue, 18 Apr 2017 06:55:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@eagle.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (EAGLE-1008) java.lang.NullPointerException in JHFEventReaderBase.close MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Apr 2017 06:55:45 -0000 [ https://issues.apache.org/jira/browse/EAGLE-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972214#comment-15972214 ] ASF GitHub Bot commented on EAGLE-1008: --------------------------------------- GitHub user qingwen220 opened a pull request: https://github.com/apache/eagle/pull/919 EAGLE-1008: java.lang.NullPointerException in JHFEventReaderBase.close https://issues.apache.org/jira/browse/EAGLE-1008 You can merge this pull request into a Git repository by running: $ git pull https://github.com/qingwen220/eagle minor Alternatively you can review and apply these changes as the patch at: https://github.com/apache/eagle/pull/919.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 #919 ---- commit 20d7a1555f269c1e1728cd843e1369ae453deaa0 Author: Zhao, Qingwen Date: 2017-04-12T06:46:53Z refine app config commit 9a2871a7d2424e790a41833ad5b3eb541452b61c Author: Zhao, Qingwen Date: 2017-04-17T09:38:43Z Merge branch 'master' of https://github.com/qingwen220/incubator-eagle commit 3099b71e204d8f3c115b82b4e21495e84e932fb0 Author: Zhao, Qingwen Date: 2017-04-18T06:52:34Z fix null pointer exception in JobCounters.java ---- > java.lang.NullPointerException in JHFEventReaderBase.close > ---------------------------------------------------------- > > Key: EAGLE-1008 > URL: https://issues.apache.org/jira/browse/EAGLE-1008 > Project: Eagle > Issue Type: Bug > Affects Versions: v0.5.0 > Reporter: Zhao, Qingwen > Assignee: Zhao, Qingwen > > {code} > 2017-04-17 19:53:31 Thread-8-mrHistoryJobSpout org.apache.eagle.jpm.mr.history.parser.JHFMRVer2Parser [ERROR] Caught exception parsing history file after 99 events > java.io.IOException: java.lang.NullPointerException > at org.apache.eagle.jpm.mr.history.parser.JHFEventReaderBase.close(JHFEventReaderBase.java:153) ~[stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.parser.JHFMRVer2Parser.parse(JHFMRVer2Parser.java:65) ~[stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.crawler.DefaultJHFInputStreamCallback.onInputStream(DefaultJHFInputStreamCallback.java:60) [stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.crawler.AbstractJobHistoryDAO.readFileContent(AbstractJobHistoryDAO.java:123) [stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.crawler.JHFCrawlerDriverImpl.crawl(JHFCrawlerDriverImpl.java:166) [stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.storm.JobHistorySpout.nextTuple(JobHistorySpout.java:166) [stormjar.jar:na] > at backtype.storm.daemon.executor$fn__5629$fn__5644$fn__5673.invoke(executor.clj:585) [storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041] > at backtype.storm.util$async_loop$fn__452.invoke(util.clj:465) [storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041] > at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91] > Caused by: java.lang.NullPointerException: null > at org.apache.eagle.jpm.util.jobcounter.JobCounters.getCounterValue(JobCounters.java:51) ~[stormjar.jar:na] > at org.apache.eagle.jpm.analyzer.mr.suggestion.MapReduceJobSuggestionContext.getMinimumIOSortMemory(MapReduceJobSuggestionContext.java:137) ~[stormjar.jar:na] > at org.apache.eagle.jpm.analyzer.mr.suggestion.MapReduceJobSuggestionContext.buildContext(MapReduceJobSuggestionContext.java:86) ~[stormjar.jar:na] > at org.apache.eagle.jpm.analyzer.mr.suggestion.MapReduceJobSuggestionContext.(MapReduceJobSuggestionContext.java:64) ~[stormjar.jar:na] > at org.apache.eagle.jpm.analyzer.mr.suggestion.JobSuggestionEvaluator.evaluate(JobSuggestionEvaluator.java:76) ~[stormjar.jar:na] > at org.apache.eagle.jpm.analyzer.mr.suggestion.JobSuggestionEvaluator.evaluate(JobSuggestionEvaluator.java:38) ~[stormjar.jar:na] > at org.apache.eagle.jpm.analyzer.mr.MRJobPerformanceAnalyzer.analyze(MRJobPerformanceAnalyzer.java:64) ~[stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.parser.JobSuggestionListener.flush(JobSuggestionListener.java:93) ~[stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.parser.JobEntityCreationPublisher.flush(JobEntityCreationPublisher.java:40) ~[stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.parser.JHFEventReaderBase.flush(JHFEventReaderBase.java:159) ~[stormjar.jar:na] > at org.apache.eagle.jpm.mr.history.parser.JHFEventReaderBase.close(JHFEventReaderBase.java:150) ~[stormjar.jar:na] > ... 9 common frames omitted > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)