【Hive】 ---- 启动Hive报错 exceptions. jdbc Communications Exception: Communications link failure

阅读 58

2022-08-12


报错 :org. apache hadoop. hive. metastore. HiveMetaException: Failed to get schema version / Underlying cause: com mysql jdbc. exceptions. jdbc Communications Exception: Communications link failure

【Hive】 ---- 启动Hive报错 exceptions. jdbc Communications Exception: Communications link failure_解决方案

解决方案:

在启动Hive前,​没有启动mysql服务​,

service mysql start

打开mysql服务后,再启动Hive

【Hive】 ---- 启动Hive报错 exceptions. jdbc Communications Exception: Communications link failure_mysql_02


正常执行:

【Hive】 ---- 启动Hive报错 exceptions. jdbc Communications Exception: Communications link failure_hive_03


精彩评论(0)

0 0 举报