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

inconsistent file handling in cbimport options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0
    • tools
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      I just spent half an hour struggling with cbimport because it handles file paths inconsistently. 

      The `--dataset` requires a file name prefixed with `file://`, and will fail with a helpful message otherwise.

      However the `--cacert` options requires a file name not prefixed with `file://`, and if you use that prefix you get the very unhelpful error message:

      `CSV import failed: no such file or directory`

      Attachments

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

        Activity

          People

            owend Daniel Owen
            eben Eben Haber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty