由于公司环境配置hive默认连接hiveserver2 ,不管hive cli 还是beeline cli都默认使用beeline cli,连接hive需要输入账号密码;
启动kylin 时会Retrieving hive dependency... 卡住
两种解决方案
1.解决方案1
敲enter
但在在后续构建cube的第一步Create Intermediate Flat Hive Table时,web 界面 log 显示 no Data Available ;服务器kylin.log在 hive.CreateFlatHiveTableStep:38 : hive -e "USE default;一直卡住。如下图
2.解决方案2
修改:kylin.properties
kylin.source.hive.client=beeline
kylin.source.hive.beeline-params=-n "you hive 账号" -p "you hive 密码" --hiveconf hive.security.authorization.sqlstd.confwhitelist.append='mapreduce.job.*|dfs.*' -u jdbc:hive2://you hive ip:10000