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

Adding sparknlp package prevents connection to local cluster on windows #10

Open
Kvit opened this issue Feb 5, 2021 · 3 comments
Open

Comments

@Kvit
Copy link

Kvit commented Feb 5, 2021

Successfull Connection Call
C:\Spark\spark-3.0.1-bin-hadoop2.7\bin\spark-submit2.cmd --name sparklyr --driver-memory 2g --class sparklyr.Shell "C:\Users\SIT\Documents\R\win-library\4.0\sparklyr\java\sparklyr-3.0-2.12.jar" 8880 29906

Failure to connect
C:\Spark\spark-3.0.1-bin-hadoop2.7\bin\spark-submit2.cmd --driver-memory 8g --name sparklyr --class sparklyr.Shell --jars "" --packages "com.johnsnowlabs.nlp:spark-nlp_2.11:2.6.3" "C:\Users\SIT\Documents\R\win-library\4.0\sparklyr\java\sparklyr-3.0-2.12.jar" 8880 91558

Error in spark_connect_gateway(gatewayAddress, gatewayPort, sessionId,  : 
  Gateway in localhost:8880 did not respond.

In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="": The filename, directory name, or volume label syntax is incorrect

@Kvit
Copy link
Author

Kvit commented Feb 5, 2021

My guess is that problem with empty --jars ""

@Kvit
Copy link
Author

Kvit commented Feb 5, 2021

looks like Spark no logner recognizes JRE location defined by env. variable JAVA_HOME

@dkincaid
Copy link
Collaborator

dkincaid commented Feb 5, 2021

Spark NLP doesn't support Spark 3.0 yet. Can you try it with Spark 2.4.x and let me know if you have the same problem?

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

2 participants