<?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 you help with this error please? Issue when using a new high concurrency cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13886#M8468</link>
    <description>&lt;P&gt;Thank you for your response. I appreciate this but are you aware of any work around to use a high concurrency cluster as it is a special databricks function that is the issue&lt;/P&gt;</description>
    <pubDate>Wed, 13 Oct 2021 15:33:45 GMT</pubDate>
    <dc:creator>TJS</dc:creator>
    <dc:date>2021-10-13T15:33:45Z</dc:date>
    <item>
      <title>Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13883#M8465</link>
      <description>&lt;P&gt;Hello, I am trying to use MLFlow on a new high concurrency cluster but I get the error below. Does anyone have any suggestions? It was working before on a standard cluster. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;py4j.security.Py4JSecurityException: Method public int org.apache.spark.SparkContext.maxNumConcurrentTasks() is not whitelisted on class class org.apache.spark.SparkContext&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------- Py4JError Traceback (most recent call last) &amp;lt;command-2769834740329298&amp;gt; in &amp;lt;module&amp;gt; 32 # Greater parallelism will lead to speedups, but a less optimal hyperparameter sweep. 33 # A reasonable value for parallelism is the square root of max_evals. ---&amp;gt; 34 spark_trials = SparkTrials(parallelism=10) 35 36 /databricks/.python_edge_libs/hyperopt/&lt;A href="http://spark.py" alt="http://spark.py" target="_blank"&gt;spark.py&lt;/A&gt; in __init__(self, parallelism, timeout, loss_threshold, spark_session) 101 ) 102 # maxNumConcurrentTasks() is a package private API --&amp;gt; 103 max_num_concurrent_tasks = self._spark_context._jsc.sc().maxNumConcurrentTasks() 104 spark_default_parallelism = self._spark_context.defaultParallelism 105 self.parallelism = self._decide_parallelism( /databricks/spark/python/lib/py4j-0.10.9-src.zip/py4j/java_gateway.py in __call__(self, *args) 1303 answer = self.gateway_client.send_command(command) 1304 return_value = get_return_value( -&amp;gt; 1305 answer, self.gateway_client, self.target_id,&amp;nbsp;&lt;A href="http://self.name/" alt="http://self.name/" target="_blank"&gt;self.name&lt;/A&gt;) 1306&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 15:24:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13883#M8465</guid>
      <dc:creator>TJS</dc:creator>
      <dc:date>2021-10-08T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13884#M8466</link>
      <description>&lt;P&gt;Hello, @Tom Soto​! My name is Piper and I'm a moderator for Databricks. It's great to meet you, and thanks for your question! Let's see if your peers in the community have an answer to your question first. Or else I will follow up shortly with a response.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 20:44:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13884#M8466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-08T20:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13885#M8467</link>
      <description>&lt;P&gt;hi @Tom Soto​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is coming from your high concurrency cluster's security model. This is build-in security model to restrict access to your data.  Your code might work on standard cluster but not on high concurrency clusters.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 23:42:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13885#M8467</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-10-08T23:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13886#M8468</link>
      <description>&lt;P&gt;Thank you for your response. I appreciate this but are you aware of any work around to use a high concurrency cluster as it is a special databricks function that is the issue&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:33:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13886#M8468</guid>
      <dc:creator>TJS</dc:creator>
      <dc:date>2021-10-13T15:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13887#M8469</link>
      <description>&lt;P&gt;@Tom Soto​&amp;nbsp;We have a workaround for this. This cluster&amp;nbsp;spark&amp;nbsp;configuration setting will disable py4jSecurity while still enabling passthrough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;spark.databricks.pyspark.enablePy4JSecurity&amp;nbsp;false&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 13:05:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13887#M8469</guid>
      <dc:creator>Pradeep54</dc:creator>
      <dc:date>2021-10-19T13:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13888#M8470</link>
      <description>&lt;P&gt;Thank you very much. This workaround worked for me.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 13:36:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13888#M8470</guid>
      <dc:creator>TJS</dc:creator>
      <dc:date>2021-10-29T13:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help with this error please? Issue when using a new high concurrency cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13889#M8471</link>
      <description>&lt;P&gt;@Tom Soto​&amp;nbsp;- If Pradpalnis fully answered your question, would you be happy to mark their answer as best so that others can quickly find the solution?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 22:04:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-help-with-this-error-please-issue-when-using-a-new-high/m-p/13889#M8471</guid>
      <dc:creator>Piper_Wilson</dc:creator>
      <dc:date>2021-10-29T22:04:44Z</dc:date>
    </item>
  </channel>
</rss>

