<?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: Setup UCX (Databricks CLI) from Databricks web terminal in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/106515#M2378</link>
    <description>&lt;P class="p1"&gt;I’ve found that using &lt;STRONG&gt;DBR 15.4&lt;/STRONG&gt;, &lt;STRONG&gt;Personal Compute&lt;/STRONG&gt;, and a &lt;STRONG&gt;Single Node&lt;/STRONG&gt; is the most effective setup for installing UCX via web terminal.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p1"&gt;The &lt;STRONG&gt;Databricks CLI&lt;/STRONG&gt; is the recommended and most efficient option for managing the UCX installation. Always try the CLI first for a streamlined and reliable experience.&lt;/P&gt;
&lt;P class="p1"&gt;This&amp;nbsp;&lt;STRONG&gt;web terminal&lt;/STRONG&gt; workaround can be used if you’re facing restrictions such as limitations on software installation, firewall rules blocking necessary sites, or other constraints. Use it only in such scenarios where the CLI is not feasible.&lt;/P&gt;
&lt;P class="p1"&gt;Follow these steps for the installation:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 1: Install Required Dependencies and Set Up Python Virtual Environment&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p3"&gt;Run the following commands to ensure your environment is ready:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt update &amp;amp;&amp;amp;  
sudo apt upgrade -y &amp;amp;&amp;amp;  
sudo apt --fix-broken install -y &amp;amp;&amp;amp;  
sudo apt install -y python3.10-venv &lt;/LI-CODE&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 2: Unset the Runtime Version Environment Variable&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;unset DATABRICKS_RUNTIME_VERSION  &lt;/LI-CODE&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 3: Install the Databricks CLI (Optional for DBR 15.4 and above)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p3"&gt;If you encounter any issues calling the CLI, install it using this command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh &lt;/LI-CODE&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 4: Install UCX&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p3"&gt;Finally, install UCX with the following command (make sure you’re on &lt;STRONG&gt;DBR 15.4 or later&lt;/STRONG&gt;) :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;databricks labs install ucx &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 15:06:21 GMT</pubDate>
    <dc:creator>andres_garcia</dc:creator>
    <dc:date>2025-01-21T15:06:21Z</dc:date>
    <item>
      <title>Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/68512#M1796</link>
      <description>&lt;H1 id="setup-ucx-from-databricks-web-terminal" class="code-line" dir="auto" data-line="0"&gt;Setup UCX from Databricks web terminal&lt;/H1&gt;
&lt;P class="code-line" data-line="1"&gt;For cases when your desktop or laptop will not support the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;databricks labs install ucx&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;technical requirements such as Python 3.10, administrative access, python package access or network access but your Databricks cluster will have the Internet access requirements same as described in the main README.md document.&lt;/P&gt;
&lt;UL class="code-line" dir="auto" data-line="2"&gt;
&lt;LI class="code-line" dir="auto" data-line="2"&gt;Start an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Assigned&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(single user) interactive cluster&lt;/LI&gt;
&lt;LI class="code-line" dir="auto" data-line="3"&gt;Open the web terminal (Cluster -&amp;gt; Apps -&amp;gt; Web Terminal), expand to full page for better readability&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="code-line" data-line="5"&gt;Install and setup needed UCX dependencies:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell code-active-line" dir="auto" data-line="7"&gt;apt-get update
apt install -y python3.10-venv
&lt;SPAN class="hljs-built_in"&gt;unset&lt;/SPAN&gt; DATABRICKS_RUNTIME_VERSION&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="12"&gt;Download and install Databricks cli (not needed for DBR 15.1 and above):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="14"&gt;curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="18"&gt;Set PATH variable to point to new install (not needed for DBR 15.1 and above):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="20"&gt;&lt;SPAN class="hljs-built_in"&gt;export&lt;/SPAN&gt; PATH=/usr/local/bin:&lt;SPAN class="hljs-variable"&gt;$PATH&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="24"&gt;Verify Databricks cli (Should be greater than 0.219.0):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="26"&gt;&lt;SPAN class="hljs-built_in"&gt;which&lt;/SPAN&gt; databricks
databricks --version
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="31"&gt;Configure Databricks cli to authenticate to correct workspace, add host name, PAT token (not needed for DBR 15.1 and above):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="32"&gt;&lt;SPAN class="hljs-built_in"&gt;export&lt;/SPAN&gt; DATABRICKS_HOST=https://&amp;lt;hostname&amp;gt;
&lt;SPAN class="hljs-built_in"&gt;export&lt;/SPAN&gt; DATABRICKS_TOKEN=dapideadbeefdeadbeefdeadbeef
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="37"&gt;Verify configuration, connection and Databricks labs:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="38"&gt;databricks auth &lt;SPAN class="hljs-built_in"&gt;env&lt;/SPAN&gt;
databricks clusters list
databricks labs list
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="44"&gt;Install UCX, do not select options to open config.yml or README.py in a browser:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="45"&gt;databricks labs install ucx
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="code-line" data-line="49"&gt;To Upgrade UCX, do not select options to open config.yml or README.py in a browser:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="code-line language-shell" dir="auto" data-line="50"&gt;databricks labs uninstall ucx
databricks labs install ucx&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 17:20:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/68512#M1796</guid>
      <dc:creator>DouglasMoore</dc:creator>
      <dc:date>2024-05-08T17:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/68523#M1797</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/29870"&gt;@DouglasMoore&lt;/a&gt;&amp;nbsp;thank you for sharing this!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 06:46:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/68523#M1797</guid>
      <dc:creator>Yeshwanth</dc:creator>
      <dc:date>2024-05-08T06:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/79863#M1966</link>
      <description>&lt;P&gt;Please note, With respect to the Databricks CLI, the Web Terminal shell behaves differently with DBR 15.1 and above. The call outs are inline above the relevant commands.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 12:27:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/79863#M1966</guid>
      <dc:creator>DouglasMoore</dc:creator>
      <dc:date>2024-07-22T12:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/80341#M1978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/29870"&gt;@DouglasMoore&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I would like to provide some clarification regarding the commands mentioned in your post about DBR 15.1 or above. Contrary to what was stated, these commands are indeed necessary. Recently, when attempting to install UCX via the web terminal on my cluster, I encountered specific issues that were resolved by executing these commands.&lt;/P&gt;&lt;P&gt;The recommended flow is as follows:&lt;/P&gt;&lt;P&gt;1. Begin by installing the required UCX dependencies and setting up the Python virtual environment:&lt;/P&gt;&lt;P&gt;apt-get update&lt;BR /&gt;apt install -y python3.10-venv&lt;BR /&gt;unset DATABRICKS_RUNTIME_VERSION&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Next, download and install the Databricks CLI:&lt;/P&gt;&lt;P&gt;curl -fsSL &lt;A href="https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh" target="_blank"&gt;https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh&lt;/A&gt; | sh&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Configure the Databricks CLI to authenticate with the correct workspace, adding the hostname and PAT token:&lt;/P&gt;&lt;P&gt;export DATABRICKS_HOST=https://&amp;lt;hostname&amp;gt;&lt;BR /&gt;export DATABRICKS_TOKEN=&amp;lt;PAT&amp;gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;Finally, proceed to install UCX:&lt;/P&gt;&lt;P&gt;databricks labs install ucx&lt;/P&gt;&lt;P&gt;Following these steps ensures the correct installation of UCX. It's important to note that failure to provide the Databricks hostname and PAT token, even with DBR 15.1 or above, can lead to installation failures on Azure with AWS-linked validation errors.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 11:56:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/80341#M1978</guid>
      <dc:creator>Sourabh_13</dc:creator>
      <dc:date>2024-07-24T11:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/80413#M1979</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110813"&gt;@Sourabh_13&lt;/a&gt;&amp;nbsp;Thanks for your testing and feedback. What was your exact version of the Databricks Runtime (DBR) ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 16:19:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/80413#M1979</guid>
      <dc:creator>DouglasMoore</dc:creator>
      <dc:date>2024-07-24T16:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/80524#M1980</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/29870"&gt;@DouglasMoore&lt;/a&gt;&amp;nbsp;DBR version that i used for this testing was 15.3.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 10:50:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/80524#M1980</guid>
      <dc:creator>Sourabh_13</dc:creator>
      <dc:date>2024-07-25T10:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setup UCX (Databricks CLI) from Databricks web terminal</title>
      <link>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/106515#M2378</link>
      <description>&lt;P class="p1"&gt;I’ve found that using &lt;STRONG&gt;DBR 15.4&lt;/STRONG&gt;, &lt;STRONG&gt;Personal Compute&lt;/STRONG&gt;, and a &lt;STRONG&gt;Single Node&lt;/STRONG&gt; is the most effective setup for installing UCX via web terminal.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p1"&gt;The &lt;STRONG&gt;Databricks CLI&lt;/STRONG&gt; is the recommended and most efficient option for managing the UCX installation. Always try the CLI first for a streamlined and reliable experience.&lt;/P&gt;
&lt;P class="p1"&gt;This&amp;nbsp;&lt;STRONG&gt;web terminal&lt;/STRONG&gt; workaround can be used if you’re facing restrictions such as limitations on software installation, firewall rules blocking necessary sites, or other constraints. Use it only in such scenarios where the CLI is not feasible.&lt;/P&gt;
&lt;P class="p1"&gt;Follow these steps for the installation:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 1: Install Required Dependencies and Set Up Python Virtual Environment&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p3"&gt;Run the following commands to ensure your environment is ready:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt update &amp;amp;&amp;amp;  
sudo apt upgrade -y &amp;amp;&amp;amp;  
sudo apt --fix-broken install -y &amp;amp;&amp;amp;  
sudo apt install -y python3.10-venv &lt;/LI-CODE&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 2: Unset the Runtime Version Environment Variable&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;unset DATABRICKS_RUNTIME_VERSION  &lt;/LI-CODE&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 3: Install the Databricks CLI (Optional for DBR 15.4 and above)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p3"&gt;If you encounter any issues calling the CLI, install it using this command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh &lt;/LI-CODE&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Step 4: Install UCX&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p3"&gt;Finally, install UCX with the following command (make sure you’re on &lt;STRONG&gt;DBR 15.4 or later&lt;/STRONG&gt;) :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;databricks labs install ucx &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 15:06:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/setup-ucx-databricks-cli-from-databricks-web-terminal/m-p/106515#M2378</guid>
      <dc:creator>andres_garcia</dc:creator>
      <dc:date>2025-01-21T15:06:21Z</dc:date>
    </item>
  </channel>
</rss>

