You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/07/30 09:53:58 UTC

[GitHub] [arrow] pereverges opened a new issue #7864: stop plasma_store from shell script

pereverges opened a new issue #7864:
URL: https://github.com/apache/arrow/issues/7864


   What command can I use to stop the plasma_store from a shell script?
   
   And can the plasma store be started from the python code?
   
   Thank you!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] wesm commented on issue #7864: stop plasma_store from shell script

Posted by GitBox <gi...@apache.org>.
wesm commented on issue #7864:
URL: https://github.com/apache/arrow/issues/7864#issuecomment-667351153


   Doesn't appear so. If you want to suggest a feature I recommend that you open a JIRA issue


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] kou commented on issue #7864: stop plasma_store from shell script

Posted by GitBox <gi...@apache.org>.
kou commented on issue #7864:
URL: https://github.com/apache/arrow/issues/7864#issuecomment-667403163


   For socket path: https://arrow.apache.org/docs/developers/contributing.html#report-bugs-and-propose-features
   
   For stopping `plasma-store-server`,
   
   ```python
   with plasma.start_plasma_store(...):
       ....
   ```
   
   will stop the started `plasma-store-server` when you leave the `with` block.
   
   You can use `proc.kill()` with `plasma_store_name, proc = plasma.start_plasma_store(...)`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] pereverges commented on issue #7864: stop plasma_store from shell script

Posted by GitBox <gi...@apache.org>.
pereverges commented on issue #7864:
URL: https://github.com/apache/arrow/issues/7864#issuecomment-667103343


   Is there a way to choose the socket when using the plasma.start_plasma_store(): in the link https://github.com/apache/arrow/blob/master/python/pyarrow/plasma.py#L82 does not seem like it.
   And is there a way to stop the store when starting it from python. 
   
   Thank you for the help


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] kou commented on issue #7864: stop plasma_store from shell script

Posted by GitBox <gi...@apache.org>.
kou commented on issue #7864:
URL: https://github.com/apache/arrow/issues/7864#issuecomment-666697852


   > What command can I use to stop the plasma_store from a shell script?
   
   ```bash
   kill ${PLASMA_STORE_PID}
   ```
   
   > And can the plasma store be started from the python code?
   
   ```python
   import pyarrow.plasma as plasma
   with plasma.start_plasma_store(...):
       ....
   ```
   
   See also: https://github.com/apache/arrow/blob/master/python/pyarrow/plasma.py#L82


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] wesm closed issue #7864: stop plasma_store from shell script

Posted by GitBox <gi...@apache.org>.
wesm closed issue #7864:
URL: https://github.com/apache/arrow/issues/7864


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org