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 C835F1096F for ; Fri, 14 Feb 2014 20:56:34 +0000 (UTC) Received: (qmail 31236 invoked by uid 500); 14 Feb 2014 20:56:28 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 31075 invoked by uid 500); 14 Feb 2014 20:56:25 -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 30856 invoked by uid 99); 14 Feb 2014 20:56:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 20:56:22 +0000 Date: Fri, 14 Feb 2014 20:56:22 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2366) Giant table names kill the master 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/ACCUMULO-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901927#comment-13901927 ] Christopher Tubbs commented on ACCUMULO-2366: --------------------------------------------- A sensible thing could be to adopt the DNS limits: maximum length of 63 bytes for each segment, which means that the maximum length for a fully-qualified table name (i.e. one in a namespace) would be 63+len(".")+63 = 127 bytes. > Giant table names kill the master > --------------------------------- > > Key: ACCUMULO-2366 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2366 > Project: Accumulo > Issue Type: Bug > Components: master > Reporter: John Vines > Fix For: 1.7.0 > > > Attempting to create a 1MB table results in the master losing it's ZK lock and going down. It gets the following error message twice. > We should probably limit table names for this reason. > {code}Error connecting to zookeeper, will retry in 250 > org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /accumulo/8da9811c-b74a-43a8-9acd-f35365743241/fate/tx_5be1ffebf4a0a0c1/repo_ > at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) > at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) > at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783) > at org.apache.accumulo.fate.zookeeper.ZooUtil.putPersistentSequential(ZooUtil.java:213) > at org.apache.accumulo.fate.zookeeper.ZooReaderWriter.putPersistentSequential(ZooReaderWriter.java:94) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:622) > at org.apache.accumulo.server.zookeeper.ZooReaderWriter$1.invoke(ZooReaderWriter.java:67) > at com.sun.proxy.$Proxy2.putPersistentSequential(Unknown Source) > at org.apache.accumulo.fate.ZooStore.push(ZooStore.java:297) > at org.apache.accumulo.fate.AgeOffStore.push(AgeOffStore.java:176) > at org.apache.accumulo.fate.Fate.seedTransaction(Fate.java:163) > at org.apache.accumulo.server.master.Master$MasterClientServiceHandler.executeTableOperation(Master.java:832) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:622) > at org.apache.accumulo.trace.instrument.thrift.TraceWrap$1.invoke(TraceWrap.java:63) > at com.sun.proxy.$Proxy3.executeTableOperation(Unknown Source) > at org.apache.accumulo.core.master.thrift.MasterClientService$Processor$executeTableOperation.getResult(MasterClientService.java:1591) > at org.apache.accumulo.core.master.thrift.MasterClientService$Processor$executeTableOperation.getResult(MasterClientService.java:1575) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:156) > at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:478) > at org.apache.accumulo.server.util.TServerUtils$THsHaServer$Invocation.run(TServerUtils.java:208) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:701){code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)