Look up data on hive clusters on other servers

description: server a can query data with hive, and server b can also query data with hive,. An and b belong to different clusters. Things in hive are different, so you can connect to b from a, that is, the networks of the two servers are interconnected.
requirements: I want to write a shell, in server a to check the data in hive in server b

Jun.15,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36c28-2b890.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36c28-2b890.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?