<?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: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17229#M11259</link>
    <description>&lt;P&gt;Hi @Pierre MASSE​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for getting back to us. It's really great of you to send in the solution and mark the answer as best. &lt;/P&gt;&lt;P&gt;We really appreciate your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish you a great Databricks journey ahead!&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 11:36:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-13T11:36:02Z</dc:date>
    <item>
      <title>Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17223#M11253</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Py4JJavaError: An error occurred while calling o267._run.'&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:10:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17223#M11253</guid>
      <dc:creator>Jessy</dc:creator>
      <dc:date>2021-07-27T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17224#M11254</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same issue, when launching a notebook from a caller notebook through `dbutils.notebook.run`.&lt;/P&gt;&lt;P&gt;What is weird is that when manually launching the callee notebook, everything goes smoothly. I am also positive that at least one run had been successful even when called by the outer notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is weird is that when I get to view the inner notebook run, I have a Pandas related exception (KeyError: "None of [Index(['address'], dtype='object')] are in the [columns]"). But I really don't think that it is related to my code as, like mentioned above, the code works when the inner notebook is run directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The full visble stack is:&lt;/P&gt;&lt;P&gt;Py4JJavaError: An error occurred while calling o1141._run.&lt;/P&gt;&lt;P&gt;: com.databricks.WorkflowException: com.databricks.NotebookExecutionException: FAILED&lt;/P&gt;&lt;P&gt;	at com.databricks.workflow.WorkflowDriver.run(WorkflowDriver.scala:71)&lt;/P&gt;&lt;P&gt;	at com.databricks.dbutils_v1.impl.NotebookUtilsImpl.run(NotebookUtilsImpl.scala:122)&lt;/P&gt;&lt;P&gt;	at com.databricks.dbutils_v1.impl.NotebookUtilsImpl._run(NotebookUtilsImpl.scala:89)&lt;/P&gt;&lt;P&gt;	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;	at java.lang.reflect.Method.invoke(Method.java:498)&lt;/P&gt;&lt;P&gt;	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)&lt;/P&gt;&lt;P&gt;	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:380)&lt;/P&gt;&lt;P&gt;	at py4j.Gateway.invoke(Gateway.java:295)&lt;/P&gt;&lt;P&gt;	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)&lt;/P&gt;&lt;P&gt;	at py4j.commands.CallCommand.execute(CallCommand.java:79)&lt;/P&gt;&lt;P&gt;	at py4j.GatewayConnection.run(GatewayConnection.java:251)&lt;/P&gt;&lt;P&gt;	at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;Caused by: com.databricks.NotebookExecutionException: FAILED&lt;/P&gt;&lt;P&gt;	at com.databricks.workflow.WorkflowDriver.run0(WorkflowDriver.scala:117)&lt;/P&gt;&lt;P&gt;	at com.databricks.workflow.WorkflowDriver.run(WorkflowDriver.scala:66)&lt;/P&gt;&lt;P&gt;	... 13 more&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 00:24:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17224#M11254</guid>
      <dc:creator>Pierre_MASSE</dc:creator>
      <dc:date>2021-12-18T00:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17225#M11255</link>
      <description>&lt;P&gt;Hello @Pierre MASSE​! My name is Piper, and I'm a moderator for Databricks. Thank you for continuing the discussion. Let's see what the community has to say or we'll circle back to you. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:31:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17225#M11255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-20T20:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17226#M11256</link>
      <description>&lt;P&gt;Hi @Pierre MASSE​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you access your child notebook? According to the error message, the error "Caused by: com.databricks.NotebookExecutionException: FAILED" shows that something failed inside of your children notebook. &lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 00:29:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17226#M11256</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-01-26T00:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17227#M11257</link>
      <description>&lt;P&gt;Hey there @Jessy​&amp;nbsp;and @Pierre MASSE​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you guys are doing great! Thank you for posting your questions.&lt;/P&gt;&lt;P&gt;Just wanted to see if you were able to find an answer to your question and would you like to mark an answer as best? It would be really helpful for the other members too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 13:58:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17227#M11257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-12T13:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17228#M11258</link>
      <description>&lt;P&gt;Hi Varika,&lt;/P&gt;&lt;P&gt;I did get an answer from StackOverflow &lt;A href="https://stackoverflow.com/questions/70400156/py4jjavaerror-in-an-azure-databricks-notebook-pipeline" alt="https://stackoverflow.com/questions/70400156/py4jjavaerror-in-an-azure-databricks-notebook-pipeline" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I was working with a python notebook, and the issue I had was that passing a parameter to an inner notebook through `dbutils.notebook.run` and `dbutils.widgets.get` casts all passed parameters to string. It caused an exception in the called notebook.&lt;/P&gt;&lt;P&gt;I will mark @Jose Gonzalez​'s answer as the best one - see link above to have more details from my specific issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 15:16:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17228#M11258</guid>
      <dc:creator>Pierre_MASSE</dc:creator>
      <dc:date>2022-05-12T15:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Azure databrick throwing   'Py4JJavaError: An error occurred while calling o267._run.'  error while calling one notebook from another notebook. Has someone come across such error? Can some one suggest the solution if faced similar issue.</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17229#M11259</link>
      <description>&lt;P&gt;Hi @Pierre MASSE​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for getting back to us. It's really great of you to send in the solution and mark the answer as best. &lt;/P&gt;&lt;P&gt;We really appreciate your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish you a great Databricks journey ahead!&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 11:36:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databrick-throwing-py4jjavaerror-an-error-occurred-while/m-p/17229#M11259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-13T11:36:02Z</dc:date>
    </item>
  </channel>
</rss>

