You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2015/09/04 21:05:45 UTC
[jira] [Created] (GEODE-310) HDFSStore API should be more
consistent
Kirk Lund created GEODE-310:
-------------------------------
Summary: HDFSStore API should be more consistent
Key: GEODE-310
URL: https://issues.apache.org/jira/browse/GEODE-310
Project: Geode
Issue Type: Bug
Reporter: Kirk Lund
The public interface for HDFSStore has inconsistencies between method names and constants giving default values and between HDFSStore and other entities such as Region and GatewaySender. These need to be made consistent. A decision also needs to be made whether to include units in the attribute names.
Mismatches between method names and default values:
-- HDFSStoreFactory setBatchInterval HDFSStore.DEFAULT_BATCH_INTERVAL_MILLIS
-- HDFSStoreFactory.setBatchSize HDFSStore.DEFAULT_BATCH_SIZE_MB
-- HDFSStoreFactory.setBufferPersistent GatewaySender.DEFAULT_PERSISTENCE_ENABLED
-- HDFSStoreFactory.setDispatcherThreads GatewaySender.DEFAULT_HDFS_DISPATCHER_THREADS
-- HDFSStoreFactory.setInputFileSizeMax HDFSStore.DEFAULT_INPUT_FILE_SIZE_MAX_MB
-- HDFSStoreFactory.setMajorCompactionInterval HDFSStore.DEFAULT_MAJOR_COMPACTION_INTERVAL_MINS
-- HDFSStoreFactory.setMaxMemory GatewaySender.DEFAULT_MAXIMUM_QUEUE_MEMORY
-- HDFSStoreFactory.setPurgeInterval HDFSStore.DEFAULT_OLD_FILE_CLEANUP_INTERVAL_MINS
-- HDFSStoreFactory.setWriteOnlyFileRolloverSize HDFSStore.DEFAULT_WRITE_ONLY_FILE_SIZE_LIMIT
HDFSStore uses "synchronousDiskWrite" where Region and GatewaySender use "diskSynchronous"
This came up during some of the testing and hydra support for HDFS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)