<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to access a jar file stored in Databricks Workspace ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3510#M546</link>
    <description>&lt;P&gt;Hi @Vidula Khanna​&amp;nbsp;, thank you for your response. I had also responded to a similar message from @Kaniz Fatma​&amp;nbsp;. Anyways the issue is still not resolved.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;The issue is still not resolved.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I was hoping someone from Databricks would be able to help. Please help if possible.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;Steps to Reproduce:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have two folders in Workspace - init_scripts and jars.&lt;/LI&gt;&lt;LI&gt;Have any jar file in the jars folder.&lt;/LI&gt;&lt;LI&gt;Have an init script in the init_scripts folder that copies the jar file from the jars folder into the /databricks/databricks-hive/ folder in the cluster.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;```bash&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/jars/&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/databricks-hive/&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Configure the init script in the workspace in the Cluster configuration.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Expected:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Cluster needs to start without any error.&lt;/LI&gt;&lt;LI&gt;The jar has to be copied to the /databricks/databricks-hive/ folder.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Current Behaviour:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The cluster is not starting.&lt;/LI&gt;&lt;LI&gt;Init script is failing stating that the source file is not available.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;Things already tried:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have tried file path with and without /Workspace - both are failing saying file is not available.&lt;/LI&gt;&lt;LI&gt;I have also tried sleep for up to 2 minutes and the files are still not available.&lt;/LI&gt;&lt;LI&gt;Have tried an init script that would just list the files in the path and print to a file. Even listing fails stating file/path is not available.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;​&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2023 07:03:05 GMT</pubDate>
    <dc:creator>ranged_coop</dc:creator>
    <dc:date>2023-06-14T07:03:05Z</dc:date>
    <item>
      <title>How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3491#M527</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We have a couple of jars stored in a workspace folder.&lt;/P&gt;&lt;P&gt;We are using init scripts to copy the jars in the workspace to the /databricks/jars path.&lt;/P&gt;&lt;P&gt;The init scripts do not seem to be able to find the files. &lt;/P&gt;&lt;P&gt;The scripts are failing saying the files could not be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```bash&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/jars/&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/databricks-hive/&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know if this is even possible ? &lt;/P&gt;&lt;P&gt;What is the correct path for a file in a Workspace Folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have tried file path with and without /Workspace - both are failing saying file is not available.&lt;/LI&gt;&lt;LI&gt;I have also tried sleep for up to 2 minutes and the files are still not available.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;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 ?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 10:52:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3491#M527</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T10:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3492#M528</link>
      <description>&lt;P&gt;that seems to be ok.  Probably the file system is not yet mounted when you do the copy operations.&lt;/P&gt;&lt;P&gt;What is your use case of copying jars in an init script?  There might be alternatives.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:08:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3492#M528</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T11:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3493#M529</link>
      <description>&lt;P&gt;Thank you for your response...&lt;/P&gt;&lt;P&gt;We just have an inbuilt jar file that we have in DBFS and move to above mentioned paths as part of the init scripts...&lt;/P&gt;&lt;P&gt;As part of the process to move the init scripts to a workspace location, we are just trying to see if we can have the jars organized in Workspace and use similar init script to move it...We also planned on having a few files copied similarly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow up Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Should the workspace file path begin with `/Workspace/jars/file_name.jar` or just `/jars/file_name.jar`&lt;/LI&gt;&lt;LI&gt;What would be the best option to work around the file system delay ? is it possible to check if it is up or a sleep command ?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:16:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3493#M529</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T11:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3494#M530</link>
      <description>&lt;OL&gt;&lt;LI&gt;/Workspace is a directory (you can check by using the %sh magic command in a notebook)&lt;/LI&gt;&lt;LI&gt;Well, the way I use my jars is by installing them on a cluster as a library.  By then everything is mounted and the jars can be found.  My jars reside in the /Filestore/jars directory and do not move or are not being copied.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:19:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3494#M530</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T11:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3495#M531</link>
      <description>&lt;P&gt;Thank you for your response...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The reason for the question is when I mention an init script as part of the cluster config, there the word /Workspace is not used. On the other hand %sh path uses that word.&lt;/LI&gt;&lt;LI&gt;Currently we also have it placed similarly, but when I need to show the files/jars to someone it is a pain. Showing from the workspace is even easier. Also some arbitrary files can be pushed to git easily from Workspace.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:25:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3495#M531</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T11:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3496#M532</link>
      <description>&lt;P&gt;I see, but isn't it easier to share the source code in git instead of a jar?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:28:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3496#M532</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T11:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3497#M533</link>
      <description>&lt;P&gt;Code is in git only, we have blackbox jars provided by different teams and used as part of the code. These are the ones we currently have in DBFS and plan to move to workspace.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:31:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3497#M533</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T11:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3498#M534</link>
      <description>&lt;P&gt;I still struggle to understand why you copy them, sorry.&lt;/P&gt;&lt;P&gt;A jar is an artifact.  You import them and use them in your program.  For that you do not need a copy.&lt;/P&gt;&lt;P&gt;If you need to know what is in the jar, go to git and look at the class code.&lt;/P&gt;&lt;P&gt;Probably I am missing something.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:35:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3498#M534</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T11:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3499#M535</link>
      <description>&lt;P&gt;No issues...I will try to explain...&lt;/P&gt;&lt;P&gt;We have several teams...One of them produces a jar file whose logic is black box to us. We only use it. We are not aware of its contents. It is a carry forward from old legacy code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the jar file, we copy it to the drive so that our code can reference the classes inside the jar file. To do that we copy the jar file to the path where databricks copies all the jars - you can see it some environmental variable - I do not remember...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:43:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3499#M535</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3500#M536</link>
      <description>&lt;P&gt;ok i get it.&lt;/P&gt;&lt;P&gt;is the databricks-cli an option? Because my guess is that Workspace is not available during init script( you do use a cluster-scoped init script right?).&lt;/P&gt;&lt;P&gt;Or you can put the jars to be copied in a /databricks subfolder like /zzjars as /databricks should exist.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:55:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3500#M536</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T11:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3501#M537</link>
      <description>&lt;P&gt;Are you saying the Workspace path will not be available even if I sleep for a minute or so ? Can you please confirm ? This is will save me a lot of effort if it is not going to load. Ideally it should not be the case right since Databricks is proposing that the init scripts should be maintained as part of Workspace meaning Workspace should logically be available first before the init scripts execute right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on the order of availability ? &lt;/P&gt;&lt;P&gt;Driver Node&lt;/P&gt;&lt;P&gt;Mount DBFS&lt;/P&gt;&lt;P&gt;Mount Workspace&lt;/P&gt;&lt;P&gt;Init Scripts&lt;/P&gt;&lt;P&gt;Other Mounts ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 12:10:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3501#M537</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T12:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3502#M538</link>
      <description>&lt;P&gt;Hm, you are right.  If you need to put init scripts in the workspace, it should be available already.&lt;/P&gt;&lt;P&gt;So it seems that you need to get the path correct.&lt;/P&gt;&lt;P&gt;Can you try with the /Worspace dir in the path (as you mentioned the script does not use it)?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 12:35:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3502#M538</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T12:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3503#M539</link>
      <description>&lt;P&gt;Have tried it both ways with and without /Workspace...the files do not seem to be available...Also have tried sleeping for up to 2 minutes to see if it is delay in mounting issue...I just think binary files such as jars are not supported, would be nice if someone from databricks can confirm...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:14:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3503#M539</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T13:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3504#M540</link>
      <description>&lt;P&gt;Can you write the directory structure to a file in the init script?  like that you can take a look if you are missing a part of the path.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:17:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3504#M540</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3505#M541</link>
      <description>&lt;P&gt;I did...A very simple init script&lt;/P&gt;&lt;P&gt;Tried with and without Workspace....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```bash&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;list_of_files=$(ls /Workspace/jars/)&lt;/P&gt;&lt;P&gt;printf "$list_of_files" &amp;gt; /dbfs/FileStore/temp_files/init_script_error.txt&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both the cases got the similar error message...&lt;/P&gt;&lt;P&gt;```bash&lt;/P&gt;&lt;P&gt;ls: cannot access '/Workspace/jars/': Invalid argument&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:35:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3505#M541</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-07T13:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3506#M542</link>
      <description>&lt;P&gt;perhaps using tree -d? (probably you have to install it first)&lt;/P&gt;&lt;P&gt;or there is also something as the web terminal but I have never used that&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:39:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3506#M542</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T13:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3508#M544</link>
      <description>&lt;P&gt;Thank you for your response @Kaniz Fatma​&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is still not resolved.&lt;/P&gt;&lt;P&gt;I was hoping someone from Databricks would be able to help. Please help if possible.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Steps to Reproduce:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have two folders in Workspace - init_scripts and jars.&lt;/LI&gt;&lt;LI&gt;Have any jar file in the jars folder.&lt;/LI&gt;&lt;LI&gt;Have an init script in the init_scripts folder that copies the jar file from the jars folder into the /databricks/databricks-hive/ folder in the cluster.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;```bash&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/jars/&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/databricks-hive/&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Configure the init script in the workspace in the Cluster configuration.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Cluster needs to start&lt;/LI&gt;&lt;LI&gt;The jar has to be copied to the /databricks/databricks-hive/ folder.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Behaviour:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The cluster is not starting.&lt;/LI&gt;&lt;LI&gt;Init script is failing stating that the source file is not available.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 13 Jun 2023 06:24:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3508#M544</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-13T06:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3509#M545</link>
      <description>&lt;P&gt;Hi @Bharath Kumar Ramachandran​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't heard from you since the last response from @Werner Stinckens​&amp;nbsp; . Kindly share the information with us, and in return, we will provide you with the necessary solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks and Regards&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 06:56:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3509#M545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-14T06:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3510#M546</link>
      <description>&lt;P&gt;Hi @Vidula Khanna​&amp;nbsp;, thank you for your response. I had also responded to a similar message from @Kaniz Fatma​&amp;nbsp;. Anyways the issue is still not resolved.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;The issue is still not resolved.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I was hoping someone from Databricks would be able to help. Please help if possible.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;Steps to Reproduce:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have two folders in Workspace - init_scripts and jars.&lt;/LI&gt;&lt;LI&gt;Have any jar file in the jars folder.&lt;/LI&gt;&lt;LI&gt;Have an init script in the init_scripts folder that copies the jar file from the jars folder into the /databricks/databricks-hive/ folder in the cluster.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;```bash&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/jars/&lt;/P&gt;&lt;P&gt;cp /Workspace/jars/file_name.jar /databricks/databricks-hive/&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Configure the init script in the workspace in the Cluster configuration.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Expected:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Cluster needs to start without any error.&lt;/LI&gt;&lt;LI&gt;The jar has to be copied to the /databricks/databricks-hive/ folder.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Current Behaviour:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The cluster is not starting.&lt;/LI&gt;&lt;LI&gt;Init script is failing stating that the source file is not available.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;Things already tried:&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have tried file path with and without /Workspace - both are failing saying file is not available.&lt;/LI&gt;&lt;LI&gt;I have also tried sleep for up to 2 minutes and the files are still not available.&lt;/LI&gt;&lt;LI&gt;Have tried an init script that would just list the files in the path and print to a file. Even listing fails stating file/path is not available.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 07:03:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3510#M546</guid>
      <dc:creator>ranged_coop</dc:creator>
      <dc:date>2023-06-14T07:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a jar file stored in Databricks Workspace ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3511#M547</link>
      <description>&lt;P&gt;Someone has the same issue as you and well, it is not possible:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/question/0D78Y000007uNLYSA2/detail" alt="https://community.databricks.com/s/question/0D78Y000007uNLYSA2/detail" target="_blank"&gt;https://community.databricks.com/s/question/0D78Y000007uNLYSA2/detail&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 07:54:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-a-jar-file-stored-in-databricks-workspace/m-p/3511#M547</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-14T07:54:55Z</dc:date>
    </item>
  </channel>
</rss>

