This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("create", Engine.Create.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("index", Engine.Index.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("flush", Engine.Flush.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("delete", Engine.Delete.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("delete", Engine.DeleteByQuery.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("optimize", Engine.Optimize.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("refresh", Engine.Refresh.class)); | |
bindEngineMethodToCounterAndAction(parfaitService, RobinEngine.class.getMethod("snapshot", Engine.SnapshotHandler.class));... | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2011-09-01 16:16:58,050][ERROR][bootstrap ] [Man-Beast] {elasticsearch/0.18.0-SNAPSHOT/2011-09-01T02:38:23}: Startup Failed ... | |
- ProvisionException[Guice provision errors: | |
1) Error injecting constructor, java.lang.RuntimeException: java.lang.NullPointerException | |
at com.aconex.elasticsearch.plugin.pcp.ParfaitNetworkService.<init>(Unknown Source) | |
while locating com.aconex.elasticsearch.plugin.pcp.ParfaitNetworkService | |
1 error] | |
RuntimeException[java.lang.NullPointerException] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ES_HOST=http://localhost:9200 | |
# delete & recreate index with defaults | |
curl -XDELETE $ES_HOST/projects | |
curl -XPUT $ES_HOST/projects | |
# configure the Parent mapping type, a 'doc' with a document number and title field to simulate common meta data | |
curl -XPUT $ES_HOST/projects/doc/_mapping -d' | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BulkRequest bulkRequest = new BulkRequestBuilder(client).request(); | |
URL bulkIndexRequest = this.getClass().getResource("es-bulkindex.json"); | |
CountingOutputStream countingOutputStream = new CountingOutputStream(new NullOutputStream()); | |
ByteStreams.copy(bulkIndexRequest.openStream(), countingOutputStream); | |
long numBytes = countingOutputStream.getCount(); | |
bulkRequest.add(ByteStreams.toByteArray(bulkIndexRequest.openStream()), 0, (int) numBytes, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2011-11-17 15:14:57,509][INFO ][index.translog ] [index4.qa.acx] [snaptest][0] updating disable_flush from [false] to [true] | |
[2011-11-17 15:14:57,509][INFO ][index.translog ] [index4.qa.acx] [snaptest][1] updating disable_flush from [false] to [true] | |
[2011-11-17 15:14:57,509][INFO ][index.translog ] [index4.qa.acx] [snaptest][2] updating disable_flush from [false] to [true] | |
[2011-11-17 15:15:19,369][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][1] snapshot (scheduled) to fs:///mnt/esgateway/[qa4][indices][snaptest][1] ... | |
[2011-11-17 15:15:19,408][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][1] snapshot (scheduled) completed to fs:///mnt/esgateway/[qa4][indices][snaptest][1], took [38ms] | |
index : version [1321492168154], number_of_files [1] with total_size [712b], took [7ms] | |
translog : id [1321492168152], number_of_operations [1], took [4ms] | |
[2011-11-17 15:19:33,265][INFO ][index.gateway ] [index4.qa.acx] [qa4][0] updating |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Suspiciously Bad Thread (one of 10 looping around in similar stack elements) | |
New I/O client worker #1-10 daemon (tid:26262/0x6696) | |
at org.elasticsearch.common.netty.util.internal.LinkedTransferQueue.xfer(LinkedTransferQueue.java:630) | |
at org.elasticsearch.common.netty.util.internal.LinkedTransferQueue.poll(LinkedTransferQueue.java:1175) | |
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.processWriteTaskQueue(NioWorker.java:263) | |
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:199) | |
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) | |
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#curl -XGET --user USERNAME:PASSWORD http://localhost:8161/api/jolokia/list | python -m json.tool | |
# | |
{ | |
"request": { | |
"type": "list" | |
}, | |
"status": 200, | |
"timestamp": 1420595652, | |
"value": { | |
"JMImplementation": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#curl --silent -XGET --user admin:admin http://localhost:8161/api/jolokia/read/java.lang:type=Memory/HeapMemoryUsage | python -m json.tool | |
{ | |
"request": { | |
"attribute": "HeapMemoryUsage", | |
"mbean": "java.lang:type=Memory", | |
"type": "read" | |
}, | |
"status": 200, | |
"timestamp": 1420596076, | |
"value": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: pmchart [13806] | |
Path: /Applications/pmchart.app/Contents/MacOS/pmchart | |
Identifier: io.pcp.pmchart | |
Version: ??? | |
Code Type: X86-64 (Native) | |
Parent Process: bash [91966] | |
Responsible: iTerm [90286] | |
User ID: 501 | |
Date/Time: 2015-08-10 16:43:57.313 +1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pmchart -z -S@07:00 -a 20150807.0 -c ~/.pcp/pmchart/mea-activemq-failure -t2min |
OlderNewer