Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-13-2018 04:53 AM
When i open the hive terminal using "beeline" or "Hive" command,hive terminal asks for the username and password then i can able to login Hive.Then I run "beeline -u jdbc:hive2://aisvr.uildomain.com:2181/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2",this command open the hive terminal asking me any username and password.Sqoop command is stuck due to need of hive username and password .Please let me know how to set the username and password for hive so i can login without need of the same and execute sqoop command too.
Created 08-13-2018 06:30 PM
When you connect using below connect string
beeline -u "jdbc:hive2://aisvr.uildomain.com:2181/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"
Username and Password will not be prompted, if you wish to pass Username and password you can use -n for Username and -p for Password, for example.
beeline -u "jdbc:hive2://aisvr.uildomain.com:2181/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" -n testuser -p passwordusertest
For more information you can refer Beeline doc: https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients
Created 08-13-2018 06:30 PM
When you connect using below connect string
beeline -u "jdbc:hive2://aisvr.uildomain.com:2181/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"
Username and Password will not be prompted, if you wish to pass Username and password you can use -n for Username and -p for Password, for example.
beeline -u "jdbc:hive2://aisvr.uildomain.com:2181/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" -n testuser -p passwordusertest
For more information you can refer Beeline doc: https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients
Created 08-16-2018 05:25 PM
@Gourav Gupta Please let me know if above helps? You can mark the answer as accepted.