[
https://issues.apache.org/jira/browse/GEODE-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Smith updated GEODE-310:
----------------------------
Issue Type: Sub-task (was: Bug)
Parent: GEODE-10
> HDFSStore API should be more consistent
> ---------------------------------------
>
> Key: GEODE-310
> URL: https://issues.apache.org/jira/browse/GEODE-310
> Project: Geode
> Issue Type: Sub-task
> Components: hdfs
> Reporter: Kirk Lund
> Assignee: Ashvin
>
> 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)