Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/cluster #2207

Merged
merged 2 commits into from
Jun 21, 2024
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed Native encodable.
- Fix ibis cdc and cdc config
- Fixed 'objectmodel' and 'predict_one' in doc.
- Fixed ray dependencies bug
- Fixed ray dependencies bug.
- Fixed cluster bug.

## [0.1.3](https://github.com/SuperDuperDB/superduperdb/compare/0.1.1...0.1.3]) (2024-Jun-20)

Expand Down
3 changes: 3 additions & 0 deletions superduperdb/components/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ def encode_data(self, out, builds, blobs, files, leaves_to_keep=()):
if not isinstance(field, DataType):
continue

if k not in out:
continue

if isinstance(out[k], leaves_to_keep):
continue

Expand Down
2 changes: 2 additions & 0 deletions superduperdb/server/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def up_cluster(
CFG = os.environ.get('SUPERDUPERDB_CONFIG')
assert CFG, 'Please set SUPERDUPERDB_CONFIG environment variable'
python_executable = sys.executable
python_executable_dir = os.path.dirname(python_executable)
ray_path = os.popen('which ray').read().split('\n')[0].strip()
ray_executable = os.path.join(os.path.dirname(python_executable), ray_path)
run_tmux_command(
Expand All @@ -71,6 +72,7 @@ def up_cluster(
)

cmd = (
f"export PATH={python_executable_dir}:$PATH; "
f"SUPERDUPERDB_CONFIG={CFG} PYTHONPATH=$(pwd):. {ray_executable} start"
" --head --dashboard-host=0.0.0.0 --disable-usage-stats --block"
)
Expand Down
Loading