โ06-07-2023 03:52 AM
Hi All,
We have a couple of jars stored in a workspace folder.
We are using init scripts to copy the jars in the workspace to the /databricks/jars path.
The init scripts do not seem to be able to find the files.
The scripts are failing saying the files could not be found.
```bash
#!/bin/bash
cp /Workspace/jars/file_name.jar /databricks/jars/
cp /Workspace/jars/file_name.jar /databricks/databricks-hive/
```
Can you please let me know if this is even possible ?
What is the correct path for a file in a Workspace Folder.
Thank you...
Edit:
Would be nice if someone from databricks can confirm if binary files from Workspace such as jars are accessible via init scripts, if yes what would their path be like ?
โ06-07-2023 06:39 AM
perhaps using tree -d? (probably you have to install it first)
or there is also something as the web terminal but I have never used that
โ06-12-2023 06:53 PM
Hi @Bharath Kumar Ramachandranโ, We haven't heard from you since the last response from @Werner Stinckensโ, and I was checking back to see if his suggestions helped you.
Or else, If you have any solution, please share it with the community, as it can be helpful to others.
Also, please don't forget the "Select As Best" button whenever the information provided helps resolve your question.
โ06-12-2023 11:24 PM
Thank you for your response @Kaniz Fatmaโ
The issue is still not resolved.
I was hoping someone from Databricks would be able to help. Please help if possible.
โ
Steps to Reproduce:
```bash
#!/bin/bash
cp /Workspace/jars/file_name.jar /databricks/jars/
cp /Workspace/jars/file_name.jar /databricks/databricks-hive/
```
Expected:
Current Behaviour:
โ06-13-2023 11:56 PM
Hi @Bharath Kumar Ramachandranโ
We haven't heard from you since the last response from @Werner Stinckensโ . Kindly share the information with us, and in return, we will provide you with the necessary solution.
Thanks and Regards
โ06-14-2023 12:03 AM
Hi @Vidula Khannaโ , thank you for your response. I had also responded to a similar message from @Kaniz Fatmaโ . Anyways the issue is still not resolved.
โ
The issue is still not resolved.
I was hoping someone from Databricks would be able to help. Please help if possible.
โ
Steps to Reproduce:
```bash
#!/bin/bash
cp /Workspace/jars/file_name.jar /databricks/jars/
cp /Workspace/jars/file_name.jar /databricks/databricks-hive/
```
Expected:
Current Behaviour:
โ
Things already tried:
โ
โ06-14-2023 12:54 AM
Someone has the same issue as you and well, it is not possible:
https://community.databricks.com/s/question/0D78Y000007uNLYSA2/detail
โ06-14-2023 01:09 AM
Thank you for sharing the link. It was useful.
It is a little sad seeing that it is not possible having spent so much time analyzing and trying out various options.
I hope this is from a valid source. If so, I hope Databricks would consider adding this option seeing that many (well atleast 2 :)) are expecting this feature. Using CLI and API would just complicate things and not that practical.
โ06-15-2023 02:33 AM
Hi @Bharath Kumar Ramachandranโ, If you want a new feature to be added, you can request the feature here at this link:-https://docs.databricks.com/resources/ideas.html
โ06-14-2023 11:27 PM
Hi @Bharath Kumar Ramachandranโ
You're welcome! I'm glad you found the link useful. I empathize with your hope that Databricks would consider adding this option. It's possible that Databricks will take user feedback into account when planning future updates and enhancements.
Moreover, every best answer marked contributes to the growth and success of our community.
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