apache-spark - HIVE output shows timestamps are being converted to UTC
问题描述
We recently implemented the following change to the spark properties:
"spark.driver.extraJavaOptions" : "-Duser.timezone=\"UTC\"","
"spark.executor.extraJavaOptions" : "-Duser.timezone=\"UTC\"",
"spark.yarn.am.extraJavaOptions": "-Duser.timezone=\"UTC\""
After above change, the HIVE output shows timestamps are being converted to UTC
. The expectation is to be in EDT
. Is this because of the side effects of changing JVM
settings user.timezone to UTC
?
解决方案
推荐阅读
- java - 死锁示例
- excel - 使用 Excel 和 VBA 在换行符上拆分文本
- design-patterns - 如何在 UML 中建模具有多个 Observable 属性的角度服务
- php - 告诉 XMLReader 忽略提供的命名空间信息
- firebase - 如何知道客户端何时停止侦听 Firestore 中的更改以供具体参考?
- node.js - Sequelize 中的多个 $or 内的 $and 查询
- google-play-services - 如何解决无法导出或加密 Google App Signing 的私钥
- c# - Amazon SNS 如何与 NodeJS 和 Xamarin 配合使用?
- python - 在 PyCharm (macOS) 中安装 dlib 时出现问题
- cuda - 发布了重放的加载/存储指令