Skip to content

Instantly share code, notes, and snippets.

@weilliu
weilliu / gist:63ea9cb58427fa3c50ed
Created September 2, 2015 00:05
rebalance 1 index ndoe out
[root@centos-64-x64 sdkd-java]# java -jar target/sdkd-java-0.5-SNAPSHOT.jar -listen 8050
Sep 01, 2015 4:59:10 PM com.couchbase.client.core.CouchbaseCore <init>
INFO: CouchbaseEnvironment: {sslEnabled=false, sslKeystoreFile='cacerts', sslKeystorePassword='couchbase', queryEnabled=false, queryPort=8093, bootstrapHttpEnabled=true, bootstrapCarrierEnabled=true, bootstrapHttpDirectPort=8091, bootstrapHttpSslPort=18091, bootstrapCarrierDirectPort=11210, bootstrapCarrierSslPort=11207, ioPoolSize=4, computationPoolSize=4, responseBufferSize=16384, requestBufferSize=16384, kvServiceEndpoints=1, viewServiceEndpoints=1, queryServiceEndpoints=1, ioPool=NioEventLoopGroup, coreScheduler=CoreScheduler, eventBus=DefaultEventBus, packageNameAndVersion=couchbase-jvm-core/1.2.0-SNAPSHOT (git: 1.1.2-80-g0de035a), dcpEnabled=false, retryStrategy=BestEffort, maxRequestLifetime=75000, retryDelay=ExponentialDelay{growBy 1.0 MICROSECONDS; lower=100, upper=100000}, reconnectDelay=ExponentialDelay{growBy 1.0 MILLISECONDS; lower=32, up
@weilliu
weilliu / gist:2e48752e3cc798b3d538
Created August 31, 2015 23:18
Failover and re adding two query and index node
============================================================
Running ReAdd2-N1QL
failover/next_action=FO_READD_REBALANCE
workload=N1QLWorkloadGroup
failover/count=2
failover/next_delay=45
testcase=FailoverScenario
Logging to /root/sdkd-2.0/sdkdclient-ng/log/SDK-SDK/CB-4.0.0-4047-enterprise/ReAdd2-N1QL/08-31-15/083414/7514d21ce28c7ca714b031f6460df3a6
To re-run the test, copy/paste the following into the shell.
@weilliu
weilliu / gist:9296b8abd004cdeb09eb
Created August 31, 2015 22:44
server restart index node log
============================================================
Running SvcRestart[SingleService]-N1QL
workload=N1QLWorkloadGroup
service/action=kill
service/restore_delay=5
service/name=SYSV_SERVICE
testcase=ServiceFailureScenario
service/count=2
Logging to /root/sdkd-2.0/sdkdclient-ng/log/SDK-SDK/CB-4.0.0-4047-enterprise/SvcRestart[SingleService]-N1QL/08-31-15/081560/947dd4558a8fa1944b423858c82fcf00
@weilliu
weilliu / gist:2c2c9fa0170aa9e5eee5
Created August 31, 2015 22:20
swap index node log
[root@centos-64-x64 sdkdclient-ng]# ./brun -I ../sdkd-cluster.args ../weili-vm.ini -A ../S3Creds_tmp --testsuite-variants "N1QL" --testsuite-test "Rb1SwapIndex[SingleService]" --testsuite-suite suites/SingleServiceN1QL.json --n1ql-nthreads 1 --n1ql-index-engine view --n1ql-index-type primary --n1ql-prepared false --n1ql-parameterized true -d all:debug --ramp=10 --no-upload
[0.21 INFO] (BRun run:457) Initializing history database
[0.93 DEBUG] (Nodelist <init>:364) Number of active nodes 4
============================================================
Running Rb1SwapIndex[SingleService]-N1QL
rebalance/count=1
workload=N1QLWorkloadGroup
rebalance/mode=swap
rebalance/services=index
@weilliu
weilliu / gist:aba4d8ae95e838c561c5
Created August 31, 2015 22:04
Swap 1 query node log
============================================================
Running Rb1SwapQuery[SingleService]-N1QL
rebalance/count=1
workload=N1QLWorkloadGroup
rebalance/mode=swap
rebalance/services=n1ql
testcase=RebalanceScenario
Logging to /root/sdkd-2.0/sdkdclient-ng/log/SDK-SDK/CB-4.0.0-4047-enterprise/Rb1SwapQuery[SingleService]-N1QL/08-31-15/079145/1758a7f835fd4e9a91c5dc2ef26456b5
To re-run the test, copy/paste the following into the shell.
@weilliu
weilliu / gist:a39831fdfa0c73d6acfa
Created August 31, 2015 21:38
reblance out 2 nodes log
============================================================
Running Rb2Out-N1QL
rebalance/count=2
workload=N1QLWorkloadGroup
rebalance/mode=out
testcase=RebalanceScenario
Logging to /root/sdkd-2.0/sdkdclient-ng/log/SDK-SDK/CB-4.0.0-4047-enterprise/Rb2Out-N1QL/08-31-15/076917/2c91fb031a38689ac12358de7a984b7b
To re-run the test, copy/paste the following into the shell.
You may also copy/paste (except the first line) into an argfile
@weilliu
weilliu / gist:b0a74feb3b95ee8052ea
Last active August 31, 2015 22:43
ServerRestart query node log
============================================================
Running SvcRestart[SingleService]-N1QL
workload=N1QLWorkloadGroup
service/action=kill
service/restore_delay=5
service/name=SYSV_SERVICE
testcase=ServiceFailureScenario
service/count=2
Logging to /root/sdkd-2.0/sdkdclient-ng/log/SDK-SDK/CB-4.0.0-4047-enterprise/SvcRestart[SingleService]-N1QL/08-31-15/081118/f1a48f1bb259d76fd753678b96082f29
@weilliu
weilliu / gist:50f3c3a5f29ff1dc3234
Created August 28, 2015 18:28
servert restart view errors log
[root@CentOS7_template sdkdclient-ng]# sudo ./brun -I ../../../java-situational/sdkd-cluster.args-2.0 -A ../../../java-situational/S3Creds_tmp -I ../../../java-situational/ng-info-2.0.ini --cluster-2inodes-count 0 --cluster-n1qlnodes-count 0 --workload ViewWorkloadGroup --views-nthreads 1 --testsuite-test SvcRestart -d all:debug
[0.21 INFO] (BRun run:449) Initializing S3
[0.79 INFO] (BRun run:454) Initializing history database
[1.28 DEBUG] (Nodelist <init>:357) Number of active nodes 4
============================================================
Running SvcRestart-KV
service/action=kill
service/restore_delay=5
service/name=SYSV_SERVICE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project kafka-test: Compilation failure: Compilation failure:
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[8,18] error: package kafka.utils does not exist
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[10,7] error: cannot access Encoder
[ERROR] class file for kafka.serializer.Encoder not found
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/SimpleEncoder.java:[11,31] error: cannot find symbol
[ERROR] class SimpleEncoder
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/Example.java:[14,24] error: cannot find symbol
[ERROR] class Builder
[ERROR] /root/kafka/kafka-test/src/main/java/com/kafka/Example.java:[20,67] error: no suitable method found for create(DefaultCouchbaseKafkaEnvironment)
Wei-Lis-MacBook-Pro:sdkdclient-ng wei-li$ ./brun -A S3Creds_tmp -I ../weili-vm.ini -I ../sdkd-cluster.args --T "passthrough" --workload N1QLWorkloadGroup -d all:debug
[0.10 INFO] (BRun run:441) Initializing S3
[0.37 INFO] (BRun run:446) Initializing history database
[0.61 DEBUG] (Nodelist <init>:355) Number of active nodes 1
============================================================
Running passthrough-KV
basic/wait=4
testcase=BasicScenario
Logging to /Users/wei-li/repo/couchbase/sdkd-2.0/sdkdclient-ng/log/SDK-SDK/CB-3.5.0-1049/passthrough-KV/01-29-15/070010/0c2ec4728ffa9937e2fc1c74d56bd710