Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2020 03:03 PM
Had to update this line
val spaceInGB = ("df /local_disk".!!).split(" +")(9).toInt / 1024 / 1024
to
val spaceInGB = ("df /local_disk0".!!).split(" +")(9).toInt / 1024 / 1024
In Databricks 7.3.