2 个回答
这可能是sqoop运行过程中在等待用户输入密码,可以尝试在hive-client/conf目录下添加beeline-hs2-connection.xml文件。内容参考如下:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>beeline.hs2.connection.user</name>
<value>root</value>
</property>
<property>
<name>beeline.hs2.connection.password</name>
<value>root</value>
</property>
</configuration>
发布于:1个月前 (02-17) IP属地:
这里可能出现一个情况:如果开了hs2的ha,有概率beeline拿不到有效连接。可能需要改代码加retry
发布于:1个月前 (02-17) IP属地:
我来回答
您需要 登录 后回答此问题!