Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4EE1C187E9 for ; Tue, 22 Mar 2016 03:40:26 +0000 (UTC) Received: (qmail 51605 invoked by uid 500); 22 Mar 2016 03:40:26 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 51547 invoked by uid 500); 22 Mar 2016 03:40:26 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 51532 invoked by uid 99); 22 Mar 2016 03:40:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2016 03:40:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6B5C12C14F6 for ; Tue, 22 Mar 2016 03:40:25 +0000 (UTC) Date: Tue, 22 Mar 2016 03:40:25 +0000 (UTC) From: "Rajesh Balamohan (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TEZ-3181) History parser : Handle invalid/unsupported history event types gracefully MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEZ-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajesh Balamohan updated TEZ-3181: ---------------------------------- Attachment: TEZ-3181.1.patch [~bikassaha] - Please review when you find time. > History parser : Handle invalid/unsupported history event types gracefully > -------------------------------------------------------------------------- > > Key: TEZ-3181 > URL: https://issues.apache.org/jira/browse/TEZ-3181 > Project: Apache Tez > Issue Type: Bug > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Attachments: TEZ-3181.1.patch > > > TEZ-2581 changed/renamed some of HistoryEventType. This causes parser to throw exception when trying to parse 0.7.x ATS data with 0.8.x parser. > {noformat} > Exception in thread "main" java.lang.IllegalArgumentException: No enum constant org.apache.tez.dag.history.HistoryEventType.VERTEX_PARALLELISM_UPDATED > at java.lang.Enum.valueOf(Enum.java:238) > at org.apache.tez.dag.history.HistoryEventType.valueOf(HistoryEventType.java:21) > at org.apache.tez.history.parser.datamodel.VertexInfo.(VertexInfo.java:117) > at org.apache.tez.history.parser.datamodel.VertexInfo.create(VertexInfo.java:159) > at org.apache.tez.history.parser.ATSFileParser.processVertices(ATSFileParser.java:98) > at org.apache.tez.history.parser.ATSFileParser.parseATSZipFile(ATSFileParser.java:202) > at org.apache.tez.history.parser.ATSFileParser.getDAGData(ATSFileParser.java:70) > {noformat} > Long term fix is to have versioning support (TEZ-3179) in ATS data. -- This message was sent by Atlassian JIRA (v6.3.4#6332)