Hello,
I’ve just fresh installed couchbase server community version on single CentOS 6 host with couchbase Java SDK v2.3.4.
long story short,
I’ve connected to couchbase server successfully with following code:
couchbaseEnvironment = DefaultCouchbaseEnvironment.builder().build();
cluster = CouchbaseCluster.create(couchbaseEnvironment, hosts);
bucket = cluster.openBucket(CB_INFO.BUCKET_NAME);
and I’ve done nothing after that.
after connecting to the server, log says,
2016-10-12 16:58:58.124 [INFO ] SLMain::main(42) - COUCHBASE::CONNECTION::INITIALIZED
2016-10-12 16:58:58.264 [INFO ] SLMain::run(68) - CONNECTION::COUCHBASE(OK)
2016-10-12 16:59:03.264 [INFO ] SLMain::run(68) - CONNECTION::COUCHBASE(OK)
2016-10-12 16:59:06.898 [DEBUG] ConfigurationProvider::debug(85) - Received signal for outdated configuration.
2016-10-12 16:59:06.907 [DEBUG] ConfigurationProvider::debug(90) - New Bucket default config proposed.
2016-10-12 16:59:06.912 [DEBUG] CarrierRefresher::debug(90) - Completed refreshing config for bucket "default"
2016-10-12 16:59:08.265 [INFO ] SLMain::run(68) - CONNECTION::COUCHBASE(OK)
2016-10-12 16:59:13.264 [INFO ] SLMain::run(68) - CONNECTION::COUCHBASE(OK)
2016-10-12 16:59:16.896 [DEBUG] ConfigurationProvider::debug(85) - Received signal for outdated configuration.
2016-10-12 16:59:16.902 [DEBUG] ConfigurationProvider::debug(90) - New Bucket default config proposed.
2016-10-12 16:59:16.905 [DEBUG] CarrierRefresher::debug(90) - Completed refreshing config for bucket "default"
2016-10-12 16:59:18.265 [INFO ] SLMain::run(68) - CONNECTION::COUCHBASE(OK)
as you can see, configuration provider keeps receiving “outdated configuration” every 10 seconds.
I have no idea why this happens and yet know the effects.
I’ve tried changing all the environment configurations and sdk versions from 2.0 to 2.3 but the results are the same.
I don’t know what to do and what should do.
has anybody experienced this? or have solution to this?
EDIT: adding trace logs
2016-10-12 18:04:19.139 [DEBUG] ConfigurationProvider::debug(85) - Received signal for outdated configuration.
2016-10-12 18:04:19.141 [TRACE] LoggingHandler::trace(41) - [id: 0x0c1358b6, L:/127.0.0.1:49678 - R:localhost/127.0.0.1:11210] WRITE: 24B
±------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
±-------±------------------------------------------------±---------------+
|00000000| 80 b5 00 00 00 00 00 00 00 00 00 00 00 00 00 15 |…|
|00000010| 00 00 00 00 00 00 00 00 |… |
±-------±------------------------------------------------±---------------+
2016-10-12 18:04:19.141 [TRACE] LoggingHandler::trace(41) - [id: 0x0c1358b6, L:/127.0.0.1:49678 - R:localhost/127.0.0.1:11210] FLUSH
2016-10-12 18:04:19.142 [TRACE] LoggingHandler::trace(41) - [id: 0x0c1358b6, L:/127.0.0.1:49678 - R:localhost/127.0.0.1:11210] RECEIVED: 5079B
±------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
±-------±------------------------------------------------±---------------+
|00000000| 81 b5 00 00 00 00 00 00 00 00 13 bf 00 00 00 15 |…|
|00000010| 00 00 00 00 00 00 00 00 7b 22 72 65 76 22 3a 31 |…{“rev”:1|
|00000020| 35 2c 22 6e 61 6d 65 22 3a 22 64 65 66 61 75 6c |5,“name”:“defaul|
|00000030| 74 22 2c 22 75 72 69 22 3a 22 2f 70 6f 6f 6c 73 |t”,“uri”:"/pools|
|00000040| 2f 64 65 66 61 75 6c 74 2f 62 75 63 6b 65 74 73 |/default/buckets|
|00000050| 2f 64 65 66 61 75 6c 74 3f 62 75 63 6b 65 74 5f |/default?bucket_|
|00000060| 75 75 69 64 3d 64 61 34 62 66 38 33 39 38 33 36 |uuid=da4bf839836|
|00000070| 38 66 35 36 64 34 31 61 63 65 36 62 39 63 30 61 |8f56d41ace6b9c0a|
|00000080| 38 31 32 31 61 22 2c 22 73 74 72 65 61 6d 69 6e |8121a",“streamin|
|00000090| 67 55 72 69 22 3a 22 2f 70 6f 6f 6c 73 2f 64 65 |gUri”:"/pools/de|
|000000a0| 66 61 75 6c 74 2f 62 75 63 6b 65 74 73 53 74 72 |fault/bucketsStr|
|000000b0| 65 61 6d 69 6e 67 2f 64 65 66 61 75 6c 74 3f 62 |eaming/default?b|
|000000c0| 75 63 6b 65 74 5f 75 75 69 64 3d 64 61 34 62 66 |ucket_uuid=da4bf|
|000000d0| 38 33 39 38 33 36 38 66 35 36 64 34 31 61 63 65 |8398368f56d41ace|
|000000e0| 36 62 39 63 30 61 38 31 32 31 61 22 2c 22 6e 6f |6b9c0a8121a",“no|
|000000f0| 64 65 73 22 3a 5b 7b 22 63 6f 75 63 68 41 70 69 |des”:[{“couchApi|
|00000100| 42 61 73 65 22 3a 22 68 74 74 70 3a 2f 2f 24 48 |Base”:“http://$H|
|00000110| 4f 53 54 3a 38 30 39 32 2f 64 65 66 61 75 6c 74 |OST:8092/default|
|00000120| 25 32 42 64 61 34 62 66 38 33 39 38 33 36 38 66 |%2Bda4bf8398368f|
|00000130| 35 36 64 34 31 61 63 65 36 62 39 63 30 61 38 31 |56d41ace6b9c0a81|
|00000140| 32 31 61 22 2c 22 68 6f 73 74 6e 61 6d 65 22 3a |21a”,“hostname”
|00000150| 22 24 48 4f 53 54 3a 38 30 39 31 22 2c 22 70 6f |"$HOST:8091",“po|
|00000160| 72 74 73 22 3a 7b 22 70 72 6f 78 79 22 3a 31 31 |rts”:{“proxy”:11|
|00000170| 32 31 31 2c 22 64 69 72 65 63 74 22 3a 31 31 32 |211,“direct”:112|
|00000180| 31 30 7d 7d 5d 2c 22 6e 6f 64 65 73 45 78 74 22 |10}}],“nodesExt”|
|00000190| 3a 5b 7b 22 73 65 72 76 69 63 65 73 22 3a 7b 22 |:[{“services”:{"|
|000001a0| 6d 67 6d 74 22 3a 38 30 39 31 2c 22 69 6e 64 65 |mgmt":8091,“inde|
|000001b0| 78 41 64 6d 69 6e 22 3a 39 31 30 30 2c 22 69 6e |xAdmin”:9100,“in|
|000001c0| 64 65 78 53 63 61 6e 22 3a 39 31 30 31 2c 22 69 |dexScan”:9101,“i|
|000001d0| 6e 64 65 78 48 74 74 70 22 3a 39 31 30 32 2c 22 |ndexHttp”:9102,"|
|000001e0| 69 6e 64 65 78 53 74 72 65 61 6d 49 6e 69 74 22 |indexStreamInit"|
|000001f0| 3a 39 31 30 33 2c 22 69 6e 64 65 78 53 74 72 65 |:9103,“indexStre|
|00000200| 61 6d 43 61 74 63 68 75 70 22 3a 39 31 30 34 2c |amCatchup”:9104,|
|00000210| 22 69 6e 64 65 78 53 74 72 65 61 6d 4d 61 69 6e |“indexStreamMain|
|00000220| 74 22 3a 39 31 30 35 2c 22 63 61 70 69 22 3a 38 |t”:9105,“capi”:8|
|00000230| 30 39 32 2c 22 70 72 6f 6a 65 63 74 6f 72 22 3a |092,“projector”
|00000240| 39 39 39 39 2c 22 6b 76 22 3a 31 31 32 31 30 2c |9999,“kv”:11210,|
|00000250| 22 6d 6f 78 69 22 3a 31 31 32 31 31 2c 22 6e 31 |“moxi”:11211,“n1|
|00000260| 71 6c 22 3a 38 30 39 33 7d 2c 22 74 68 69 73 4e |ql”:8093},“thisN|
|00000270| 6f 64 65 22 3a 74 72 75 65 7d 5d 2c 22 6e 6f 64 |ode”:true}],“nod|
|00000280| 65 4c 6f 63 61 74 6f 72 22 3a 22 76 62 75 63 6b |eLocator”:“vbuck|
|00000290| 65 74 22 2c 22 75 75 69 64 22 3a 22 64 61 34 62 |et”,“uuid”:“da4b|
|000002a0| 66 38 33 39 38 33 36 38 66 35 36 64 34 31 61 63 |f8398368f56d41ac|
|000002b0| 65 36 62 39 63 30 61 38 31 32 31 61 22 2c 22 64 |e6b9c0a8121a”,“d|
|000002c0| 64 6f 63 73 22 3a 7b 22 75 72 69 22 3a 22 2f 70 |docs”:{“uri”:"/p|
|000002d0| 6f 6f 6c 73 2f 64 65 66 61 75 6c 74 2f 62 75 63 |ools/default/buc|
|000002e0| 6b 65 74 73 2f 64 65 66 61 75 6c 74 2f 64 64 6f |kets/default/ddo|
|000002f0| 63 73 22 7d 2c 22 76 42 75 63 6b 65 74 53 65 72 |cs"},“vBucketSer|
|00000300| 76 65 72 4d 61 70 22 3a 7b 22 68 61 73 68 41 6c |verMap”:{“hashAl|
|00000310| 67 6f 72 69 74 68 6d 22 3a 22 43 52 43 22 2c 22 |gorithm”:“CRC”,"|
|00000320| 6e 75 6d 52 65 70 6c 69 63 61 73 22 3a 30 2c 22 |numReplicas":0,"|
|00000330| 73 65 72 76 65 72 4c 69 73 74 22 3a 5b 22 24 48 |serverList":["$H|
|00000340| 4f 53 54 3a 31 31 32 31 30 22 5d 2c 22 76 42 75 |OST:11210"],“vBu|
|00000350| 63 6b 65 74 4d 61 70 22 3a 5b 5b 30 5d 2c 5b 30 |cketMap”:[[0],[0|
|00000360| 5d 2c 5b 30 5d 2c 5b 30 5d 2c 5b 30 5d 2c 5b 30 |],[0],[0],[0],[0|
… SKIP
|00001340| 5d 2c 5b 30 5d 2c 5b 30 5d 2c 5b 30 5d 2c 5b 30 |],[0],[0],[0],[0|
|00001350| 5d 2c 5b 30 5d 2c 5b 30 5d 5d 7d 2c 22 62 75 63 |],[0],[0]]},“buc|
|00001360| 6b 65 74 43 61 70 61 62 69 6c 69 74 69 65 73 56 |ketCapabilitiesV|
|00001370| 65 72 22 3a 22 22 2c 22 62 75 63 6b 65 74 43 61 |er”:"",“bucketCa|
|00001380| 70 61 62 69 6c 69 74 69 65 73 22 3a 5b 22 63 62 |pabilities”:[“cb|
|00001390| 68 65 6c 6c 6f 22 2c 22 74 6f 75 63 68 22 2c 22 |hello”,“touch”,"|
|000013a0| 63 6f 75 63 68 61 70 69 22 2c 22 63 63 63 70 22 |couchapi",“cccp”|
|000013b0| 2c 22 78 64 63 72 43 68 65 63 6b 70 6f 69 6e 74 |,“xdcrCheckpoint|
|000013c0| 69 6e 67 22 2c 22 6e 6f 64 65 73 45 78 74 22 2c |ing”,“nodesExt”,|
|000013d0| 22 64 63 70 22 5d 7d |“dcp”]} |
±-------±------------------------------------------------±---------------+
2016-10-12 18:01:09.150 [TRACE] AbstractGenericHandler::trace(65) - [localhost/127.0.0.1:11210][KeyValueEndpoint]: Started decoding of GetBucketConfigRequest{observable=rx.subjects.AsyncSubject@38e314be, bucket=‘default’}
2016-10-12 18:01:09.151 [TRACE] AbstractGenericHandler::trace(65) - [localhost/127.0.0.1:11210][KeyValueEndpoint]: Finished decoding of GetBucketConfigRequest{observable=rx.subjects.AsyncSubject@38e314be, bucket=‘default’}
2016-10-12 18:01:09.160 [DEBUG] ConfigurationProvider::debug(90) - New Bucket default config proposed.
2016-10-12 18:01:09.160 [TRACE] ConfigurationProvider::trace(60) - Proposed raw config is {“rev”:15,“name”:“default”,“uri”:"/pools/default/buckets/default?bucket_uuid=da4bf8398368f56d41ace6b9c0a8121a",“streamingUri”:"/pools/default/bucketsStreaming/default?bucket_uuid=da4bf8398368f56d41ace6b9c0a8121a",“nodes”:[{“couchApiBase”:“http://localhost:8092/default%2Bda4bf8398368f56d41ace6b9c0a8121a",“hostname”:“localhost:8091”,“ports”:{“proxy”:11211,“direct”:11210}}],“nodesExt”:[{“services”:{“mgmt”:8091,“indexAdmin”:9100,“indexScan”:9101,“indexHttp”:9102,“indexStreamInit”:9103,“indexStreamCatchup”:9104,“indexStreamMaint”:9105,“capi”:8092,“projector”:9999,“kv”:11210,“moxi”:11211,“n1ql”:8093},“thisNode”:true}],“nodeLocator”:“vbucket”,“uuid”:“da4bf8398368f56d41ace6b9c0a8121a”,“ddocs”:{“uri”:"/pools/default/buckets/default/ddocs"},“vBucketServerMap”:{“hashAlgorithm”:“CRC”,“numReplicas”:0,“serverList”:[“localhost:11210”],“vBucketMap”:[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0]]},“bucketCapabilitiesVer”:"",“bucketCapabilities”:[“cbhello”,“touch”,“couchapi”,“cccp”,“xdcrCheckpointing”,“nodesExt”,"dcp”]}
2016-10-12 18:01:09.168 [TRACE] ConfigurationProvider::trace(55) - Not applying new configuration, older rev ID.
2016-10-12 18:01:09.168 [DEBUG] CarrierRefresher::debug(90) - Completed refreshing config for bucket “default”