Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-39654

export data with json format failed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Test Blocker
    • Resolution: Duplicate
    • Cheshire-Cat
    • None
    • tools
    • Untriaged
    • 1
    • Yes

    Description

      Install Couchbase server 7.0.0-2208 on 2 centos 7.6 servers.

      Set services kv,index,n1ql,fts for node 224 and add node 225 with services kv,index,n1ql,eventing

      Create default bucket.

      Load 1K docs to default bucket.

      /opt/couchbase/bin/cbworkloadgen -n 172.23.121.224:8091 -u Administrator -p 'password' -j -i 1000 -b default 

      Run export data with json format 

       /opt/couchbase/bin/cbexport json -c http://172.23.121.224:8091 -u Administrator -p 'password'  -b default -f list  -o /tmp/export172.23.121.224/default -t 4

       

      Export failed with error: 

      'Json export failed: failed to execute cluster operations: failed to execute bucket operations: failed to transfer bucket data for bucket \'default\': failed to transfer key value data: failed to transfer key value data: failed to initilise worker 0: failed to get gocbcore DCP agent: agent failed to connect to the cluster: unambiguous timeout | {"InnerError":{"InnerError":{"InnerError":{},"Message":"unambiguous timeout"}},"OperationID":"WaitUntilReady","Opaque":"","TimeObserved":30000134995,"RetryReasons":null,"RetryAttempts":0,"LastDispatchedTo":"","LastDispatchedFrom":"","LastConnectionID":""}' 

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Here is output from export run

            [root@s44015 ~]# /opt/couchbase/bin/cbexport json -c http://172.23.121.224:8091 -u Administrator -p 'password'  -b default -f list  -o /tmp/export172.23.121.224/default -t 4 -v
            2020-05-29T11:47:55.942-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200
            2020-05-29T11:47:55.955-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets/default 200
            2020-05-29T11:47:55.957-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets/default/collections 200
            2020-05-29T11:47:55.958-07:00 (Plan) Transferring Eventing metadata
            2020-05-29T11:47:55.963-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:55.968-07:00 (Rest) GET http://172.23.121.225:8096/api/v1/export 200
            2020-05-29T11:47:55.968-07:00 (Plan) Successfully transferred Eventing metadata
            2020-05-29T11:47:55.968-07:00 (Plan) Transferring full text index aliases
            2020-05-29T11:47:55.970-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:55.974-07:00 (Rest) GET http://172.23.121.224:8094/api/index 200
            2020-05-29T11:47:55.975-07:00 (Plan) Successfully transferred full text index aliases
            2020-05-29T11:47:55.975-07:00 (Plan) Transferring bucket configuration for 'default' to 'default'
            2020-05-29T11:47:55.985-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200
            2020-05-29T11:47:55.986-07:00 (Plan) Successfully transferred bucket configuration for 'default' to 'default'
            2020-05-29T11:47:55.986-07:00 (Plan) Transferring Analytics metadata
            2020-05-29T11:47:55.988-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:55.988-07:00 (Plan) Successfully transferred Analytics metadata
            2020-05-29T11:47:55.988-07:00 (Plan) Transferring full text index definitions for 'default' to 'default'
            2020-05-29T11:47:55.989-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:55.992-07:00 (Rest) GET http://172.23.121.224:8094/api/index 200
            2020-05-29T11:47:55.993-07:00 (Plan) Successfully transferred full text index definitions for 'default' to 'default'
            2020-05-29T11:47:55.993-07:00 (Plan) Transferring GSI index definitions for default to default
            2020-05-29T11:47:55.994-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:56.043-07:00 (Rest) GET http://172.23.121.224:9102/getIndexMetadata?bucket=default 200
            2020-05-29T11:47:56.043-07:00 (Plan) Successfully transferred GSI index definitions for default to default
            2020-05-29T11:47:56.043-07:00 (Plan) Transferring views definitions from 'default' to 'default'
            2020-05-29T11:47:56.054-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200
            2020-05-29T11:47:56.056-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:56.059-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets/default/ddocs 200
            2020-05-29T11:47:56.059-07:00 (Plan) Successfully transferred views definitions from 'default' to 'default'
            2020-05-29T11:47:56.059-07:00 (Plan) Executing queries against 'default' from 'default'
            2020-05-29T11:47:56.059-07:00 (Plan) Successfully executed queries against 'default' from 'default'
            2020-05-29T11:47:56.059-07:00 (Plan) Checking for data movement restrictions between default and default
            2020-05-29T11:47:56.070-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200
            2020-05-29T11:47:56.083-07:00 (Rest) GET http://172.23.121.224:8091/pools/default 200
            2020-05-29T11:47:56.083-07:00 Transferring from Couchbase Server 7.0.0
            2020-05-29T11:47:56.083-07:00 (Plan) Successfully checked for data movement restrictions between default and default
            2020-05-29T11:47:56.083-07:00 (Plan) Deciding which key value data to transfer for default
            2020-05-29T11:47:56.085-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:47:58.316-07:00 (Plan) Successfully decided which key value data to transfer for default
            2020-05-29T11:47:58.316-07:00 (Plan) Transferring new key value data for default to default
            2020-05-29T11:47:58.320-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200
            2020-05-29T11:48:28.322-07:00 Json export failed: failed to execute cluster operations: failed to execute bucket operations: failed to transfer bucket data for bucket 'default': failed to transfer key value data: failed to transfer key value data: failed to initilise worker 0: failed to get gocbcore DCP agent: agent failed to connect to the cluster: unambiguous timeout | {"InnerError":{"InnerError":{"InnerError":{},"Message":"unambiguous timeout"}},"OperationID":"WaitUntilReady","Opaque":"","TimeObserved":30000352850,"RetryReasons":null,"RetryAttempts":0,"LastDispatchedTo":"","LastDispatchedFrom":"","LastConnectionID":""}
            Json export failed: failed to execute cluster operations: failed to execute bucket operations: failed to transfer bucket data for bucket 'default': failed to transfer key value data: failed to transfer key value data: failed to initilise worker 0: failed to get gocbcore DCP agent: agent failed to connect to the cluster: unambiguous timeout | {"InnerError":{"InnerError":{"InnerError":{},"Message":"unambiguous timeout"}},"OperationID":"WaitUntilReady","Opaque":"","TimeObserved":30000352850,"RetryReasons":null,"RetryAttempts":0,"LastDispatchedTo":"","LastDispatchedFrom":"","LastConnectionID":""}
            [root@s44015 ~]#  

             

            thuan Thuan Nguyen added a comment - Here is output from export run [root@s44015 ~]# /opt/couchbase/bin/cbexport json -c http://172.23.121.224:8091 -u Administrator -p 'password'  -b default -f list  -o /tmp/export172.23.121.224/default -t 4 -v 2020-05-29T11:47:55.942-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200 2020-05-29T11:47:55.955-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets/default 200 2020-05-29T11:47:55.957-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets/default/collections 200 2020-05-29T11:47:55.958-07:00 (Plan) Transferring Eventing metadata 2020-05-29T11:47:55.963-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:55.968-07:00 (Rest) GET http://172.23.121.225:8096/api/v1/export 200 2020-05-29T11:47:55.968-07:00 (Plan) Successfully transferred Eventing metadata 2020-05-29T11:47:55.968-07:00 (Plan) Transferring full text index aliases 2020-05-29T11:47:55.970-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:55.974-07:00 (Rest) GET http://172.23.121.224:8094/api/index 200 2020-05-29T11:47:55.975-07:00 (Plan) Successfully transferred full text index aliases 2020-05-29T11:47:55.975-07:00 (Plan) Transferring bucket configuration for 'default' to 'default' 2020-05-29T11:47:55.985-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200 2020-05-29T11:47:55.986-07:00 (Plan) Successfully transferred bucket configuration for 'default' to 'default' 2020-05-29T11:47:55.986-07:00 (Plan) Transferring Analytics metadata 2020-05-29T11:47:55.988-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:55.988-07:00 (Plan) Successfully transferred Analytics metadata 2020-05-29T11:47:55.988-07:00 (Plan) Transferring full text index definitions for 'default' to 'default' 2020-05-29T11:47:55.989-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:55.992-07:00 (Rest) GET http://172.23.121.224:8094/api/index 200 2020-05-29T11:47:55.993-07:00 (Plan) Successfully transferred full text index definitions for 'default' to 'default' 2020-05-29T11:47:55.993-07:00 (Plan) Transferring GSI index definitions for default to default 2020-05-29T11:47:55.994-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:56.043-07:00 (Rest) GET http://172.23.121.224:9102/getIndexMetadata?bucket=default 200 2020-05-29T11:47:56.043-07:00 (Plan) Successfully transferred GSI index definitions for default to default 2020-05-29T11:47:56.043-07:00 (Plan) Transferring views definitions from 'default' to 'default' 2020-05-29T11:47:56.054-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200 2020-05-29T11:47:56.056-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:56.059-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets/default/ddocs 200 2020-05-29T11:47:56.059-07:00 (Plan) Successfully transferred views definitions from 'default' to 'default' 2020-05-29T11:47:56.059-07:00 (Plan) Executing queries against 'default' from 'default' 2020-05-29T11:47:56.059-07:00 (Plan) Successfully executed queries against 'default' from 'default' 2020-05-29T11:47:56.059-07:00 (Plan) Checking for data movement restrictions between default and default 2020-05-29T11:47:56.070-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/buckets 200 2020-05-29T11:47:56.083-07:00 (Rest) GET http://172.23.121.224:8091/pools/default 200 2020-05-29T11:47:56.083-07:00 Transferring from Couchbase Server 7.0.0 2020-05-29T11:47:56.083-07:00 (Plan) Successfully checked for data movement restrictions between default and default 2020-05-29T11:47:56.083-07:00 (Plan) Deciding which key value data to transfer for default 2020-05-29T11:47:56.085-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:47:58.316-07:00 (Plan) Successfully decided which key value data to transfer for default 2020-05-29T11:47:58.316-07:00 (Plan) Transferring new key value data for default to default 2020-05-29T11:47:58.320-07:00 (Rest) GET http://172.23.121.224:8091/pools/default/nodeServices 200 2020-05-29T11:48:28.322-07:00 Json export failed: failed to execute cluster operations: failed to execute bucket operations: failed to transfer bucket data for bucket 'default': failed to transfer key value data: failed to transfer key value data: failed to initilise worker 0: failed to get gocbcore DCP agent: agent failed to connect to the cluster: unambiguous timeout | {"InnerError":{"InnerError":{"InnerError":{},"Message":"unambiguous timeout"}},"OperationID":"WaitUntilReady","Opaque":"","TimeObserved":30000352850,"RetryReasons":null,"RetryAttempts":0,"LastDispatchedTo":"","LastDispatchedFrom":"","LastConnectionID":""} Json export failed: failed to execute cluster operations: failed to execute bucket operations: failed to transfer bucket data for bucket 'default': failed to transfer key value data: failed to transfer key value data: failed to initilise worker 0: failed to get gocbcore DCP agent: agent failed to connect to the cluster: unambiguous timeout | {"InnerError":{"InnerError":{"InnerError":{},"Message":"unambiguous timeout"}},"OperationID":"WaitUntilReady","Opaque":"","TimeObserved":30000352850,"RetryReasons":null,"RetryAttempts":0,"LastDispatchedTo":"","LastDispatchedFrom":"","LastConnectionID":""} [root@s44015 ~]#  
            james.lee James Lee added a comment -

            Closing as a duplicate of MB-39653. Support for the 'backfill_order' control flag has not been merged forward into 7.0.0 yet.

            james.lee James Lee added a comment - Closing as a duplicate of MB-39653 . Support for the ' backfill_order ' control flag has not been merged forward into 7.0.0 yet.

            Bulk closing invalid, duplicate and won't fix bugs

            raju Raju Suravarjjala added a comment - Bulk closing invalid, duplicate and won't fix bugs

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty