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
for (int i = 0; i < 2000; i++) { | |
SolrServer serv = new CommonsHttpSolrServer( | |
"http://10.10.6.106:8983/solandra/testmulti.test-" + i); | |
List<SolrInputDocument> sD = new ArrayList<SolrInputDocument>(); | |
for (int j = 0; j < 1000; j++) { | |
SolrInputDocument doc = new SolrInputDocument(); | |
doc.addField("title", "example.com"); | |
String id = UUID.randomUUID().toString(); |
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
<field name="text" type="text" indexed="true" stored="true" termPositions="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
hadoop soft memlock unlimited | |
hadoop hard memlock unlimited | |
hadoop soft nofile 50000 | |
hadoop hard nofile 50000 |
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
diff --git a/README.md b/README.md | |
index 0a0d259..6f4b885 100644 | |
--- a/README.md | |
+++ b/README.md | |
@@ -29,7 +29,7 @@ From the Solandra base directory: | |
mkdir /tmp/cassandra-data | |
ant | |
- cd solandra-app; ./start-solandra.sh | |
+ cd solandra-app; bin/solandra |
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
for token in `python get_initial_tokens.py 10` | |
do | |
echo initial_token: $token | |
sed 's,initial_token:,initial_token:$token' ../resources/cassandra.yaml > $token.yaml | |
done | |
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
Problem accessing /solandra/schema/emailreal/select. Reason: | |
INTERNAL_SERVER_ERROR | |
Caused by: | |
java.lang.NullPointerException | |
at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:160) | |
at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:117) | |
at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:90) | |
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) |
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
#Set to true if you want solandra to compress fields + meta data | |
#This will size on disk at the cost of indexing speed | |
#Compression is google snappy | |
solandra.compression = true | |
#The consistency level of solandra reads and writes | |
solandra.consistency = QUORUM | |
#The number of milliseconds solandra will wait before |
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
#Set to true if you want solandra to compress fields + meta data | |
#This will size on disk at the cost of indexing speed | |
#Compression is google snappy | |
solandra.compression = true | |
#The consistency level of solandra reads and writes | |
solandra.consistency = QUORUM |
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
# Cluster Settings | |
cluster: | |
name: skunkcluster | |
# Gateway Settings | |
#gateway: | |
# recover_after_nodes: 1 | |
# recover_after_time: 5m | |
# expected_nodes: 2 |
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 -XPUT 'http://localhost:9200/all/_settings' -d ' | |
{ | |
"index" : { | |
"merge.policy.merge_factor" : 30 | |
} | |
}' |