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 408CB200C5D for ; Thu, 23 Mar 2017 13:56:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3F384160B92; Thu, 23 Mar 2017 12:56:48 +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 8AF1F160B95 for ; Thu, 23 Mar 2017 13:56:47 +0100 (CET) Received: (qmail 8975 invoked by uid 500); 23 Mar 2017 12:56:46 -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 8963 invoked by uid 99); 23 Mar 2017 12:56:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2017 12:56:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 22AD01889D6 for ; Thu, 23 Mar 2017 12:56:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.349 X-Spam-Level: X-Spam-Status: No, score=-99.349 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 76httpuoq51c for ; Thu, 23 Mar 2017 12:56: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 ED75F5FE07 for ; Thu, 23 Mar 2017 12:56:43 +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 D6548E0026 for ; Thu, 23 Mar 2017 12:56:42 +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 E60A821DA7 for ; Thu, 23 Mar 2017 12:56:41 +0000 (UTC) Date: Thu, 23 Mar 2017 12:56:41 +0000 (UTC) From: "Julien Vaudour (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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: Thu, 23 Mar 2017 12:56:48 -0000 Julien Vaudour created HADOOP-14219: --------------------------------------- Summary: 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