Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0.0
-
Security Level: Public
-
None
-
4.0.0-3062 DEV Edition (build-3062)
-
Untriaged
-
Centos 64-bit
-
No
Description
1. Install CB Server.
2. On configuration page, change path of indices i.e. simply add /index/ to the end of the default path.
3. Select Index and Query to be installed along with KV.
4. run the following command, assuming that default bucket is already created.
[root@centos-64-x64 bin]# ./cbq
Couchbase query shell connected to http://localhost:8093/ . Type Ctrl-D to exit.
cbq> create primary index on default using gsi;
{
"requestID": "89b0f26e-852e-46c6-ba2a-fea9fc52f405",
"signature": null,
"results": [
],
"errors": [
],
"status": "errors",
"metrics":
}
cbq>
- Indexer process is not running
Checking indexer.log - seems like it is not able to find metakv
2015-05-25T23:44:51.601Z-07:00 [Info] Indexer started with command line: [/opt/couchbase/bin/indexer -log=2 -vbuckets=1024 -cluster=127.0.0.1:8091 -adminPort=9100 -scanPort=9101 -httpPort=9102 -streamInitPort=9103 -streamCatchupPort=9104 -streamMaintPort=9105 -storageDir=/opt/couchbase/var/lib/couchbase/data/index/@2i]
2015-05-25T23:44:51.642Z-07:00 [Info] Indexer::NewIndexer Status INIT
2015-05-25T23:44:51.651Z-07:00 [Info] Setting maxcpus = 4
2015-05-25T23:44:51.651Z-07:00 [Info] Setting log level to Debug
2015-05-25T23:44:51.652Z-07:00 [Info] Indexer::NewIndexer Starting with Vbuckets 1024
2015-05-25T23:44:51.738Z-07:00 [Info] [Queryport ":9101"] started ...
2015-05-25T23:44:51.741Z-07:00 [Info] New settings received:
2015-05-25T23:44:51.741Z-07:00 [Info] Setting maxcpus = 4
2015-05-25T23:44:51.741Z-07:00 [Info] Setting log level to Debug
2015-05-25T23:44:51.766Z-07:00 [Debug] Repo.OpenRepositoryWithName(): open repo with name /opt/couchbase/var/lib/couchbase/data/index/@2i/MetadataStore, buffer cache size 268435456
2015-05-25T23:44:52.623Z-07:00 [Error] EmbeddedServer.boostrap: error : no such file
2015-05-25T23:44:52.623Z-07:00 [Error] ClustMgrAgent::NewClustMgrAgent Error In Init no such file
2015-05-25T23:44:52.623Z-07:00 [Error] Indexer::NewIndexer ClusterMgrAgent Init Error%!(EXTRA *indexer.MsgError=no such file)
2015-05-25T23:44:52.623Z-07:00 [Warn] Indexer Failure to Init no such file
2015-05-25T23:44:52.623Z-07:00 [Info] Indexer exiting normally
– Looking for the folder structure, seems like the /index folder and not create and @2i folder is created under /data
[root@centos-64-x64 data]# pwd
/opt/couchbase/var/lib/couchbase/data
[root@centos-64-x64 data]# ls
@2i default _replicator.couch.1 _users.couch.1
[root@centos-64-x64 data]#