โ03-16-2023 07:41 AM
โ03-18-2023 09:18 AM
Hi @Pranchal Guptaโ, The browserHostName tag is only available when running a notebook in a Databricks workspace and not when executing the notebook as part of a workflow.
The browserHostName tag is set by the Databricks notebook frontend and unavailable in a workflow context.
โ03-18-2023 10:39 PM
Is that means it couldnโt be possible we can retrieve the instance name with workflow using this method?
Having one more doubt using workflow as well we are using the notebook only so then how is it different scenario?
โ03-18-2023 10:02 PM
Hi @Pranchal Guptaโ
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
โ03-18-2023 10:41 PM
I am having some doubts like using workflow as well we are using the notebook so why we not able to access the hostname how is it different scenario and what other ways possible to get the instance name?
โ03-21-2023 11:01 PM
Hi @Pranchal Guptaโ
I'm sorry you could not find a solution to your problem in the answers provided.
Our community strives to provide helpful and accurate information, but sometimes an immediate solution may only be available for some issues.
I suggest providing more information about your problem, such as specific error messages, error logs or details about the steps you have taken. This can help our community members better understand the issue and provide more targeted solutions.
Alternatively, you can consider contacting the support team for your product or service. They may be able to provide additional assistance or escalate the issue to the appropriate section for further investigation.
Thank you for your patience and understanding, and please let us know if there is anything else we can do to assist you.
โ09-15-2023 07:32 AM - edited โ09-15-2023 07:48 AM
I had the same question...
I found you can achieve the same with spark.conf.get('spark.databricks.workspaceUrl')
โ09-17-2023 08:04 AM
@Prank why do you want the browser hostname?
โ09-18-2023 12:40 AM - edited โ09-18-2023 12:41 AM
Hi @BilalAslamDbrx
I am not @Prank but I needed it for calling the serving_endpoints API.
โ09-18-2023 01:56 AM
Ah I see @tessaickx ... did the `spark.conf` solution work for you?
โ09-18-2023 01:58 AM
It does work yes.
โ09-18-2023 01:59 AM
Awesome thanks @tessaickx ๐
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group