hraven icon indicating copy to clipboard operation
hraven copied to clipboard

Prefix hraven to all hbase tables

Open angadsingh opened this issue 11 years ago • 3 comments

Useful to namespace hraven tables separately in a production hbase cluster.

angadsingh avatar Jun 29 '14 11:06 angadsingh

While I agree that this is a good idea to prefix tablenames, I am thinking about existing deployments of hRaven that already have tables without the prefix in production. I am wondering if we can provide the namespace name along with the dot as an argument to create_table and to the code so that the default can stay as blank at https://github.com/twitter/hraven/blob/master/hraven-core/src/main/java/com/twitter/hraven/Constants.java#L44 and still allow us the flexibility of passing it in to support the namespace classification for table names..

vrushalic avatar Jun 29 '14 17:06 vrushalic

Agreed, we had the same discussion when we went into production, we wanted to change to have the prefix. We did not want to break backwards compatibility. Having an optional flag to add the "namespace" prefix would be great. We might even do the same internally and take the hit to rename the tables.

jrottinghuis avatar Jul 01 '14 03:07 jrottinghuis

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Angad Singh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jul 18 '19 15:07 CLAassistant