cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Running an exe file in databricks

Dlt
New Contributor III

Hello 

I have an executable file which i want to host and run from databricks.  is this possible in databricks using DBFS ?

If NOT what are the other ways to it in databricks ? 

4 REPLIES 4

AlliaKhosla
Databricks Employee
Databricks Employee

 Greetings!!

 

@Dlt Running .exe files directly from DBFS (Databricks File System) is not supported. This is because Databricks clusters use Ubuntu machines, which do not support the execution of .exe files. Exe files are generally used in Windows OS. 

 

Hope this helps !

AlliaKhosla
Databricks Employee
Databricks Employee

 Greetings!!

 

@Dlt Running .exe files directly from DBFS (Databricks File System) is not supported. This is because Databricks clusters use Ubuntu machines, which do not support the execution of .exe files. Exe files are generally used in Windows OS. 

 

Hope this helps !

 

Regards
Allia 

Dlt
New Contributor III

Thanks a lot for reply.  I have a buildable code which i can build and create file which can run on linux platform.

If that is the case then can you suggest how can i run it in databricks ? Can we keep it in dbfs and call it in notebook ?

BR_DatabricksAI
Contributor

Hello, 

I don't have much information on what kind of executables you would like to run in databricks however, I can think of two solutions : 

Solution 1: Deploy your code in azure container registry as an image and use the endpoint in data bricks. 

Solution 2: Convert the same business logic in data bricks notebook and run directly from data bricks. 

 

 

 

 

Connect with Databricks Users in Your Area

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