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

cbtransfer - couchbstore file to csv file hangs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.6.0
    • 4.6.0
    • tools
    • None
    • 4.6.0-3567

    Description

      1. Configure CB Server and install sample bucket - beer-sample
      2. Now execute the following command:
      /opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data csv:/tmp/86af4558-c461-11e6-9c7b-8e2bd5bdffb7.csv -b default -u Administrator -ppassword

      There is an error on the screen:
      root@node1-cb450-ubuntu14:/opt/couchbase/bin# /opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data csv:/tmp/86af4558-c461-11e6-9c7b-8e2bd5bdffb7.csv -b default -u Administrator -p password
      Exception in thread w0:
      Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
      self.run()
      File "/usr/lib/python2.7/threading.py", line 763, in run
      self._target(*self.args, **self._kwargs)
      File "/opt/couchbase/lib/python/pump.py", line 321, in run_worker
      curx).run()
      File "/opt/couchbase/lib/python/pump.py", line 397, in run
      return self.done(0)
      File "/opt/couchbase/lib/python/pump.py", line 421, in done
      self.sink.close()
      File "/opt/couchbase/lib/python/pump_csv.py", line 239, in close
      if self.csvfile is not None and self.csvfile != sys.stdout:
      AttributeError: 'CSVSink' object has no attribute 'csvfile'

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-21995
          # Subject Branch Project Status CR V

          Activity

            People

              bharath.gp Bharath G P
              ritam.sharma Ritam Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty