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 B0DAF18075 for ; Thu, 11 Jun 2015 00:01:36 +0000 (UTC) Received: (qmail 84547 invoked by uid 500); 11 Jun 2015 00:01:35 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 84500 invoked by uid 500); 11 Jun 2015 00:01:35 -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 84478 invoked by uid 99); 11 Jun 2015 00:01:35 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2015 00:01:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0C99CCD1EC; Thu, 11 Jun 2015 00:01:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.13 X-Spam-Level: *** X-Spam-Status: No, score=3.13 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id df1OgDA32nmJ; Thu, 11 Jun 2015 00:01:28 +0000 (UTC) Received: from mail-wg0-f67.google.com (mail-wg0-f67.google.com [74.125.82.67]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 2725D2496C; Thu, 11 Jun 2015 00:01:28 +0000 (UTC) Received: by wggy19 with SMTP id y19so10151408wgg.2; Wed, 10 Jun 2015 17:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=n/p3T2qwcqlH/k0vv4tHyWCGI97ZlGIhDXwRCXuaSaA=; b=hNS+mnI5kySt7ab3VXp6kHAQCHd3uvWl89xhsguQbdrBgy3jC6o174EsBKMZNbrFvZ jRhog1wwYjRgn6i1Pl3WssI5fL1QT4p07xMVVsonVbozohgFPavAZ4bjHSk0wyghvrmo TIji2pudcrfqqpFRnswbGUFQD3nQeHiEZ3RvZ3nGom77aHrq3bQfP4Bu8v/bJaR8j+Sl k/E7b6K9idodYHUFyFZVWVE0DLFK1iTuDqVrAajPlxN1kpyVKzNZ5Qk/T5j+m3r00sLp q7IQ3q9YR/0elrLIz4bDXYsg4TNdtMx9nXNiGHstNjI+JOaSdZ5ByxYYTYYdKIfDrUPF VRXA== MIME-Version: 1.0 X-Received: by 10.194.63.228 with SMTP id j4mr11119107wjs.38.1433980887931; Wed, 10 Jun 2015 17:01:27 -0700 (PDT) Received: by 10.27.99.68 with HTTP; Wed, 10 Jun 2015 17:01:27 -0700 (PDT) Date: Wed, 10 Jun 2015 17:01:27 -0700 Message-ID: Subject: Why 1K filesize limit in ZKfuse From: Bharat Singh To: dev@zookeeper.apache.org, user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=047d7ba97f3a70a05d051832b153 --047d7ba97f3a70a05d051832b153 Content-Type: text/plain; charset=UTF-8 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 ; 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 --047d7ba97f3a70a05d051832b153--