Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8581

Doc says "key-generator" is mandatory

    XMLWordPrintable

Details

    Description

      Doc says "key-generator" is optional however if we fire cbimport without key generator, it throws an error:

      [root@host1 tmp]# /opt/couchbase/bin/cbimport json -c couchbase://127.0.0.1 -u Administrator -p password -b default -d file:///tmp/testdata.json -f lines -t 4
      JSON import failed: Key generator contains an empty expression

      Reporter: Pratik Mehta
      E-mail: pratik.mehta@mobileum.com

      Attachments

        Issue Links

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

          Activity

            docsite-collector Docs Site Collector created issue -
            amarantha.kulkarni Amarantha Kulkarni (Inactive) made changes -
            Field Original Value New Value
            Component/s tools [ 13024 ]
            amarantha.kulkarni Amarantha Kulkarni (Inactive) made changes -
            Assignee Amarantha Kulkarni [ amarantha.kulkarni ] Carlos Gonzalez Betancort [ carlos.gonzalez ]
            james.lee James Lee made changes -
            Assignee Carlos Gonzalez Betancort [ carlos.gonzalez ] James Lee [ james.lee ]
            james.lee James Lee made changes -
            Link This issue relates to MB-46849 [ MB-46849 ]
            james.lee James Lee made changes -
            Link This issue relates to MB-46849 [ MB-46849 ]
            james.lee James Lee made changes -
            Link This issue relates to MB-46849 [ MB-46849 ]
            james.lee James Lee made changes -
            Labels collector-709818cb collector-709818cb doc-change-only
            james.lee James Lee made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            Build couchbase-server-6.0.5-3353 contains backup commit d056637 with commit message:
            DOC-8581 The '--generate-key' flag is required for cbimport csv

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.5-3353 contains backup commit d056637 with commit message: DOC-8581 The '--generate-key' flag is required for cbimport csv

            Build couchbase-server-6.6.3-9752 contains backup commit d1fcc64 with commit message:
            DOC-8581 Merge branch '6.5.2' into mad-hatter

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.3-9752 contains backup commit d1fcc64 with commit message: DOC-8581 Merge branch '6.5.2' into mad-hatter

            Build couchbase-server-6.6.3-9752 contains backup commit e8471eb with commit message:
            DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.3-9752 contains backup commit e8471eb with commit message: DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            Build couchbase-server-6.6.3-9752 contains backup commit 18c40ff with commit message:
            DOC-8581 Merge branch 'alice' into 6.5.x-docs

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.3-9752 contains backup commit 18c40ff with commit message: DOC-8581 Merge branch 'alice' into 6.5.x-docs

            Build couchbase-server-6.6.3-9752 contains backup commit d056637 with commit message:
            DOC-8581 The '--generate-key' flag is required for cbimport csv

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.3-9752 contains backup commit d056637 with commit message: DOC-8581 The '--generate-key' flag is required for cbimport csv
            james.lee James Lee made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            james.lee James Lee made changes -
            Fix Version/s Alice [ 15118 ]

            Build couchbase-server-7.0.1-5844 contains backup commit b843ca6 with commit message:
            DOC-8581 Merge branch 'mad-hatter' into cheshire-cat

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5844 contains backup commit b843ca6 with commit message: DOC-8581 Merge branch 'mad-hatter' into cheshire-cat

            Build couchbase-server-7.0.1-5844 contains backup commit d1fcc64 with commit message:
            DOC-8581 Merge branch '6.5.2' into mad-hatter

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5844 contains backup commit d1fcc64 with commit message: DOC-8581 Merge branch '6.5.2' into mad-hatter

            Build couchbase-server-7.0.1-5844 contains backup commit e8471eb with commit message:
            DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5844 contains backup commit e8471eb with commit message: DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            Build couchbase-server-7.0.1-5844 contains backup commit 18c40ff with commit message:
            DOC-8581 Merge branch 'alice' into 6.5.x-docs

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5844 contains backup commit 18c40ff with commit message: DOC-8581 Merge branch 'alice' into 6.5.x-docs

            Build couchbase-server-7.0.1-5844 contains backup commit d056637 with commit message:
            DOC-8581 The '--generate-key' flag is required for cbimport csv

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.1-5844 contains backup commit d056637 with commit message: DOC-8581 The '--generate-key' flag is required for cbimport csv

            Build couchbase-server-6.5.2-6641 contains backup commit e8471eb with commit message:
            DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.2-6641 contains backup commit e8471eb with commit message: DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            Build couchbase-server-6.5.2-6641 contains backup commit 18c40ff with commit message:
            DOC-8581 Merge branch 'alice' into 6.5.x-docs

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.2-6641 contains backup commit 18c40ff with commit message: DOC-8581 Merge branch 'alice' into 6.5.x-docs

            Build couchbase-server-6.5.2-6641 contains backup commit d056637 with commit message:
            DOC-8581 The '--generate-key' flag is required for cbimport csv

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.2-6641 contains backup commit d056637 with commit message: DOC-8581 The '--generate-key' flag is required for cbimport csv

            Build couchbase-server-7.1.0-1015 contains backup commit b843ca6 with commit message:
            DOC-8581 Merge branch 'mad-hatter' into cheshire-cat

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit b843ca6 with commit message: DOC-8581 Merge branch 'mad-hatter' into cheshire-cat

            Build couchbase-server-7.1.0-1015 contains backup commit d1fcc64 with commit message:
            DOC-8581 Merge branch '6.5.2' into mad-hatter

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit d1fcc64 with commit message: DOC-8581 Merge branch '6.5.2' into mad-hatter

            Build couchbase-server-7.1.0-1015 contains backup commit e8471eb with commit message:
            DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit e8471eb with commit message: DOC-8581 Merge branch '6.5.x-docs' into 6.5.2

            Build couchbase-server-7.1.0-1015 contains backup commit 18c40ff with commit message:
            DOC-8581 Merge branch 'alice' into 6.5.x-docs

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit 18c40ff with commit message: DOC-8581 Merge branch 'alice' into 6.5.x-docs

            Build couchbase-server-7.1.0-1015 contains backup commit d056637 with commit message:
            DOC-8581 The '--generate-key' flag is required for cbimport csv

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1015 contains backup commit d056637 with commit message: DOC-8581 The '--generate-key' flag is required for cbimport csv
            carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
            Link This issue is duplicated by DOC-8310 [ DOC-8310 ]
            carlos.gonzalez Carlos Gonzalez Betancort (Inactive) made changes -
            Link This issue is duplicated by DOC-7329 [ DOC-7329 ]

            People

              james.lee James Lee
              docsite-collector Docs Site Collector
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty