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

[FTS] first toybuild - cbft process bound to localhost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 4.5.0
    • 4.5.0
    • cbft
    • Security Level: Public
    • None
    • Untriaged
    • No

    Description

      Toybuild -
      http://latestbuilds.hq.couchbase.com/couchbase-server/toy-steve/1/couchbase-server-enterprise_1005.0.0-1-ubuntu12.04_amd64.deb

      Aruna: I’m able to add a node with fts as service but on FTS tab I see that we are trying to reach fts, but we are unable to connect to it. I however see cbft process started on port 9110. I’m neither able to create an index on port 8091 nor 9110. Toy-build - http://172.23.105.192:8091/index.html

      Steve: Oh, ha ha – I see the cbft is binding to the wrong network address (127.0.0.1) instead of a publically visible address (like 172.23.105.192 or 0.0.0.0). I think I had always been running my web browser on the same machine, so never noticed before! Will think of a fix...

      Aruna: You are right, I’m able to create an index from the same node -
      root@ubuntu-1204-x64:~# curl -XPUT -H "Content-Type: application/json" \
      > http://127.0.0.1:9110/api/index/beer1 \
      > -d '{
      > "type": "bleve",
      > "name": "beer1",
      > "uuid": "447a4c08a18c6995",
      > "params": "{\"mapping\":{\"default_mapping\":

      {\"enabled\":true,\"dynamic\":true,\"default_analyzer\":\"\"}

      ,\"type_field\":\"_type\",\"default_type\":\"_default\",\"default_analyzer\":\"standard\",\"default_datetime_parser\":\"dateTimeOptional\",\"default_field\":\"_all\",\"byte_array_converter\":\"json\",\"analysis\":{}},\"store\":{\"kvStoreName\":\"boltdb\"}}",
      > "sourceType": "couchbase",
      > "sourceName": "beer-sample",
      > "sourceUUID": "",
      > "sourceParams": "

      {\"authUser\":\"beer-sample\",\"authPassword\":\"\",\"authSaslUser\":\"\",\"authSaslPassword\":\"\",\"clusterManagerBackoffFactor\":0,\"clusterManagerSleepInitMS\":0,\"clusterManagerSleepMaxMS\":20000,\"dataManagerBackoffFactor\":0,\"dataManagerSleepInitMS\":0,\"dataManagerSleepMaxMS\":20000,\"feedBufferSizeBytes\":0,\"feedBufferAckThreshold\":0}

      ",
      > "planParams":

      { > "maxPartitionsPerPIndex": 20, > "numReplicas": 0, > "hierarchyRules": null, > "nodePlanParams": null, > "planFrozen": false > }

      > }'

      {"status":"ok"}

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty