Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-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 B5F5717D31 for ; Mon, 9 Mar 2015 20:49:43 +0000 (UTC) Received: (qmail 84158 invoked by uid 500); 9 Mar 2015 20:49:38 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 84137 invoked by uid 500); 9 Mar 2015 20:49:38 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 84127 invoked by uid 99); 9 Mar 2015 20:49:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 20:49:38 +0000 Date: Mon, 9 Mar 2015 20:49:38 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9321) Notification message size can be arbitrarily long, DbNotificationListener limits to 1024 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/HIVE-9321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sushanth Sowmyan updated HIVE-9321: ----------------------------------- Issue Type: Sub-task (was: Bug) Parent: HIVE-7973 > Notification message size can be arbitrarily long, DbNotificationListener limits to 1024 > ---------------------------------------------------------------------------------------- > > Key: HIVE-9321 > URL: https://issues.apache.org/jira/browse/HIVE-9321 > Project: Hive > Issue Type: Sub-task > Affects Versions: 0.15.0 > Reporter: Sushanth Sowmyan > Assignee: Alan Gates > Fix For: 1.1.0 > > Attachments: HIVE-9321.patch > > > As part of HIVE-9174, a new notification listener, DbNotificationListener was introduced that stores notification messages in the metastore. > Now, the "message" field of a Notification event can be arbitrarily long, since it is a JSON-serialized message of what event actually occurred, and an AddPartitionMessage which captured the result of an add_partitions can be arbitrarily long (as long as the number of partitions that were added). > However, the "message" field for the storage in db is limited to VARCHAR(1024), which it will easily break. We need to fix this somehow. -- This message was sent by Atlassian JIRA (v6.3.4#6332)