zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharat Singh <bharatsingh.mnni...@gmail.com>
Subject Why 1K filesize limit in ZKfuse
Date Thu, 11 Jun 2015 00:01:27 GMT
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
<http://code.metager.de/source/s?refs=maxDataFileSize&project=apache> =
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message