Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Project and instance definition when using -cf #4

Open
alafanechere opened this issue Feb 21, 2019 · 1 comment
Open

Project and instance definition when using -cf #4

alafanechere opened this issue Feb 21, 2019 · 1 comment

Comments

@alafanechere
Copy link

Hi, I would like to use your emulator in my local environment.
I tried to use -cf my_new_instance.my_new_table.my_new_column_family flag to create an instance, table and column family on container start.

I cannot see the created instance and table when I run cbt ls from my system (after having set BIGTABLE_EMULATOR_HST=localhost:9035).
I set .cbtrc like this :

instance = my_new_instance
project = my_project

Do you have an idea of why cbt does not find the newly created table / instance on the emulator.

Otherwise, when I run cbt createtable the table seems reachable from cbt because I can see it when running cbt ls afterwards.

Thanks for your help.

@alafanechere alafanechere changed the title Project and instance definition Project and instance definition when using -cf Feb 21, 2019
@harscoet
Copy link

The project name is hard-coded to "dev" (https://github.com/Shopify/bigtable-emulator/blob/master/bigtable-emulator.go#L63). Try this command

BIGTABLE_EMULATOR_HOST=localhost:9035 cbt -project dev -instance my_new_instance ls

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants