Apache Spark-如何将时区设置为UTC?当前默认为祖鲁语 [英] Apache Spark - how to set timezone to UTC? currently defaulted to Zulu

查看:86
本文介绍了Apache Spark-如何将时区设置为UTC?当前默认为祖鲁语的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Spark的WebUI(端口8080)中,在环境"选项卡上,存在以下设置:

In Spark's WebUI (port 8080) and on the environment tab there is a setting of the below:

user.timezone Zulu

user.timezone Zulu

您知道我可以/在何处将其覆盖到UTC吗?

Do you know how/where I can override this to UTC?

Env详细信息:

  • 火花2.1.1
  • jre-1.8.0-openjdk.x86_64
  • 没有jdk
  • EC2 Amazon Linux

编辑(有人回答以下内容,然后删除): https://www.timeanddate.com/time/zones/z

EDIT (someone answered the below then deleted): https://www.timeanddate.com/time/zones/z

推荐答案

更改系统时区并进行检查,希望它能起作用

Change your system timezone and check it I hope it will works

这篇关于Apache Spark-如何将时区设置为UTC?当前默认为祖鲁语的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆