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
how to use elasticsearch-spark to connect to elasticsearch server behind a proxy server #643
Labels
Comments
Thanks |
Hello, i run the same code as yours in my docker container: Code:
Getting below error while executing
Am I missing anything. Any help is appreciated! |
Indeed, this is a very good question! Took me a few time to figure out: If you use an Uber jar (via minimizeJar to true), this class will not be included, hence the error, despite you follow deployement recommandation. |
谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have used elasticsearch-spark to connect to elasticsearch server without a problem,
but somehow I found problem connecting to elasticsearch server behind proxy server
here's my configuration
my server configuration is as follow :
when I try to connect to x.x.x.x using elasticsearch-spark using this code
the printSchema works fine...
but the count returns connection timeout error
when I take a look at the logs, I found that the local address 192.168.0.* is still being used
am I missing something ?
please help
Thanks
The text was updated successfully, but these errors were encountered: