@Ane ,
You can specify the database as part of the JDBC URI you pass to beeline. For example:
beeline -u "jdbc:hive2://<hostname>:10000/<dbname>"
HTH,
André
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.