Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-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 44E2C10038 for ; Wed, 28 May 2014 23:12:02 +0000 (UTC) Received: (qmail 46857 invoked by uid 500); 28 May 2014 23:12:02 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 46799 invoked by uid 500); 28 May 2014 23:12:01 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 46790 invoked by uid 500); 28 May 2014 23:12:01 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 46787 invoked by uid 99); 28 May 2014 23:12:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 23:12:01 +0000 Date: Wed, 28 May 2014 23:12:01 +0000 (UTC) From: "Konstantin Boudnik (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PIG-3892) Pig distribution for hadoop 2 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/PIG-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011794#comment-14011794 ] Konstantin Boudnik commented on PIG-3892: ----------------------------------------- bq. But we first set "shopt -s nullglob" in bin/pig that'd work of course, but I agree with other comment: doing {{[ -e -s ]}} might be less confusing. Not a show stopper though ;) > Pig distribution for hadoop 2 > ----------------------------- > > Key: PIG-3892 > URL: https://issues.apache.org/jira/browse/PIG-3892 > Project: Pig > Issue Type: Bug > Components: build > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.13.0 > > Attachments: PIG-3892-1.patch, PIG-3892-2.patch > > > Currently Pig distribution only bundle pig.jar for Hadoop 1. For Hadoop 2 users they need to compile again using -Dhadoopversion=23 flag. That is a quite confusing process. We need to make Pig work with Hadoop 2 out of box. I am thinking two approaches: > 1. Bundle both pig-h1.jar and pig-h2.jar in distribution, and bin/pig will chose the right pig.jar to run > 2. Make two Pig distributions for Hadoop 1 and Hadoop > Any opinion? -- This message was sent by Atlassian JIRA (v6.2#6252)