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

Error in setup-java.sh file #27

Open
raj19084 opened this issue Feb 15, 2022 · 4 comments
Open

Error in setup-java.sh file #27

raj19084 opened this issue Feb 15, 2022 · 4 comments

Comments

@raj19084
Copy link

Screenshot (830)
I am not able to understand why i am getting this error while running vagrant up --provider=virtualbox. Can you help.

@martinprobson
Copy link
Owner

Hello @raj19084 ,
Thanks for pointing this out. The download URL for the mysql connector has changed, hence the curl error.
I have corrected the URL in the spark-2.3.0 branch of this repo, see this commit.
If you are using another branch you can change the location manually in
scripts/common.sh :-

# Old
#JAVA_MYSQL_CONNECTOR_DOWNLOAD=http://central.maven.org/maven2/mysql/mysql-connector-java/${JAVA_MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${JAVA_MYSQL_CONNECTOR_VERSION}.jar
# New
JAVA_MYSQL_CONNECTOR_DOWNLOAD=https://repo.maven.apache.org/maven2/mysql/mysql-connector-java/${JAVA_MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${JAVA_MYSQL_CONNECTOR_VERSION}.jar

@raj19084
Copy link
Author

Screenshot (831)

@raj19084
Copy link
Author

Dear Sir, I am still getting the same error ,I edited the common.sh file manually and also ran vagrant destroy (to delete data related to previous node) and then ran vagrant up command but still got same error.

@martinprobson
Copy link
Owner

Hello @raj19084 That's strange. Could you please try switching to the Spark-2.3.0 branch, and do a vagrant destroy / vagrant up again?
This branch is working fine for me, so would like to check if it works for you.

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