Skip to content

Instantly share code, notes, and snippets.

./testrunner -i cbft.ini -p skip-cleanup=True -t fts.stable_topology_fts.StableTopFTS.test_facets,items=100,query="""
{"match": "emp", "field":"type"}
""",facets=terms,cluster=D+F
Global Test input params:
{'cluster_name': 'cbft',
'ini': 'cbft.ini',
'num_nodes': 1,
'skip-cleanup': 'True'}
Logs will be stored at /Users/mschoch/Documents/research/cbsource/testrunner/logs/testrunner-17-Mar-18_08-09-08/test_1
$ ./testrunner -i cbft.ini -c conf/fts/py-fts-rbac.conf -p cluster=D+F
filename: conf/fts/py-fts-rbac.conf
prefix: fts.rbac_fts.RbacFTS
Global Test input params:
{'cluster': 'D+F',
'cluster_name': 'cbft',
'conf_file': 'conf/fts/py-fts-rbac.conf',
'ini': 'cbft.ini',
'num_nodes': 1,
'spec': 'py-fts-rbac'}
Martys-MacBook-Pro:moss mschoch$ go test -run=xxx -bench=BenchmarkStore_numItems1M_keySize20_valSize100_batchSize100_ACCESSES_afterLoad_domainTo100K_ops200K_batchSize100
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
spec: {numItems:1000000 keySize:20 valSize:100 batchSize:100 randomLoad:false noCopyValue:true accesses:[{after:load kind:w domainFrom:0 domainTo:100000 ops:200000 random:true pctGet:0 batchSize:100} {after:iter kind:r domainFrom:0 domainTo:100000 ops:200000 random:true pctGet:1 batchSize:0}]}
open || time: 0 (ms) | 0 wop/s | 0 wkb/s | 0 rop/s | 0 rkb/s || cumulative: 0 wop/s | 0 wkb/s | 0 rop/s | 0 rkb/s
load || time: 1260 (ms) | 793650 wop/s | 93005 wkb/s | 0 rop/s | 0 rkb/s || cumulative: 793650 wop/s | 93005 wkb/s | 0 rop/s | 0 rkb/s
<<access 0: {afte
Martys-MacBook-Pro:moss mschoch$ go test -run=xxx -bench=BenchmarkStore_numItems1M_keySize20_valSize100_batchSize100_ACCESSES_afterLoad_domainTo100K_ops200K_batchSize100
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
spec: {numItems:1000000 keySize:20 valSize:100 batchSize:100 randomLoad:false noCopyValue:true accesses:[{after:load kind:w domainFrom:0 domainTo:100000 ops:200000 random:true pctGet:0 batchSize:100} {after:iter kind:r domainFrom:0 domainTo:100000 ops:200000 random:true pctGet:1 batchSize:0}]}
open || time: 0 (ms) | 0 wop/s | 0 wkb/s | 0 rop/s | 0 rkb/s || cumulative: 0 wop/s | 0 wkb/s | 0 rop/s | 0 rkb/s
load || time: 1146 (ms) | 872600 wop/s | 102257 wkb/s | 0 rop/s | 0 rkb/s || cumulative: 872600 wop/s | 102257 wkb/s | 0 rop/s | 0 rkb/s
<<access 0: {afte
Search Index Request
/api/index/xyz        ------> IndexAlias
                              -  Local pindex 1
                              -  Local pindex 2
                              -  Remote node B    -------------> node b /api/index/xyz (limited to pindex 3, 4)
                                                                  Index Alias
                                                                    - Local pindex 3
 - Local pindex 4
@mschoch
mschoch / err.md
Last active February 23, 2017 19:55

2016-12-22 22:26:47 | ERROR | MainProcess | test_thread | [rest_client._http_request] http://10.111.151.103:8094/api/index/default_index/query error 400 reason: status: 400, content: rest_index: Query, indexName: default_index, requestBody: {"from": 0, "indexName": "default_index", "fields": [], "explain": false, "ctl": {"timeout": 60000, "consistency": {"vectors": {}, "level": ""}}, "query": {"query": "mutated:>0"}, "size": 10000000}, req: &http.Request{Method:"POST", URL:(url.URL)(0xc42d9d6680), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/json"}, "Authorization":[]string{"Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=="}, "Accept":[]string{"/*"}, "User-Agent":[]string{"Python-httplib2/$Rev: 259 $"}, "Accept-Encoding":[]string{"identity"}, "Content-Length":[]string{"197"}}, Body:(*http.body)(0xc42227fb40), ContentLength:197, TransferEncoding:[]string(nil), Close:false, Host:"10.111.151.103:8094", Form:url.Values{}, PostForm:url.Values{}, MultipartForm:(*mult

curl -XPUT -H "Content-Type: application/json" \
http://localhost:9200/api/index/custom_index \
-d '{
"type": "fulltext-index",
"name": "custom_index",
"uuid": "3f7fbd72608f0c69",
"sourceType": "couchbase",
"sourceName": "default",
"sourceUUID": "",
"planParams": {
angular.js:12520 SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at blevePIndexInitController (http://localhost:9000/_p/ui/fts/uia/fts.js:459:36)
at http://localhost:9000/_p/ui/fts/static/js/index.js:499:55
at http://localhost:9000/ui/libs/angular.js:10296:13
at processQueue (http://localhost:9000/ui/libs/angular.js:14792:28)
at http://localhost:9000/ui/libs/angular.js:14808:27
at Scope.$eval (http://localhost:9000/ui/libs/angular.js:16052:28)
at Scope.$digest (http://localhost:9000/ui/libs/angular.js:15870:31)
at Scope.$apply (http://localhost:9000/ui/libs/angular.js:16160:24)
$ git pull
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (9/9), done.
From github.com:vmx/rocksdb
6a12821..dd1a717 rtree-table -> origin/rtree-table
Updating 6a12821..dd1a717
Fast-forward
README.md | 2 +-
$ git clone git@github.com:vmx/rocksdb.git
Cloning into 'rocksdb'...
remote: Counting objects: 46706, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 46706 (delta 15), reused 0 (delta 0), pack-reused 46672
Receiving objects: 100% (46706/46706), 88.54 MiB | 19.70 MiB/s, done.
Resolving deltas: 100% (34636/34636), done.
Checking connectivity... done.
$ cd rocksdb/
$ make static_lib