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 39E66200C41 for ; Fri, 24 Mar 2017 12:17:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 387EB160B93; Fri, 24 Mar 2017 11:17:47 +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 7F5B9160B82 for ; Fri, 24 Mar 2017 12:17:46 +0100 (CET) Received: (qmail 62586 invoked by uid 500); 24 Mar 2017 11:17:45 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 62575 invoked by uid 99); 24 Mar 2017 11:17:45 -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; Fri, 24 Mar 2017 11:17:45 +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 EFF20C18E1 for ; Fri, 24 Mar 2017 11:17:44 +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 gbWEIgbBjabI for ; Fri, 24 Mar 2017 11:17:44 +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 2CB705FB02 for ; Fri, 24 Mar 2017 11:17:44 +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 70583E06BA for ; Fri, 24 Mar 2017 11:17:43 +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 7831224065 for ; Fri, 24 Mar 2017 11:17:42 +0000 (UTC) Date: Fri, 24 Mar 2017 11:17:42 +0000 (UTC) From: "Julien Vaudour (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-14219) RumenToSLS: parsing problem with crashed attempts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 24 Mar 2017 11:17:47 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Vaudour updated HADOOP-14219: ------------------------------------ Attachment: (was: HADOOP-14219.patch) > RumenToSLS: parsing problem with crashed attempts > ------------------------------------------------- > > Key: HADOOP-14219 > URL: https://issues.apache.org/jira/browse/HADOOP-14219 > Project: Hadoop Common > Issue Type: Bug > Components: tools > Affects Versions: 2.6.0 > Reporter: Julien Vaudour > Priority: Minor > > In case of crashed task attempts, we may have in rumen logs task attempts with null hostName and finishTime defined to -1 > for example > {code} > { > "resourceUsageMetrics": { > "heapUsage": 0, > "physicalMemoryUsage": 0, > "virtualMemoryUsage": 0, > "cumulativeCpuUsage": 0 > }, > "vmemKbytes": [], > "physMemKbytes": [], > "cpuUsages": [], > "clockSplits": [], > "location": null, > "sortFinished": -1, > "shuffleFinished": -1, > "spilledRecords": -1, > "reduceOutputRecords": -1, > "reduceShuffleBytes": -1, > "fileBytesRead": -1, > "hdfsBytesWritten": -1, > "hdfsBytesRead": -1, > "hostName": null, > "finishTime": -1, > "startTime": 1489619193378, > "result": null, > "attemptID": "attempt_1488896259152_410442_r_000015_1", > "fileBytesWritten": -1, > "mapInputRecords": -1, > "mapInputBytes": -1, > "mapOutputBytes": -1, > "mapOutputRecords": -1, > "combineInputRecords": -1, > "reduceInputGroups": -1, > "reduceInputRecords": -1 > } > {code} > Jackson parser will automatically consider -1 as a java.lang.Integer. However RumenToSLSConverter make the assumption than jackson has deserialize all timstamp as instance of java.lang.Long, resulting in a ClassCastException. > RumenToSLSConverter also make the assumption that hostName is not null, so we can also have a NullPointerException. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org