hive anonymous hive是以匿名用户来登录的
通过beeline -u jdbc:hive2//master:10000连接时没有指定用户
怎么指定?
beeline -n hdfs -u jdbc:hive2://IP:10000
-n 后面指定用户,-n hdfs 那么当前登录的就是hdfs用户
hive anonymous hive是以匿名用户来登录的
通过beeline -u jdbc:hive2//master:10000连接时没有指定用户
怎么指定?
beeline -n hdfs -u jdbc:hive2://IP:10000
-n 后面指定用户,-n hdfs 那么当前登录的就是hdfs用户