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

Streaming Interface #28

Open
flahn opened this issue Feb 10, 2017 · 0 comments
Open

Streaming Interface #28

flahn opened this issue Feb 10, 2017 · 0 comments

Comments

@flahn
Copy link
Owner

flahn commented Feb 10, 2017

In the long term the r_exec operation in SciDB will be discontinued and replaced by the stream operation, which allows the execution of arbitrary scripts using command line calls. In this project I started to implement a mean to perform those R calls using the stream interface. However there were some complications:

  1. I tried to pass a script using the expression parameter on the R call. Due to the complex nature of those scripts file upload should be used. Otherwise the script as an expression needs to be readable by R, which includes that every line needs to end with a ";" since newline escaped characters are not supported. Using the script as a file approach it remains unclear, if the script will be redistributed to every worker instance.
  2. Debugging with a distributed parallel system is hard, since there is no central place to log and errors are not transferred "as is" to the client. Errors remain as some sort of notification that "something failed to execute".
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

No branches or pull requests

1 participant