attilapiros commented on PR #55720:
URL: https://github.com/apache/spark/pull/55720#issuecomment-4492532822
@yadavay-amzn for me `spark-shell --remote` works (with the Ammonite fix):
```
$ ./bin/spark-shell sc://localhost:15002
WARNING: Using incubator modules: jdk.incubator.vector
WARNING: package sun.security.action not in java.base
Using Spark's default log4j profile:
org/apache/spark/log4j2-defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use
setLogLevel(newLevel).
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 4.2.0-SNAPSHOT
/_/
Using Scala version 2.13.18 (OpenJDK 64-Bit Server VM, Java 25.0.3)
Type in expressions to have them evaluated.
Type :help for more information.
26/05/19 15:15:24 WARN NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::allocateMemory has been called by
io.netty.util.internal.PlatformDependent0$2
(file:/Users/apiros/git/attilapiros/spark3_II/assembly/target/scala-2.13/jars/netty-common-4.2.13.Final.jar)
WARNING: Please consider reporting this to the maintainers of class
io.netty.util.internal.PlatformDependent0$2
WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future release
26/05/19 15:15:24 WARN Utils: Service 'SparkUI' could not bind on port 4040.
Attempting port 4041.
26/05/19 15:15:24 WARN Utils: Service 'SparkUI' could not bind on port 4041.
Attempting port 4042.
Spark context Web UI available at http://10.96.96.252:4042
Spark context available as 'sc' (master = local[*], app id =
local-1779228924892).
Spark session available as 'spark'.
scala>
```
But the test not. This changes everything!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]