This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| private final ConcurrentMap<String, ShardInfo> indexShards = new MapMaker().makeMap(); | |
| private static final Logger logger = Logger.getLogger(CassandraIndexManager.class); | |
| private class ShardInfo | |
| { | |
| public final String indexName; | |
| public final long ttl = System.currentTimeMillis() | |
| + (expirationTime * 1000) - 1000; | |
| public final ConcurrentSkipListMap<Integer, NodeInfo> shards = new ConcurrentSkipListMap<Integer, NodeInfo>(); |
This file contains hidden or 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 | |
| solandra.compression = false | |
| #The consistency level of solandra reads and writes | |
| solandra.consistency = ONE | |
| #The number of milliseconds solandra will wait before | |
| #checking to see if it's cache needs to be invalidated |
This file contains hidden or 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
| HTTP ERROR 500 | |
| Problem accessing /solandra/emailreal.user-new-3062/select. Reason: | |
| Field cache data missing | |
| java.io.IOException: Field cache data missing | |
| at org.apache.lucene.search.LucandraFieldCache.getFieldCacheEntries(LucandraFieldCache.java:852) | |
| at org.apache.lucene.search.LucandraFieldCache.access$000(LucandraFieldCache.java:36) | |
| at org.apache.lucene.search.LucandraFieldCache$LongCache.createValue(LucandraFieldCache.java:625) |