Project

General

Profile

« Previous | Next » 

Revision 7754

Added by Jing Tao over 11 years ago

set the dataone.hazelcast.location.clientconfig property to be the local config file. It will be used in the d1_cn_index_processor

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/MetacatIndexServlet.java
115 115
    				"/WEB-INF/hazelcast.xml";
116 116
			// set it for other parts of the code
117 117
			Settings.getConfiguration().setProperty("dataone.hazelcast.configFilePath", hzConfigFileName);
118
			//set data.hazelcast.location.clientconfig. This property will be used in d1_cn_index_processor module.
119
			//if we don't set this property, d1_cn_index_processor will use the default location /etc/dataone/storage.
120
			Settings.getConfiguration().setProperty("dataone.hazelcast.location.clientconfig", hzConfigFileName);
118 121
		}
119 122
    }
120 123
    

Also available in: Unified diff