Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 0449BF1F3 for ; Sat, 1 Jun 2013 14:45:23 +0000 (UTC) Received: (qmail 2117 invoked by uid 500); 1 Jun 2013 14:45:22 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 1967 invoked by uid 500); 1 Jun 2013 14:45:22 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 1923 invoked by uid 99); 1 Jun 2013 14:45:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jun 2013 14:45:20 +0000 Date: Sat, 1 Jun 2013 14:45:20 +0000 (UTC) From: "Ravi Prakash (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-9614) smart-test-patch.sh hangs for new version of patch (2.7.1) 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/HADOOP-9614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Prakash updated HADOOP-9614: --------------------------------- Attachment: HADOOP-9614.patch Shoot! Missed the beginning anchor. Ok. This is good to go for all branches. Can someone please commit? > smart-test-patch.sh hangs for new version of patch (2.7.1) > ---------------------------------------------------------- > > Key: HADOOP-9614 > URL: https://issues.apache.org/jira/browse/HADOOP-9614 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.0.0, 0.23.7, 2.0.4-alpha > Reporter: Ravi Prakash > Assignee: Ravi Prakash > Attachments: HADOOP-9614.patch, HADOOP-9614.patch > > > patch -p0 -E --dry-run prints "checking file " for the new version of patch(2.7.1) rather than "patching file" as it did for older versions. This causes TMP2 to become empty, which causes the script to hang on this command forever: > PREFIX_DIRS_AND_FILES=$(cut -d '/' -f 1 | sort | uniq) -- 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