Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ venv/*
.python-version
.DS_Store
.venv
tmp
2 changes: 1 addition & 1 deletion sync/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Library for leveraging the power of Sync"""
__version__ = "1.0.0"
__version__ = "1.0.1"

TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
4 changes: 2 additions & 2 deletions sync/awsdatabricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def monitor_cluster(
while not spark_context_id:
# This is largely just a convenience for when this command is run by someone locally
logger.info("Waiting for cluster startup...")
sleep(30)
sleep(15)
cluster = get_default_client().get_cluster(cluster_id)
spark_context_id = cluster.get("spark_context_id")

Expand Down Expand Up @@ -420,7 +420,7 @@ def _monitor_cluster(

def _define_write_file(file_key, filesystem, bucket):
if filesystem == "file":
file_path = Path(f"{Path.home()}{file_key}")
file_path = Path(file_key)

def ensure_path_exists(report_path: Path):
logger.info(f"Ensuring path exists for {report_path}")
Expand Down