druid icon indicating copy to clipboard operation
druid copied to clipboard

druid cluster in local computer

Open birdspring opened this issue 10 years ago • 0 comments

I'm a newcomer to druid. When I followed the manual and was deploying a druid cluster, everything went right until I started historical node, I met the error like this :

"Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 5726797824, 0) failed; error='Cannot allocate memory' (errno=12) There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (mmap) failed to map 5726797824 bytes for committing reserved memory."

I deployed the cluster on my local computer, I don't know why the JVM memory is insufficient, because I can run the quickstart cluster successfully. Any ideas? Thanks

This is all my common.runtime.properties:

Zookeeper

druid.zk.service.host=localhost druid.zk.paths.base=/druid

Metadata storage

For MySQL: druid.extensions.loadList=["mysql-metadata-storage"] druid.metadata.storage.type=mysql druid.metadata.storage.connector.connectURI=jdbc:mysql://localhost:3306/druid druid.metadata.storage.connector.user=root druid.metadata.storage.connector.password=123456

Deep storage

For local disk (only viable in a cluster if this is a network mount): druid.storage.type=local druid.storage.storageDirectory=var/druid/segments

Indexing service logs

For local disk (only viable in a cluster if this is a network mount): druid.indexer.logs.type=file druid.indexer.logs.directory=var/druid/indexing-logs

Service discovery

druid.selectors.indexing.serviceName=druid/overlord druid.selectors.coordinator.serviceName=druid/coordinator

Monitoring

druid.monitoring.monitors=["com.metamx.metrics.JvmMonitor"] druid.emitter=logging druid.emitter.logging.logLevel=info

birdspring avatar Jul 06 '16 01:07 birdspring