2017-10-06 63 views
0

我使用example config啓動帶有磁盤存儲的Geode。然後,如果我停止服務器並重新啓動它,我得到:不能停止,然後啓動帶磁盤存儲的Geode服務器

異常線程「main」 java.lang.IllegalStateException: Detected multiple disk store initialization files named "BACKUPDeal.if". This disk store directories must only contain one initialization file.

如果我刪除了,如果文件,那麼錯誤是:Exception in thread "main" java.lang.IllegalStateException: The init file "D:\deal\BACKUPdeal.if" does not exist. If it no longer exists then delete the following files to be able to create this disk store. Existing oplogs are: [D:\deal\BACKUPdeal_1.drf, D:\deal\BACKUPdeal_1.crf]

缺少什麼我在這裏?

+1

您能否詳細說明您正在運行的啓動/停止服務器以及您使用的任何配置/屬性的確切命令? –

+0

@JensD其中' d:\交易 <磁盤-DIR DIR-大小= 「20480」> d:\交易 ' – rupweb

+0

AARGH所以它的使用相同的磁盤目錄位置兩次.... – rupweb

回答

0

example config使用2個磁盤存儲和我改名這些同一家商店,因此無法初始化2個磁盤存儲出1.要解決這個問題,我刪除從配置第二盤店,像這樣:

<disk-store name="deal" compaction-threshold="40" auto-compact="false" allow-force-compaction="true" max-oplog-size="512" queue-size="10000" time-interval="15" write-buffer-size="65536" disk-usage-warning-percentage="80" disk-usage-critical-percentage="98"> <disk-dirs> <disk-dir>d:\deal</disk-dir> </disk-dirs> </disk-store>