当在hive中show table …
当在hive中show table 时如果报以下错时
FAILED: Error in metadata: javax.jdo.JDODataStoreException:
Error(s) were found while auto-creating/validating the datastore
for classes. The errors are printed in the log, and are attached to
this exception.
NestedThrowables:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExceptio
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask
(略去 很多java 提示)
是到mysql中的hive数据库里执行 alter database hive character set latin1;改变hive元数据库的字符集,问题就可以解决!
版权声明:本文为博主原创文章,未经博主允许不得转载。
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步