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
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"bool": { | |
"should": [ | |
{ | |
"multi_match": { | |
"fields": [ | |
"q_high^2.0", |
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
[2013-12-12T17:52:26.195Z] ERROR: oae-authentication/30370 on app1: An error occurred during login | |
Error: Replay attack. | |
at /opt/oae/node_modules/passport-saml/lib/passport-saml/saml.js:282:27 | |
at try_callback (/opt/oae/node_modules/redis/index.js:580:9) | |
at RedisClient.return_reply (/opt/oae/node_modules/redis/index.js:670:13) | |
at ReplyParser.<anonymous> (/opt/oae/node_modules/redis/index.js:312:14) | |
at ReplyParser.EventEmitter.emit (events.js:95:17) | |
at ReplyParser.send_reply (/opt/oae/node_modules/redis/lib/parser/javascript.js:300:10) | |
at ReplyParser.execute (/opt/oae/node_modules/redis/lib/parser/javascript.js:203:22) | |
at RedisClient.on_data (/opt/oae/node_modules/redis/index.js:535:27) |
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
[2013-12-04T16:20:14.715Z] ERROR: oae-preview-processor/21462 on release0: Could not convert page to html. (stdout="") | |
Error: Command failed: Error: Copying of text from this document is not allowed. | |
at ChildProcess.exithandler (child_process.js:637:15) | |
at ChildProcess.EventEmitter.emit (events.js:98:17) | |
at maybeClose (child_process.js:735:16) | |
at Process.ChildProcess._handle.onexit (child_process.js:802:5) | |
-- | |
stderr: Error: Copying of text from this document is not allowed. | |
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
/opt# mco ping -v | |
The ping application failed to run: undefined method `on_subscribe' for #<MCollective::Connector::Activemq::EventLogger:0x7f47df8a1f00> | |
undefined method `on_subscribe' for #<MCollective::Connector::Activemq::EventLogger:0x7f47df8a1f00> (NoMethodError) | |
from /usr/lib/ruby/gems/1.8/gems/stomp-1.3.1/lib/stomp/connection.rb:276:in `subscribe' <---- | |
from /usr/share/mcollective/plugins/mcollective/connector/activemq.rb:294:in `subscribe' | |
from /usr/lib/ruby/1.8/mcollective/util.rb:208:in `subscribe' | |
from /usr/lib/ruby/1.8/mcollective/util.rb:207:in `each' | |
from /usr/lib/ruby/1.8/mcollective/util.rb:207:in `subscribe' |
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
Nov 23 11:44:04 db0 java.util.concurrent.RejectedExecutionException | |
Nov 23 11:44:04 db0 at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1774) | |
Nov 23 11:44:04 db0 at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:768) | |
Nov 23 11:44:04 db0 at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:215) | |
Nov 23 11:44:04 db0 at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:397) | |
Nov 23 11:44:04 db0 at java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:470) | |
Nov 23 11:44:04 db0 at org.apache.cassandra.io.sstable.SSTableDeletingTask.schedule(SSTableDeletingTask.java:67) | |
Nov 23 11:44:04 db0 at org.apache.cassandra.io.sstable.SSTableReader.releaseReference(SSTableReader.java:826) | |
Nov 23 11:44:04 db0 at org.apache.cassandra.db.DataTracker.removeOldSSTablesSize(DataTracker.java:358) | |
Nov 23 11:44:0 |
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
#!/bin/sh | |
## | |
# Run this script on a fresh ubuntu machine to compile and prepare a | |
# binary pdf2htmlEX package for OAE | |
## | |
# This is evertying will be installed | |
P2H_PREFIX=/tmp/pdf2htmlEX-0.10-bin |
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
db1:~# nodetool ring | |
Exception in thread "main" java.util.NoSuchElementException | |
at com.google.common.collect.LinkedHashMultimap$1.next(LinkedHashMultimap.java:545) | |
at com.google.common.collect.LinkedHashMultimap$1.next(LinkedHashMultimap.java:533) | |
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) | |
at java.util.Collections.max(Collections.java:675) | |
at org.apache.cassandra.tools.NodeCmd.printRing(NodeCmd.java:237) | |
at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:1129) |
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
1. The table with this messageBoxId contains 20 rows: | |
cqlsh:oaeTest> select "threadKey" FROM "MessageBoxMessages" WHERE "messageBoxId" = 'c:camtest:xybzsA1a3V'; | |
threadKey | |
------------------------------ | |
1384193233313| | |
1384193233364| | |
1384193233432| | |
1384193233465| |
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
OAE.tenantRouter.on('get', '/api/content/:contentId', function(req, res) { | |
// ... | |
}); |
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
#!/bin/sh | |
die () { | |
echo >&2 "$@" | |
exit 1 | |
} | |
[ "$#" -eq 1 ] || die "Usage: $0 <bastion host or ip>" | |
ssh -f root@$1 -L 10000:puppet:80 -N |