Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-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 4C41710474 for ; Tue, 23 Jul 2013 20:41:44 +0000 (UTC) Received: (qmail 8215 invoked by uid 500); 23 Jul 2013 20:41:44 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 8153 invoked by uid 500); 23 Jul 2013 20:41:43 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 8146 invoked by uid 99); 23 Jul 2013 20:41:43 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 20:41:43 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6D0148B2756; Tue, 23 Jul 2013 20:41:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ecn@apache.org To: commits@accumulo.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: ACCUMULO-1537 fix build for hadoop-2 Date: Tue, 23 Jul 2013 20:41:43 +0000 (UTC) Updated Branches: refs/heads/master 2709efa14 -> 9ae8d3948 ACCUMULO-1537 fix build for hadoop-2 Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9ae8d394 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9ae8d394 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9ae8d394 Branch: refs/heads/master Commit: 9ae8d39488a5559ca29c5b6085cfe5f2ae50d164 Parents: 2709efa Author: Eric Newton Authored: Tue Jul 23 16:41:52 2013 -0400 Committer: Eric Newton Committed: Tue Jul 23 16:41:52 2013 -0400 ---------------------------------------------------------------------- minicluster/pom.xml | 2 +- .../org/apache/accumulo/minicluster/MiniAccumuloCluster.java | 3 +-- pom.xml | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/9ae8d394/minicluster/pom.xml ---------------------------------------------------------------------- diff --git a/minicluster/pom.xml b/minicluster/pom.xml index d7c8778..c35e7a5 100644 --- a/minicluster/pom.xml +++ b/minicluster/pom.xml @@ -47,7 +47,7 @@ org.apache.hadoop - hadoop-test + hadoop-minicluster commons-configuration http://git-wip-us.apache.org/repos/asf/accumulo/blob/9ae8d394/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java ---------------------------------------------------------------------- diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java index 4f9ff89..24dcb39 100644 --- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java +++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java @@ -58,7 +58,6 @@ import org.apache.commons.io.FileUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hdfs.DFSConfigKeys; import org.apache.hadoop.hdfs.MiniDFSCluster; -import org.apache.hadoop.hdfs.server.datanode.DataNode; import org.apache.zookeeper.server.ZooKeeperServerMain; /** @@ -228,7 +227,7 @@ public class MiniAccumuloCluster { conf.set(DFSConfigKeys.DFS_DATANODE_DATA_DIR_KEY, dn.getAbsolutePath()); conf.set(DFSConfigKeys.DFS_REPLICATION_KEY, "1"); conf.set(DFSConfigKeys.DFS_SUPPORT_APPEND_KEY, "true"); - conf.set(DataNode.DATA_DIR_PERMISSION_KEY, "775"); + conf.set("dfs.datanode.data.dir.perm", "775"); miniDFS = new MiniDFSCluster(conf, 1, true, null); miniDFS.waitClusterUp(); InetSocketAddress dfsAddress = miniDFS.getNameNode().getNameNodeAddress(); http://git-wip-us.apache.org/repos/asf/accumulo/blob/9ae8d394/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c8fa357..ec1c48c 100644 --- a/pom.xml +++ b/pom.xml @@ -300,11 +300,6 @@ org.apache.hadoop - hadoop-test - ${hadoop.version} - - - org.apache.hadoop hadoop-tools ${hadoop.version}