<?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 Databricks fs ls does not work in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4749#M1378</link>
    <description>&lt;P&gt;I have configured the databricks CLI using token generated in Azure &lt;/P&gt;&lt;P&gt;databricks configure --aad-token&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configure is success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I used the command  "databricks fs ls" I am running into an error as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody point to me how to resolve this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 20:43:17 GMT</pubDate>
    <dc:creator>Suresh_AWS</dc:creator>
    <dc:date>2023-05-05T20:43:17Z</dc:date>
    <item>
      <title>Databricks fs ls does not work</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4749#M1378</link>
      <description>&lt;P&gt;I have configured the databricks CLI using token generated in Azure &lt;/P&gt;&lt;P&gt;databricks configure --aad-token&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configure is success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I used the command  "databricks fs ls" I am running into an error as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody point to me how to resolve this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:43:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4749#M1378</guid>
      <dc:creator>Suresh_AWS</dc:creator>
      <dc:date>2023-05-05T20:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks fs ls does not work</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4750#M1379</link>
      <description>&lt;P&gt;@Venkata Suresh Chavala​&amp;nbsp;can you try to test by providing dbfs at the end &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;databricks fs ls dbfs:/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it shows what directories exists in dbfs&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 21:02:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4750#M1379</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-05-05T21:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks fs ls does not work</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4751#M1380</link>
      <description>&lt;P&gt;Hi @karthik p​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same error. I am running on Mac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran in debug mode and here is the trace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;databricks fs ls dbfs:/ --debug
&amp;nbsp;
HTTP debugging enabled
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/databricks_cli/utils.py", line 45, in decorator
    return function(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/databricks_cli/configure/config.py", line 65, in decorator
    kwargs['api_client'] = _get_api_client(config, command_name)
  File "/usr/local/lib/python3.9/site-packages/databricks_cli/configure/config.py", line 104, in _get_api_client
    return ApiClient(host=config.host, token=config.token, verify=verify,
  File "/usr/local/lib/python3.9/site-packages/databricks_cli/sdk/api_client.py", line 106, in __init__
    method_whitelist=set({'POST'}) | set(Retry.DEFAULT_METHOD_WHITELIST),
AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
Error: AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 21:05:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4751#M1380</guid>
      <dc:creator>Suresh_AWS</dc:creator>
      <dc:date>2023-05-05T21:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks fs ls does not work</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4752#M1381</link>
      <description>&lt;P&gt;I was able to solve the problem by updating the package urllib3 with a different version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pip3 install urllib3=1.25.11&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 00:10:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4752#M1381</guid>
      <dc:creator>Suresh_AWS</dc:creator>
      <dc:date>2023-05-06T00:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks fs ls does not work</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4753#M1382</link>
      <description>&lt;P&gt;It seems the Databricks cli needs and update. This issue is discussed on &lt;A href="https://stackoverflow.com/questions/76183443/azure-devops-release-pipeline-attributeerror-type-object-retry-has-no-attribu" alt="https://stackoverflow.com/questions/76183443/azure-devops-release-pipeline-attributeerror-type-object-retry-has-no-attribu" target="_blank"&gt;StackOverflow&lt;/A&gt;. For the time being, installing an older version of `urllib3` should solve the issue. The method was removed since 2.X, the latest 1.X version is &lt;A href="https://github.com/urllib3/urllib3/releases/tag/1.26.15" alt="https://github.com/urllib3/urllib3/releases/tag/1.26.15" target="_blank"&gt;1.26.15&lt;/A&gt;. You can use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;pip install urllib3==1.26.15&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 08:04:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-fs-ls-does-not-work/m-p/4753#M1382</guid>
      <dc:creator>abos</dc:creator>
      <dc:date>2023-05-08T08:04:07Z</dc:date>
    </item>
  </channel>
</rss>

