10-16-2024 01:45 PM
10-16-2024 02:36 PM
I was about to post the same question, for some reason we are not able to find the dbfs toggle option in settings either!
10-16-2024 06:21 PM
I'm facing the same issue, were you able to find a solution for this? or a work around?
10-16-2024 07:15 PM
The workaround will be to Mount the S3 bucket and use that as your source.
10-18-2024 02:06 PM
Many thanks for this gchandra.
Will Databricks ever bring back the upload files option into Databricks Community Edition near future? I never mounted an S3 bucket, so will have to test, teach all my students about S3 buckets, not feasible in the middle of the course. Are you able to provide easy steps to mount S3 buckets without incurring any charges please?
Thank you Sandra
10-16-2024 07:18 PM
10-17-2024 04:01 PM
What about the IAM config and all that? Is the dbfs file upload permanently disabled for the community edition?
10-17-2024 08:01 AM
Anyone found any solution please post here
10-17-2024 04:16 PM
Perfect time for this to happen -- right in the middle of a class assignment due in a few days. 🙂
The easiest way to do it is by using dbutils.fs.mv to mv the file from the local system to the dbfs. Here is a complete example:
## create file in the local fs
with open("./test_file.txt", "w") as file:
lines = "\n".join(map(str, range(5)))
file.write(lines)
!cat test_file.txt
>> 0 1 2 3 4
#mv file from local fs to dbf
dbutils.fs.mv("file:/databricks/driver/test_file.txt", "dbfs:/test_file.txt")
>> Out[10]: True
# Read the file as an RDD
file_path = "dbfs:/test_file.txt"
rdd = sc.textFile(file_path)
rdd.collect()
>> Out[11]: ['0', '1', '2', '3', '4']
10-18-2024 02:13 PM
CE product roadmap is not available, so I cannot comment on that.
I have provided 2 alternate options. AWS offers Free Tier https://aws.amazon.com/free/ up to 1 year and students can benefit from that.
Let me know if you have any further questions.
10-18-2024 06:02 PM
It's fixed. You can continue to use Upload.
10-18-2024 06:03 PM
It's fixed. You can continue to use Upload.
10-19-2024 07:49 AM
Thanks gchandra, I hope it is going to stay therefor a long time? thanks Sandra
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