<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Issue while Migration from hive metastrore to ucx in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101194#M40579</link>
    <description>&lt;UL&gt;&lt;LI&gt;tables : 4 tables in the schema :databricks_log that are not being migrated error showing they are in dbfs root location and cannot be managed while they are in dbfs mount location&lt;BR /&gt;Example this model_notebook _logs :&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its location is dbfs:/mnt but in the logs of table_migration it shows this error&lt;/P&gt;&lt;P&gt;I have created the external location for all these tables showing correct path.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;similarly 3 other tables show exact same errors.&lt;BR /&gt;&lt;BR /&gt;What will be the possible reason for this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashraf1395_1-1733480572318.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13367i2C46A17B47E34905/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashraf1395_1-1733480572318.jpeg" alt="ashraf1395_1-1733480572318.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashraf1395_0-1733480572316.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13368i415EC4FDE6E19F51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashraf1395_0-1733480572316.jpeg" alt="ashraf1395_0-1733480572316.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 06 Dec 2024 10:24:39 GMT</pubDate>
    <dc:creator>ashraf1395</dc:creator>
    <dc:date>2024-12-06T10:24:39Z</dc:date>
    <item>
      <title>Issue while Migration from hive metastrore to ucx</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101194#M40579</link>
      <description>&lt;UL&gt;&lt;LI&gt;tables : 4 tables in the schema :databricks_log that are not being migrated error showing they are in dbfs root location and cannot be managed while they are in dbfs mount location&lt;BR /&gt;Example this model_notebook _logs :&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its location is dbfs:/mnt but in the logs of table_migration it shows this error&lt;/P&gt;&lt;P&gt;I have created the external location for all these tables showing correct path.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;similarly 3 other tables show exact same errors.&lt;BR /&gt;&lt;BR /&gt;What will be the possible reason for this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashraf1395_1-1733480572318.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13367i2C46A17B47E34905/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashraf1395_1-1733480572318.jpeg" alt="ashraf1395_1-1733480572318.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashraf1395_0-1733480572316.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/13368i415EC4FDE6E19F51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashraf1395_0-1733480572316.jpeg" alt="ashraf1395_0-1733480572316.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 06 Dec 2024 10:24:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101194#M40579</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2024-12-06T10:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while Migration from hive metastrore to ucx</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101203#M40582</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104610"&gt;@ashraf1395&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;To migrate managed tables stored at DBFS root to UC, you can do it through&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;Deep Clone&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;Create Table As Select (CTAS)&lt;/U&gt;&lt;SPAN&gt;. This also means that the HMS table data needs to be moved to the cloud storage location governed by UC. Please ensure the location given as the S3/ABFS&amp;nbsp;path is anything that's not the metastore root storage path.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Deep clone:&lt;/U&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/delta-clone.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/sql/language-manual/delta-clone.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;CTAS:&lt;/U&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-create-table-using.html#related-articles" target="_blank" rel="noopener"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-create-table-using.html#related-articles&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 11:23:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101203#M40582</guid>
      <dc:creator>MuthuLakshmi</dc:creator>
      <dc:date>2024-12-06T11:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while Migration from hive metastrore to ucx</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101217#M40591</link>
      <description>&lt;P&gt;Got idea about locations. Though i was talking about external tables.&lt;BR /&gt;And how to do it in ucx correctly bcz the table migration workflow there has specific default methods for migration. Any method to add custom strategies in workflow?&amp;nbsp;&lt;BR /&gt;Like for dbfs root tables it has default strategy of doing deep clone with managed table. but what if i want to do deep clone where source table is managed but dst table is external. We can do it manually by adding the extenral location in the query but any way to do it in ucx?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 13:04:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-while-migration-from-hive-metastrore-to-ucx/m-p/101217#M40591</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2024-12-06T13:04:44Z</dc:date>
    </item>
  </channel>
</rss>

