使用 beeline 登入,並連進 hive
$ beeline beeline> !connect jdbc:hive2://hcgwc112:10000 <user_name> org.apache.hive.jdbc.HiveDriver