Search code examples
javaapache-sparkpysparkapache-spark-sqljvm

How to set timezone to UTC in Apache Spark?


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

user.timezone   Zulu

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

Env details:

  • Spark 2.1.1
  • jre-1.8.0-openjdk.x86_64
  • no jdk
  • EC2 Amazon Linux

Solution

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