You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/11/28 20:34:03 UTC

[GitHub] [iceberg] shay1bz opened a new issue, #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?

shay1bz opened a new issue, #6302:
URL: https://github.com/apache/iceberg/issues/6302

   ### Query engine
   
   Spark 3.3.0
   
   ### Question
   
   Hi,
   
   We have some existing Hadoop tables, and recently deployed HMS as the new catalog for Iceberg. Is there a way to recreate all the required metadata in the metastore based on the Hadoop metadata?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] github-actions[bot] commented on issue #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6302:
URL: https://github.com/apache/iceberg/issues/6302#issuecomment-1590236576

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] singhpk234 commented on issue #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?

Posted by GitBox <gi...@apache.org>.
singhpk234 commented on issue #6302:
URL: https://github.com/apache/iceberg/issues/6302#issuecomment-1329933005

   you can use register table functionality which basically just registers / add's your metadata.json pointer to your hive metastore.
   
   Here is a sample code (a UT) for migrating Hadoop Catalog to metastore backed tables 
   https://github.com/apache/iceberg/blob/66fd615cd4cdab2ff76915dc5929d5c93705063e/hive-metastore/src/test/java/org/apache/iceberg/hive/HiveTableTest.java#L449-L500


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] shay1bz commented on issue #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?

Posted by GitBox <gi...@apache.org>.
shay1bz commented on issue #6302:
URL: https://github.com/apache/iceberg/issues/6302#issuecomment-1331976599

   Great, thanks a lot!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] github-actions[bot] commented on issue #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6302:
URL: https://github.com/apache/iceberg/issues/6302#issuecomment-1567613305

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] github-actions[bot] closed issue #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6302: How to migrate (metadata only) Hadoop catalog to Hive catalog?
URL: https://github.com/apache/iceberg/issues/6302


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org