Sqoop-服务器时区值“ Malay Peninsula Standard Time”无法识别或代表多个时区

时间:2018-10-19 14:41:29

标签: hadoop sqoop

我尝试使用Sqoop将DBMS(Windows计算机)导入HDFS(Linux)。

我使用的命令是:

 sqoop import --connect "jdbc:mysql://ip-dbms/db-name" --table table_name --username username -P --target-dir imported_sql

运行命令并输入密码后,很快就会出现错误:

The server time zone value 'Malay Peninsula Standard Time' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specific time zone value if you want to utilize time zone.

我检查了HDFS机器的时区,现在是Asia/******

如何解决?

0 个答案:

没有答案