<?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 Re: problem with workspace after metastore deleted in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/problem-with-workspace-after-metastore-deleted/m-p/49494#M1604</link>
    <description>&lt;P&gt;I restarted the compute node and this problem went away.&lt;BR /&gt;&lt;SPAN&gt;ErrorClass=METASTORE_DOES_NOT_EXIST] Metastore 'b11fb1a0-a462-4dfb-b91b-e0795fde10b0' does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;New question: I am testing Databricks with non-AWS S3 object storage.&amp;nbsp; I can access the non-AWS S3 bucket by setting these parameters:&lt;/P&gt;&lt;P&gt;sc._jsc.hadoopConfiguration().set("fs.s3a.access.key", "XXXXXXXXXXXXXXXXXXXX")&lt;BR /&gt;sc._jsc.hadoopConfiguration().set("fs.s3a.secret.key", "XXXXXXXXXXXXXXXXXXXXXXXXXXXX")&lt;BR /&gt;sc._jsc.hadoopConfiguration().set("fs.s3a.endpoint", "XXXXXXXXXXXX.com")&lt;/P&gt;&lt;P&gt;I can read the csv files in the bucket&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"csv"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"inferschema"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"header"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"sep"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"|"&lt;/SPAN&gt;&lt;SPAN&gt;).load(&lt;/SPAN&gt;&lt;SPAN&gt;"s3://deltalake/10g_csv/reason.csv"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When trying to create external table from this csv, got AWS Security token service invalid error.&amp;nbsp; Since I am not using AWS s3 bucket, is there a way to skip this checking.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sgvtc_4-1697652626812.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4504iA57F3479A5BB1500/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sgvtc_4-1697652626812.png" alt="sgvtc_4-1697652626812.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I can see Databricks created parquet file and _delta_log folder in this external bucket location but it did not complete the delta table creation.&amp;nbsp; It did not create 00000000000000000000.crc and 00000000000000000000.json in the _delta_log folder.&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sgvtc_0-1697652437393.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4500iE12AFC4204607154/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sgvtc_0-1697652437393.png" alt="sgvtc_0-1697652437393.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sgvtc_2-1697652510601.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4502i205AAB1BF50F9253/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sgvtc_2-1697652510601.png" alt="sgvtc_2-1697652510601.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 18 Oct 2023 18:11:54 GMT</pubDate>
    <dc:creator>sg-vtc</dc:creator>
    <dc:date>2023-10-18T18:11:54Z</dc:date>
    <item>
      <title>problem with workspace after metastore deleted</title>
      <link>https://community.databricks.com/t5/get-started-discussions/problem-with-workspace-after-metastore-deleted/m-p/49430#M1595</link>
      <description>&lt;P&gt;I am completely new to Databricks AWS and start working on it a week ago.&amp;nbsp; Pls excuse me if I ask or did something silly.&lt;/P&gt;&lt;P&gt;I created a workspace and a single node cluster for testing.&amp;nbsp;&lt;BR /&gt;A metastore was created from Databricks quickstart and it was automatically assigned to the workspace which I did not realize.&amp;nbsp; I thought the workspace is using default metastore from dbfs.&lt;/P&gt;&lt;P&gt;I did some basic testing using this database and able to create external delta tables using cvs file from non-aws object storage.&amp;nbsp; This is my main goal of test to ensure databricks can integrate with non-aws s3 compatible object storage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, from time to time I saw this error:&lt;/P&gt;&lt;P&gt;parent external location for path 's3://databricks-workspace-stack-xxxxxx-metastore-bucket/b11fb1a0-a462-4dfb-b91b-e0795fde10b0’&amp;nbsp; does not exist.&amp;nbsp;&lt;BR /&gt;From my aws account, I can see the bucket&amp;nbsp;databricks-workspace-stack-xxxxxx-metastore-bucket created by Databricks quickstart with appropriate IAM role and policy.&amp;nbsp; However, I did not see any folder or object in this bucket.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created this&amp;nbsp;b11fb1a0-a462-4dfb-b91b-e0795fde10b0 folder in the S3 metastore bucket but still get the error re the parent external location does not exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I did not see object/folder in this bucket, I deleted the metastore from Databricks console.&amp;nbsp; After that I start having problem with the workspace since it did not have any metastore assigned to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created another s3 bucket and follows the naming convention and IAM role/policy that was created by Databricks before for databricks-workspace-stack-xxxxxx-metastore-bucket&lt;/P&gt;&lt;P&gt;I created the new Databricks metastore, when assigned it to the workspace that I am using.&amp;nbsp; From the workspace details, I can see the new metastore path. However, when I run some python commands in this workspace, I always get this error, it is still expecting the previous metastore that was assigned but deleted by me.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ErrorClass=METASTORE_DOES_NOT_EXIST] Metastore 'b11fb1a0-a462-4dfb-b91b-e0795fde10b0' does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How to resolve the problem.&amp;nbsp; I prefer not to delete my existing workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 00:44:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/problem-with-workspace-after-metastore-deleted/m-p/49430#M1595</guid>
      <dc:creator>sg-vtc</dc:creator>
      <dc:date>2023-10-18T00:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: problem with workspace after metastore deleted</title>
      <link>https://community.databricks.com/t5/get-started-discussions/problem-with-workspace-after-metastore-deleted/m-p/49494#M1604</link>
      <description>&lt;P&gt;I restarted the compute node and this problem went away.&lt;BR /&gt;&lt;SPAN&gt;ErrorClass=METASTORE_DOES_NOT_EXIST] Metastore 'b11fb1a0-a462-4dfb-b91b-e0795fde10b0' does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;New question: I am testing Databricks with non-AWS S3 object storage.&amp;nbsp; I can access the non-AWS S3 bucket by setting these parameters:&lt;/P&gt;&lt;P&gt;sc._jsc.hadoopConfiguration().set("fs.s3a.access.key", "XXXXXXXXXXXXXXXXXXXX")&lt;BR /&gt;sc._jsc.hadoopConfiguration().set("fs.s3a.secret.key", "XXXXXXXXXXXXXXXXXXXXXXXXXXXX")&lt;BR /&gt;sc._jsc.hadoopConfiguration().set("fs.s3a.endpoint", "XXXXXXXXXXXX.com")&lt;/P&gt;&lt;P&gt;I can read the csv files in the bucket&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"csv"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"inferschema"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"header"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"sep"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"|"&lt;/SPAN&gt;&lt;SPAN&gt;).load(&lt;/SPAN&gt;&lt;SPAN&gt;"s3://deltalake/10g_csv/reason.csv"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When trying to create external table from this csv, got AWS Security token service invalid error.&amp;nbsp; Since I am not using AWS s3 bucket, is there a way to skip this checking.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sgvtc_4-1697652626812.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4504iA57F3479A5BB1500/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sgvtc_4-1697652626812.png" alt="sgvtc_4-1697652626812.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I can see Databricks created parquet file and _delta_log folder in this external bucket location but it did not complete the delta table creation.&amp;nbsp; It did not create 00000000000000000000.crc and 00000000000000000000.json in the _delta_log folder.&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sgvtc_0-1697652437393.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4500iE12AFC4204607154/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sgvtc_0-1697652437393.png" alt="sgvtc_0-1697652437393.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sgvtc_2-1697652510601.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4502i205AAB1BF50F9253/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sgvtc_2-1697652510601.png" alt="sgvtc_2-1697652510601.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Oct 2023 18:11:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/problem-with-workspace-after-metastore-deleted/m-p/49494#M1604</guid>
      <dc:creator>sg-vtc</dc:creator>
      <dc:date>2023-10-18T18:11:54Z</dc:date>
    </item>
  </channel>
</rss>

