Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cosmos-admin] Admin tool for migrating Hive external tables #56

Open
frbattid opened this issue Aug 20, 2015 · 0 comments
Open

[cosmos-admin] Admin tool for migrating Hive external tables #56

frbattid opened this issue Aug 20, 2015 · 0 comments
Assignees
Labels

Comments

@frbattid
Copy link
Member

This should be as "simple" as replicating the content of the MySQL metastore database.

Nevertheless, we could be more ambitious and a database per user could be created, containing each database each user's tables. The owner of each table is indicated when describing a table in an extended or formatted way. If the owner is root/hive, this is because the table was created by the Hive server on behalf of Cygnus; in that case the owner is prefixing the table name.

Some links helping on moving Hive tables:
http://stackoverflow.com/questions/23206551/transferring-hive-table-from-one-database-to-another
http://stackoverflow.com/questions/26636839/how-to-copy-all-hive-table-from-one-database-to-other-database

It seems the location is needed; this is also given by the describe extended/formatted command.

@frbattid frbattid added this to the release/0.2.0 milestone Aug 20, 2015
@frbattid frbattid self-assigned this Oct 7, 2015
@frbattid frbattid modified the milestones: release/0.3.0, release/0.2.0 Jan 28, 2016
@frbattid frbattid modified the milestones: release/0.4.0, release/0.3.0 Feb 24, 2016
@frbattid frbattid removed this from the release/0.4.0 milestone Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant