无法使用MySql空密码启动Hive Metastore

时间:2017-12-07 06:31:43

标签: mysql hive metastore

我的本​​地MySql没有登录密码,所以我设置了hive-site.xml配置:

export default class GridData {
    constructor(item) {
        this._title = item.title;
        this._itemId = item.itemId;
    }

    getItemId() {
        return this._entryId;
    }

    isChecked() {
        return this._isChecked;
    }

    setChecked(isChecked) {
        this._isChecked = isChecked;
    }

    getTitle() {
        return this._title;
    }
}

但是在推出Metastore之后 <property> <name>javax.jdo.option.ConnectionPassword</name> <value/> <description>password to use against metastore database</description>

它总是显示密码

hive --service metastore

如何解决?

1 个答案:

答案 0 :(得分:0)

在启动服务器时添加--hiveconf。

hive --hiveconf javax.jdo.option.ConnectionPassword= --service metastore
相关问题