Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66EAF18969 for ; Mon, 18 May 2015 14:06:32 +0000 (UTC) Received: (qmail 38900 invoked by uid 500); 18 May 2015 14:06:32 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 38830 invoked by uid 500); 18 May 2015 14:06:32 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 38821 invoked by uid 99); 18 May 2015 14:06:32 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 14:06:32 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0CD97DFD9E; Mon, 18 May 2015 14:06:32 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: umamahesh@apache.org To: common-commits@hadoop.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: HDFS-8412. Fix the test failures in HTTPFS: In some tests setReplication called after fs close. Contributed by Uma Maheswara Rao G. Date: Mon, 18 May 2015 14:06:32 +0000 (UTC) Repository: hadoop Updated Branches: refs/heads/trunk 363c35541 -> a6af0248e HDFS-8412. Fix the test failures in HTTPFS: In some tests setReplication called after fs close. Contributed by Uma Maheswara Rao G. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a6af0248 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a6af0248 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a6af0248 Branch: refs/heads/trunk Commit: a6af0248e9ec75e8e46ac96593070e0c9841a660 Parents: 363c355 Author: Uma Maheswara Rao G Authored: Mon May 18 19:35:53 2015 +0530 Committer: Uma Maheswara Rao G Committed: Mon May 18 19:35:53 2015 +0530 ---------------------------------------------------------------------- .../java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java | 2 +- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/a6af0248/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java index 2cc67d4..0e082cc 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java @@ -465,8 +465,8 @@ public abstract class BaseTestHttpFSWith extends HFSTestCase { OutputStream os = fs.create(path); os.write(1); os.close(); - fs.close(); fs.setReplication(path, (short) 2); + fs.close(); fs = getHttpFSFileSystem(); fs.setReplication(path, (short) 1); http://git-wip-us.apache.org/repos/asf/hadoop/blob/a6af0248/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 3e0d360..8d0c5b6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -332,6 +332,8 @@ Trunk (Unreleased) HDFS-8332. DFS client API calls should check filesystem closed (Rakesh R via umamahesh) + HDFS-8412. Fix the test failures in HTTPFS. (umamahesh) + Release 2.8.0 - UNRELEASED INCOMPATIBLE CHANGES