ambari下 hive metastore 启动失败

由字符集引起的hive 元数据进程启动失败

解决方法新增 这2句话

reload(sys)
sys.setdefaultencoding('utf8')

原文地址:https://www.cnblogs.com/staryea/p/8514200.html