Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E19AA1043F for ; Wed, 9 Oct 2013 19:32:44 +0000 (UTC) Received: (qmail 80096 invoked by uid 500); 9 Oct 2013 19:32:44 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 80047 invoked by uid 500); 9 Oct 2013 19:32:44 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 80022 invoked by uid 99); 9 Oct 2013 19:32:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 19:32:43 +0000 Date: Wed, 9 Oct 2013 19:32:41 +0000 (UTC) From: "Charles Ott (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-683) Accumulo ignores HDFS max replication configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-683?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 790752#comment-13790752 ]=20 Charles Ott commented on ACCUMULO-683: -------------------------------------- ah. "Max" Replication is not specified. In HDFS the property looks like t= his: dfs.replication 3 Looks like the Hadoop default Max Replication is 512 for cdh3u6. =20 So I guess the replica of 5 will almost always be used by accumulo when dep= loyed on cdh3u6. Sorry about the confusion. > Accumulo ignores HDFS max replication configuration > --------------------------------------------------- > > Key: ACCUMULO-683 > URL: https://issues.apache.org/jira/browse/ACCUMULO-683 > Project: Accumulo > Issue Type: Bug > Components: tserver > Affects Versions: 1.4.1 > Reporter: Jim Klucar > Priority: Minor > Fix For: 1.4.2, 1.5.0 > > > I setup a new 1.4.1 instance that was running on top of a Hadoop installa= tion that had the maximum block replications set to 3 and the following err= or showed up on the monitor page. > java.io.IOException: failed to create file /accumulo/tables/!0/table_info= /F0000001.rf_tmp on client 127.0.0.1. Requested replication 5 exceeds maxim= um 3 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileIntern= al(FSNamesystem.java:1220) at org.apache.hadoop.hdfs.server.namenode.FSName= system.startFile(FSNamesystem.java:1123) at org.apache.hadoop.hdfs.server.n= amenode.NameNode.create(NameNode.java:551) at sun.reflect.NativeMethodAcces= sorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invo= ke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccesso= rImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Met= hod.invoke(Method.java:597) at org.apache.hadoop.ipc.RPC$Server.call(RPC.ja= va:523) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1383) at = org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1379) at java.securi= ty.AccessController.doPrivileged(Native Method) at javax.security.auth.Subj= ect.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformati= on.doAs(UserGroupInformation.java:1059) at org.apache.hadoop.ipc.Server$Han= dler.run(Server.java:1377) > Tablet server error is: > 10 10:56:25,408 [tabletserver.MinorCompactor] WARN : MinC failed (java.io= .IOException: failed to create file /accumulo/tables/!0/ > table_info/F0000001.rf_tmp on client 127.0.0.1. > Requested replication 5 exceeds maximum 3 > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileI= nternal(FSNamesystem.java:1220) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(= FSNamesystem.java:1123) > at org.apache.hadoop.hdfs.server.namenode.NameNode.create(NameNod= e.java:551) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:523) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1383) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1379) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroup= Information.java:1059) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1377) > ) to create /accumulo/tables/!0/table_info/F0000001.rf_tmp retrying ... -- This message was sent by Atlassian JIRA (v6.1#6144)