<?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: Can't enable CLI 2.1 on CI in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/28020#M19858</link>
    <description>&lt;P&gt;Hello, @Alejandro Martinez​&amp;nbsp;- My name is Piper, and I'm a moderator for Databricks. I apologize that it has taken so long to respond to you. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will give it a bit longer to see what the community has to say before we come back around if we need to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Feb 2022 19:20:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-21T19:20:22Z</dc:date>
    <item>
      <title>Can't enable CLI 2.1 on CI</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/28019#M19857</link>
      <description>&lt;P&gt;Hi! this is my CI configuration, I added the &lt;B&gt;databricks jobs configure --version=2.1 &lt;/B&gt;command but it stills showing this error, any idea of what can I be doing wrong?&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;Resetting Databricks Job with job_id 1036...&lt;/P&gt;&lt;P&gt;WARN: Your CLI is configured to use Jobs API 2.0. In order to use the latest Jobs features please upgrade to 2.1: 'databricks jobs configure --version=2.1'. Future versions of this CLI will default to the new Jobs API. Learn more at &lt;A href="https://docs.databricks.com/dev-tools/cli/jobs-cli.html" target="test_blank"&gt;https://docs.databricks.com/dev-tools/cli/jobs-cli.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;YML&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;image: python:3.6-alpine
&amp;nbsp;
stages:
&amp;nbsp;
 - build
&amp;nbsp;
 - deploy
&amp;nbsp;
​
&amp;nbsp;
before_script:
&amp;nbsp;
   - apk add jq
&amp;nbsp;
   - echo "Installing Databricks CLI..." 
&amp;nbsp;
   - pip3 install databricks-cli
&amp;nbsp;
   - pip3 show databricks-cli
&amp;nbsp;
   - echo "Configuring Databricks profile..."
&amp;nbsp;
   - echo "[DEFAULT]" &amp;gt; ~/.databrickscfg
&amp;nbsp;
   - echo "host = ${DATABRICKS_HOST}" &amp;gt;&amp;gt; ~/.databrickscfg
&amp;nbsp;
   - echo "token = ${DATABRICKS_TOKEN}" &amp;gt;&amp;gt; ~/.databrickscfg
&amp;nbsp;
   - databricks jobs configure --version=2.1
&amp;nbsp;
   - source ci/utils.sh
&amp;nbsp;
​
&amp;nbsp;
build:
&amp;nbsp;
   stage: build
&amp;nbsp;
   only:
&amp;nbsp;
       - master
&amp;nbsp;
   script:
&amp;nbsp;
       - echo "Compiling Python package in EGG distribution..."
&amp;nbsp;
       - python3 setup.py bdist_egg
&amp;nbsp;
       - export PACKAGE_VERSION=$(python setup.py --version)
&amp;nbsp;
       - echo "Pushing compiled library to DBFS..."
&amp;nbsp;
       - dbfs cp --overwrite dist/${CI_PROJECT_NAME}-${PACKAGE_VERSION}-py3.6.egg dbfs:/FileStore/build/${CI_PROJECT_NAME}.egg
&amp;nbsp;
​
&amp;nbsp;
deploy:
&amp;nbsp;
   stage: deploy
&amp;nbsp;
   only:
&amp;nbsp;
       - master
&amp;nbsp;
   script:
&amp;nbsp;
       - databricks jobs configure --version=2.1
&amp;nbsp;
       - echo "Pushing compiled library to DBFS..."
&amp;nbsp;
       - dbfs cp --overwrite dbfs:/FileStore/build/${CI_PROJECT_NAME}.egg dbfs:/FileStore/eggs/${CI_PROJECT_NAME}.egg
&amp;nbsp;
       - dbfs rm dbfs:/FileStore/build/${CI_PROJECT_NAME}.egg
&amp;nbsp;
       - upload_process_scripts ${DATABRICKS_MAIN_SCRIPT_PATH} ${CI_PROJECT_NAME}
&amp;nbsp;
       - create_jobs ${DATABRICKS_JOBS_PATH}
&amp;nbsp;
   when: manual
&amp;nbsp;
​&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 19:26:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/28019#M19857</guid>
      <dc:creator>alejandrofm</dc:creator>
      <dc:date>2022-02-15T19:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't enable CLI 2.1 on CI</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/28020#M19858</link>
      <description>&lt;P&gt;Hello, @Alejandro Martinez​&amp;nbsp;- My name is Piper, and I'm a moderator for Databricks. I apologize that it has taken so long to respond to you. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will give it a bit longer to see what the community has to say before we come back around if we need to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 19:20:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/28020#M19858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-21T19:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can't enable CLI 2.1 on CI</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/93466#M38712</link>
      <description>&lt;P&gt;any updated on this one, i am having a similar issue&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 15:31:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/93466#M38712</guid>
      <dc:creator>karthik-kandiko</dc:creator>
      <dc:date>2024-10-10T15:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't enable CLI 2.1 on CI</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/109021#M43208</link>
      <description>&lt;P&gt;I got to solve this by downgrading the Databricks runtime to 13.3 and had the below commands for optimization and it worked well in my case.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"spark.sql.shuffle.partitions"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"200"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"spark.sql.execution.arrow.pyspark.enabled"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2025 21:04:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-enable-cli-2-1-on-ci/m-p/109021#M43208</guid>
      <dc:creator>karthik-kandiko</dc:creator>
      <dc:date>2025-02-05T21:04:02Z</dc:date>
    </item>
  </channel>
</rss>

