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

ARROW-1366: [Plasma] Define entry point for the plasma store #975

Closed
wants to merge 2 commits into from

Conversation

pcmoritz
Copy link
Contributor

The method for starting the Plasma store is already documented in https://arrow.apache.org/docs/python/plasma.html. So far it only worked if the store was installed with "make install" from the C++ sources. This makes it also possible to start it if the pyarrow wheels are installed.

@@ -105,6 +105,16 @@

localfs = LocalFileSystem.get_instance()

# Entry point for starting the plasma store

def start_plasma_store():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a docstring for this, and add to doc/source/api.rst?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to not have this as part of the official API, since it is reading arguments from sys.argv; I'll rename it to _plasma_store_entry_point, any idea if there is a file where it fits better?

If we want a function that starts the store, we can move the one from test_plasma into the pyarrow.plasma namespace.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, sounds good. We could have something like pyarrow.plasma.start and pyarrow.plasma.kill

Copy link
Member

@wesm wesm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. The Appveyor build failed because of ARROW-1375

@asfgit asfgit closed this in 652fd36 Aug 19, 2017
@wesm wesm deleted the plasma-store-ep branch August 19, 2017 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants