spark_(spark for windows)spark_shell.cmd启动失败ಥ_ಥ/关闭java8更新提示

hostName

  • 我曾经尝试过多种多种方案,但是在查找资料得知,hostname的不当命名==(计算机名包含下划线(underscore))==可能会导致spark_shell.cmd
    无法正常启动

  • 一个可行的命名(比如,cxxuWin11在启动是会有类似如下行的输出http://cxxuWin11:4040

  • 当然,也有可能是其他原因引起的,本方案不保证成功

PS C:\Users\cxxu> spark-shell.cmd
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Spark context Web UI available at http://cxxuWin11:4040
Spark context available as 'sc' (master = local[*], app id = local-1639222458451).
Spark session available as 'spark'.
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 3.0.3
/_/
Using Scala version 2.12.10 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_181)
Type in expressions to have them evaluated.
Type :help for more information.
scala> 21/12/11 19:34:32 WARN ProcfsMetricsGetter: Exception when trying to compute pagesize, as a result reporting of ProcessTree metrics is stopped
q

检查/修改您的计算机名

java8 开机提示更新关闭

posted @   xuchaoxin1375  阅读(18)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2022-11-10 PC_定点数_模+补码表示+补码相关性质
2021-11-10 RGB_打开/获取颜色选择器(RGB)的几种方式/本地RGB查询/css颜色名参考
点击右上角即可分享
微信分享提示