<?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: Error: Cannot use legacy parameters because the job has job parameters configured. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88824#M37627</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jay971_0-1725598469947.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10976i4FE5D2BA4AB75409/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jay971_0-1725598469947.png" alt="jay971_0-1725598469947.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jay971_1-1725598487848.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10977i8C0F51C1DB1B9B92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jay971_1-1725598487848.png" alt="jay971_1-1725598487848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The job ran but did not pick up the values from the CLI.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 05:12:24 GMT</pubDate>
    <dc:creator>jay971</dc:creator>
    <dc:date>2024-09-06T05:12:24Z</dc:date>
    <item>
      <title>Error: Cannot use legacy parameters because the job has job parameters configured.</title>
      <link>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88815#M37623</link>
      <description>&lt;P&gt;I created a job which has two Job Parameters. How can I use Databricks CLI to pass different values to those parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 04:12:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88815#M37623</guid>
      <dc:creator>jay971</dc:creator>
      <dc:date>2024-09-06T04:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot use legacy parameters because the job has job parameters configured.</title>
      <link>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88818#M37625</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119511"&gt;@jay971&lt;/a&gt;, How are you doing today?&lt;/P&gt;&lt;P&gt;To answer your question, To pass job parameters using Databricks CLI, &lt;STRONG&gt;create a JSON file&lt;/STRONG&gt; that contains your job ID and parameters in the format expected by Databricks. Then, &lt;STRONG&gt;use the --json-file&amp;nbsp;option&lt;/STRONG&gt; in the CLI command to provide the parameters dynamically. This way, you can adjust the values for each run without changing the job itself. Also, make sure the job is set up to accept these parameters to avoid any issues during execution.&lt;/P&gt;&lt;P&gt;Give a try and let me know.&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 04:28:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88818#M37625</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2024-09-06T04:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot use legacy parameters because the job has job parameters configured.</title>
      <link>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88819#M37626</link>
      <description>&lt;P&gt;Thanks for your reply, I got it working. The issue was that I was using the wrong key inside the inline JSON string. I just triggered the job.&lt;/P&gt;&lt;P&gt;I have a follow-up question: What is the best way to trigger the job with 10 different input parameters using the CLI? Also, my job is configured to use a job cluster. Will there be 10 different job clusters spun up? Am I correct?&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 04:49:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88819#M37626</guid>
      <dc:creator>jay971</dc:creator>
      <dc:date>2024-09-06T04:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot use legacy parameters because the job has job parameters configured.</title>
      <link>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88824#M37627</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jay971_0-1725598469947.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10976i4FE5D2BA4AB75409/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jay971_0-1725598469947.png" alt="jay971_0-1725598469947.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jay971_1-1725598487848.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10977i8C0F51C1DB1B9B92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jay971_1-1725598487848.png" alt="jay971_1-1725598487848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The job ran but did not pick up the values from the CLI.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 05:12:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-cannot-use-legacy-parameters-because-the-job-has-job/m-p/88824#M37627</guid>
      <dc:creator>jay971</dc:creator>
      <dc:date>2024-09-06T05:12:24Z</dc:date>
    </item>
  </channel>
</rss>

