I ran the command gcloud beta emulators bigtable start
but when I ran the command cbt listinstances
, I got the error below
Getting list of instances: rpc error: code = Unimplemented desc = unknown service google.bigtable.admin.v2.BigtableInstanceAdmin
How can I use cbt
command to connect my local bigtable emulator?
The emulator command https://cloud.google.com/sdk/gcloud/reference/beta/emulators/bigtable/start
The cbt command https://cloud.google.com/bigtable/docs/go/cbt-reference
-project test
and-instance localhost:8086
are just examples. Use the same project name and instance name that were used when the emulator tables were created. If the tables were created using an official library, look for environment variables likeGCP_PROJECT
which may have been read at the time of table-creation. – Arnhem