Open 1Edtrujillo1 opened 2 weeks ago
Hi, the issue may not be directly related to the Bitnami container image/Helm chart, but rather to how the application is being utilized, configured in your specific environment, or tied to a particular scenario that is not easy to reproduce on our side.
If you think that's not the case and want to contribute a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.
Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.
Suppose you have any questions about the application, customizing its content, or technology and infrastructure usage. In that case, we highly recommend that you refer to the forums and user guides provided by the project responsible for the application or technology.
With that said, we'll keep this ticket open until the stale bot automatically closes it, in case someone from the community contributes valuable insights.
I am seeing exactly this error, with a similarly minimal example. docker-compose.yml (only change: port 7077 exposed from spark master) + images from bitnami, and in my case connecting to port 7077 on localhost for local development:
spark = SparkSession.builder.appName("HelloWorld").master("spark://localhost:7077").getOrCreate()
Note: "how the application is being utilized" -- the only use here is the single-line invocation above which causes the exception, the rest is bitnami images and docker-compose. Is there anything else we can try?
I am using docker desktop 4.34.2 (167172) on macOS 15.0.1 on an M1 Pro, pulled images are arm.
Looks like this could be because getSubject()
was deprecated for removal in JDK 17, but the hadoop packaged with spark still makes use of this API.
See https://issues.apache.org/jira/browse/HADOOP-19212 and https://issues.apache.org/jira/browse/CALCITE-6590 and https://openjdk.org/jeps/411
I can see the bitnami image has jdk 17, so I'm not sure why it's raising the getSubject / security manager exception when it's supposed to only warn in that version of the jdk.
As a work-around, I've tried to pass -Djava.security.manager=allow
in through various environment variables and even the SparkSession builder config, but to no avail.
I would appreciate any tips here.
The problems was the JDK on my client. When I downgraded from 23 to 21, the security manager issue turned into a warning and not an exception, as expected.
Name and Version
docker.io/bitnami/spark:3.5
What architecture are you using?
None
What steps will reproduce the bug?
Hi, I have deployed the docker compose in a Ubuntu VM:
I tested and it is working correctly on the server, but it is not working if I try to connect from my local computer
It is possible to connect through port 7077
nc -zv 7077
Connection to port 7077 [tcp/*] succeeded!
What do you see instead?
I receive the error: