Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16C2C17F14 for ; Fri, 10 Apr 2015 11:56:42 +0000 (UTC) Received: (qmail 29524 invoked by uid 500); 10 Apr 2015 11:56:42 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 29484 invoked by uid 500); 10 Apr 2015 11:56:42 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 29473 invoked by uid 99); 10 Apr 2015 11:56:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2015 11:56:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Apr 2015 11:56:20 +0000 Received: (qmail 29205 invoked by uid 99); 10 Apr 2015 11:56:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2015 11:56:13 +0000 Date: Fri, 10 Apr 2015 11:56:13 +0000 (UTC) From: "Pragya Mittal (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1145) Changing entity name if it exceeds defined length MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pragya Mittal updated FALCON-1145: ---------------------------------- Attachment: FALCON-1145-v3.patch > Changing entity name if it exceeds defined length > ------------------------------------------------- > > Key: FALCON-1145 > URL: https://issues.apache.org/jira/browse/FALCON-1145 > Project: Falcon > Issue Type: Improvement > Components: merlin > Environment: QA > Reporter: Pragya Mittal > Assignee: Pragya Mittal > Fix For: 0.6.1 > > Attachments: FALCON-1145-v1.patch, FALCON-1145-v2.patch, FALCON-1145-v3.patch, FALCON-1145.patch > > > If oozie uses embedded database then in some cases while entering a new row in database it may exceed the specified limit(255) for varchar. This is happening due to very long class name which is appended as part of entity name. So user can drop the class name from entity name, so that there is no truncation error. > {code} > Caused by: org.apache.openjpa.persistence.PersistenceException: A truncation error was encountered trying to shrink VARCHAR 'hdfs://192.168.138.200:8020/tmp/falcon-regression-staging/fa&' to length 255. {prepstmnt 505661111 INSERT INTO COORD_JOBS (id, app_name, app_namespace, app_path, bundle_id, concurrency, conf, created_time, done_materialization, end_time, execution, external_id, frequency, group_name, job_xml, last_action_number, last_action, last_modified_time, mat_throttling, next_matd_time, orig_job_xml, pause_time, pending, sla_xml, start_time, status, suspended_time, time_out, time_unit, time_zone, user_name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)} [code=20000, state=22001] > FailedObject: org.apache.oozie.CoordinatorJobBean@1b9a4027 > {code} > For this is_deprecate flag is introduced which is 'false' by default. -- This message was sent by Atlassian JIRA (v6.3.4#6332)