Github user krishnakalyan3 commented on the issue:
https://github.com/apache/spark/pull/14741
@shivaram thanks for the advice.
Some Issue being faced by me
- While reading a large file from Rstudio and trying to kill the the
process using `Sys.getpid()`, I tried to interrupt the process using the
signals `pskill(pid, signal = SIGUSR1/SIGCHLD)`. This does not seem to affect
my R session and does not print `Interrupt` (As per my code below).
```
readBinFully <- function(con, what, n = 1L, size = NA_integer_, endian) {
while (n > 0) {
if (con == 0) {
cat("Interrupt")
}
readBin(con, what, n, size, endian = "big")
}
}
```
- `sparkr.zip` obtained after running `install-dev.sh` does not seem to
reflect the changes made in my R session. (Restarting R studio solves this
problem). Code below
```
rm(list=ls())
Sys.setenv(SPARK_HOME="/Users/krishna/Experiment/spark")
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
library(SparkR)
```
- To check if there are more bytes to read, I have tried the code below.
Which fails the tests in `run-tests.sh`
```
while (size > 0) {
...
}
```
I see that variable size takes the value `NA`.
Please advice on how I should be approaching these issues.
Thanks
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]