Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40B83F2BF for ; Thu, 18 Apr 2013 15:22:35 +0000 (UTC) Received: (qmail 56101 invoked by uid 500); 18 Apr 2013 15:21:04 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 53882 invoked by uid 500); 18 Apr 2013 15:20:57 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 50729 invoked by uid 500); 18 Apr 2013 15:20:51 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 46262 invoked by uid 99); 18 Apr 2013 15:17:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 15:17:17 +0000 Date: Thu, 18 Apr 2013 15:17:17 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4304) Remove unused builtins and pdk submodules 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-4304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635233#comment-13635233 ] Ashutosh Chauhan commented on HIVE-4304: ---------------------------------------- [~traviscrawford] Rebasing your branch after commit of HIVE-4278 and with few minor edits, I was able to build successfully. > Remove unused builtins and pdk submodules > ----------------------------------------- > > Key: HIVE-4304 > URL: https://issues.apache.org/jira/browse/HIVE-4304 > Project: Hive > Issue Type: Improvement > Reporter: Travis Crawford > Assignee: Travis Crawford > Attachments: HIVE-4304.1.patch > > > Moving from email. The [builtins|http://svn.apache.org/repos/asf/hive/trunk/builtins/] and [pdk|http://svn.apache.org/repos/asf/hive/trunk/pdk/] submodules are not believed to be in use and should be removed. The main benefits are simplification and maintainability of the Hive code base. > Forwarded conversation > Subject: builtins submodule - is it still needed? > ------------------------ > From: Travis Crawford > Date: Thu, Apr 4, 2013 at 2:01 PM > To: user@hive.apache.org, dev@hive.apache.org > Hey hive gurus - > Is the "builtins" hive submodule in use? The submodule was added in > HIVE-2523 as a location for builtin-UDFs, but it appears to not have > taken off. Any objections to removing it? > DETAILS > For HIVE-4278 I'm making some build changes for the HCatalog > integration. The "builtins" submodule causes issues because it delays > building until the packaging phase - so HCatalog can't depend on > builtins, which it does transitively. > While investigating a path forward I discovered the "builtins" > submodule contains very little code, and likely could either go away > entirely or merge into "ql", simplifying things both for users and > developers. > Thoughts? Can anyone with context help me understand "builtins", both > in general and around its non-standard build? For your trouble I'll > either make the submodule go away/merge into another submodule, or > update the docs with what we learn. > Thanks! > Travis > ---------- > From: Ashutosh Chauhan > Date: Fri, Apr 5, 2013 at 3:10 PM > To: dev@hive.apache.org > Cc: "user@hive.apache.org" > I haven't used it myself anytime till now. Neither have met anyone who used > it or plan to use it. > Ashutosh > On Thu, Apr 4, 2013 at 2:01 PM, Travis Crawford wrote: > ---------- > From: Gunther Hagleitner > Date: Fri, Apr 5, 2013 at 3:11 PM > To: dev@hive.apache.org > Cc: user@hive.apache.org > +1 > I would actually go a step further and propose to remove both PDK and > builtins. I've went through the code for both and here is what I found: > Builtins: > - BuiltInUtils.java: Empty file > - UDAFUnionMap: Merges maps. Doesn't seem to be useful by itself, but was > intended as a building block for PDK > PDK: > - some helper build.xml/test setup + teardown scripts > - Classes/annotations to help run unit tests > - rot13 as an example > From what I can tell it's a fair assessment that it hasn't taken off, last > commits to it seem to have happened more than 1.5 years ago. > Thanks, > Gunther. > On Thu, Apr 4, 2013 at 2:01 PM, Travis Crawford wrote: > ---------- > From: Owen O'Malley > Date: Fri, Apr 5, 2013 at 4:45 PM > To: user@hive.apache.org > +1 to removing them. > We have a Rot13 example in ql/src/test/org/apache/hadoop/hive/ql/io/udf/Rot13{In,Out}putFormat.java anyways. *smile* > -- Owen -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira