Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 03:54 AM
hi ,
Im a newbie learning spark using databricks , I did some investigation and searched if this questions was been asked earlier in community forum but unable to find anything so .
1. DBFS is unable to detect the file even though its present in it .
The issue happens only with below command
with open("dbfs:/FileStore/tables/data.txt") as f:
and not with
lines0 = sc.textFile("/FileStore/tables/data.txt"
Does this mean in databricks notebook we can't use python open function to open a file ?
Labels:
- Labels:
-
DBFS
-
Filenotfoundexception