Authentication 我在hive,;但是为什么不用用户名和密码也可以访问数据库呢?

Authentication 我在hive,;但是为什么不用用户名和密码也可以访问数据库呢?,authentication,hive,beeline,Authentication,Hive,Beeline,我在配置单元中配置了安全身份验证,我修改了 Enable Authorization = true hive_security_authorization = SQLStdAuth hive.users.in.admin.role hive.security.authorization.createtable.owner.grants=ALL hive.security.authorization.enabled=true hive.metastore.authorization.stor

我在配置单元中配置了安全身份验证,我修改了

Enable Authorization   = true 
hive_security_authorization = SQLStdAuth
hive.users.in.admin.role
hive.security.authorization.createtable.owner.grants=ALL
hive.security.authorization.enabled=true
hive.metastore.authorization.storage.checks = true
hive.server2.enable.doAs=true
我可以使用带有用户和密码的beeline connect jdbc:hive2://hdp1-nn02:10000/default,但我可以使用beeline connect
jdbc:hive2://
访问数据库,而无需用户和密码。我知道
jdbc:hive2://
是嵌入模式,但为什么嵌入模式没有授权?或者如何关闭嵌入式模式