Azure-docs: Error fixed

Created on 12 Nov 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

If you get the following error:
notebook:25: error: Static methods in interface require -target:jvm-1.8
val messageData = EventData.create(message.getBytes("UTF-8"))

notebook:19: error: Static methods in interface require -target:jvm-1.8
val eventHubClient = EventHubClient.create(connStr.toString(), pool)

Solution: is to change cluster's "Databricks Runtime Version" to a higher version such as Runtime: 6.0.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author azure-databricksvc doc-bug triaged

Most helpful comment

@soheil-moosavi-accenture Thanks much for sharing your findings. This information is very helpful for those who come across this issue. Appreciate for taking time and sharing your insights.

Since there is no action required at the moment I will go head and close this issue. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.

Thank you.

I recommend updating this tutorial with a newer version of Databricks Run time, since the V5.2 is no longer supported.

All 5 comments

@soheil-moosavi-accenture Thanks much for sharing your findings. This information is very helpful for those who come across this issue. Appreciate for taking time and sharing your insights.

Since there is no action required at the moment I will go head and close this issue. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.

Thank you.

@soheil-moosavi-accenture Thanks much for sharing your findings. This information is very helpful for those who come across this issue. Appreciate for taking time and sharing your insights.

Since there is no action required at the moment I will go head and close this issue. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.

Thank you.

I recommend updating this tutorial with a newer version of Databricks Run time, since the V5.2 is no longer supported.

@soheil-moosavi-accenture We have assigned the issue to the content author for further review and update the document as appropriate. Thanks much reporting this to us.

@lenadroid Could you please have a look at the feedback from @soheil-moosavi-accenture. thanks!

@mamccrea FYI

Thank you for the feedback. I've updated the article with a newer runtime. #please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jharbieh picture jharbieh  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments