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 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-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