From 6fbe717f8a7608a5774365982f840f5defc513cf Mon Sep 17 00:00:00 2001 From: Jason Darrell Lowe Date: Wed, 13 Mar 2013 22:25:47 +0000 Subject: [PATCH] HADOOP-9397. Incremental dist tar build fails. Contributed by Chris Nauroth git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1456212 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ hadoop-dist/pom.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index af6e757983..70004ff25f 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -348,6 +348,8 @@ Trunk (Unreleased) HADOOP-9099. NetUtils.normalizeHostName fails on domains where UnknownHost resolves to an IP address. (Ivan Mitic via suresh) + HADOOP-9397. Incremental dist tar build fails (Chris Nauroth via jlowe) + OPTIMIZATIONS HADOOP-7761. Improve the performance of raw comparisons. (todd) diff --git a/hadoop-dist/pom.xml b/hadoop-dist/pom.xml index 44ed401264..5f063e9121 100644 --- a/hadoop-dist/pom.xml +++ b/hadoop-dist/pom.xml @@ -152,7 +152,7 @@ } run tar cf hadoop-${project.version}.tar hadoop-${project.version} - run gzip hadoop-${project.version}.tar + run gzip -f hadoop-${project.version}.tar echo echo "Hadoop dist tar available at: ${project.build.directory}/hadoop-${project.version}.tar.gz" echo