-
Notifications
You must be signed in to change notification settings - Fork 117
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
SPARK_PUBLIC_DNS is incorrectly set when launching into a private VPC #346
Comments
That looks pretty weird. So instead of the link pointing to an IP address or host name, it literally points to a block of HTML? Can you share your Flintrock config? Do you see the same behavior if you launch a cluster on a public VPC? |
Yes its pretty weird and yes it seems to point to a block of HTML instead of IP address or host name.. Here is our Flintrock config:
I just tried to launch a cluster on a public VPC and it's working well without any error ! So it seems to be related to the private VPC.. |
Is it just the UI that's broken? I would expect something to be wrong with the cluster too. Can you post the full contents of the files under |
I think I just found the problem inside
Here is
|
It seems that
There is no |
OK, it sounds like we need to understand how to set |
I just tried to launch a new cluster into private VPC by commenting out the line of SPARK_PUBLIC_DNS like that: # export SPARK_PUBLIC_DNS="$(curl --silent http://169.254.169.254/latest/meta-data/public-hostname)" And it seems to work perfectly ! There is no error and we no longer have the previous error ! |
OK great. Maybe we don't need this config at all anymore, or maybe we only need it when launching into a public VPC. |
Hi,
We are having issues in the Spark UI notably when using Flintrock.
To have more context on our use of Flintrock:
authorize-access-from
in the config file.When we go to the Spark UI on port 8080, the page is displayed correctly but the links to the other pages are broken.
Here you can find an extract from the HTML code of the page for a link to a worker.
I have a similar error message when I launch
spark-shell
for example:I have the impression that the error comes from a problem finding the ip address or something related.. maybe we have done a mistake with our configuration or maybe it's not related to Flintrock..
So, if you have any clues or elements to solve this problem, this would be a great help for us.
Thank you in advance for your help,
Maxime
The text was updated successfully, but these errors were encountered: