Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D972217C36 for ; Sat, 13 Jun 2015 18:41:18 +0000 (UTC) Received: (qmail 10792 invoked by uid 500); 13 Jun 2015 18:41:17 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 10728 invoked by uid 500); 13 Jun 2015 18:41:17 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 10706 invoked by uid 99); 13 Jun 2015 18:41:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2015 18:41:17 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bharatsingh.mnnit06@gmail.com designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jun 2015 18:39:02 +0000 Received: by wgez8 with SMTP id z8so42735974wge.0; Sat, 13 Jun 2015 11:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=knZa7duALg3SXpfO/RtFwKQ2TrHBUg7AKZDDauG0RIE=; b=K8b1ThaYrpvA7cu5dMXPXwTkpVhLDBkMrxrTt/xLp5uIhDt8JS8PUP1H9iimYb9h1e cU115SBECDM17BuU6Vk3KUJ+4bVjiaFCS2fIPJvqGa27KlUKmyTV2M/xUTbqXgCKbiyk W+S6LwQ6RC8ctp2g3g90BC/6cQuWzvEuK2slf//DIKmlp9n4R5l7GfiW9IMxGYPkhlg7 uhkWGkNg6zM5F853wPibqyOXEjyjwf3NoejXhbFUAWqIWtbO1bwF5j+vF/2MnVGxIGOb m4SMFyYO3Rc+fwFOp8/6CMSPWId8YeVvH3JYSJ+E87GLr/9FURnd90TFc0pupA3WzX+S 3icA== MIME-Version: 1.0 X-Received: by 10.180.14.193 with SMTP id r1mr17296423wic.47.1434220850366; Sat, 13 Jun 2015 11:40:50 -0700 (PDT) Received: by 10.27.99.68 with HTTP; Sat, 13 Jun 2015 11:40:50 -0700 (PDT) In-Reply-To: References: Date: Sat, 13 Jun 2015 11:40:50 -0700 Message-ID: Subject: Re: Why 1K filesize limit in ZKfuse From: Bharat Singh To: dev@zookeeper.apache.org Cc: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=f46d04138a9d50cf3305186a90a6 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04138a9d50cf3305186a90a6 Content-Type: text/plain; charset=UTF-8 Thanks Camille. Yes I agree, It will take more memory and replication time might increase. I am more interested if there are any possible issues if we operate with the max allowed file size or as we increase the no of files. Do we have any benchmarking/performance stats for this ? How do i decide a safe limit. On Sat, Jun 13, 2015 at 11:02 AM, Camille Fournier wrote: > I'm not sure that there is a reason for it honestly. Possibly no one ever > used it for anything larger than 1k. I don't know the package well myself > but assuming it's storing this data inside of zk nodes having large files > in there will fill up the zk memory fast and may be risky, but other than > that I can't think of a reason. > > Best > C > On Jun 13, 2015 1:52 PM, "Bharat Singh" > wrote: > > > Ping .. > > > > On Wed, Jun 10, 2015 at 5:01 PM, Bharat Singh < > > bharatsingh.mnnit06@gmail.com > > > wrote: > > > > > Hi, > > > > > > I am trying to use zookeeper with zkfuse interface. I have some doubts > > > regarding max file size supported. > > > > > > Zookeeper max file size: (1MB) > > > > > > > > > http://zookeeper.apache.org/doc/r3.1.2/api/org/apache/zookeeper/ZooKeeper.htm > > > > > > The maximum allowable size of the data array is 1 MB > > > > > > ZKfuse max file size: (1KB) > > > > > > > > > http://code.metager.de/source/xref/apache/zookeeper/src/contrib/zkfuse/src/zkfuse.cc > > > *static* *const* *unsigned* maxDataFileSize > > > > = > > > MAX_DATA_SIZE > > > < > > > http://code.metager.de/source/xref/apache/zookeeper/src/contrib/zkfuse/src/zkfuse.cc#MAX_DATA_SIZE > > > > > > ; > > > > > > > > > Why ZKfuse reduces the size further since we already have a cap at > > > zookeeper. > > > Is there any explanation behind this check in ZKfuse. > > > > > > Please point me to appropriate forum if this is not the one. > > > > > > Suggestions are appreciated. > > > > > > > > > Thanks, > > > Bharat > > > > > > --f46d04138a9d50cf3305186a90a6--