[ https://issues.apache.org/jira/browse/HIVE-818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ning Zhang updated HIVE-818: ---------------------------- Attachment: HIVE-818.patch This patch does the following: - add 2 options (-h, -p) in CLI to specify the hostname and port of Hive server. - change the HiveServer to output non-Hive commands (non Driver) to a temp file and change the fetchOne/fetchN/fetchAll functions to get results from the temp file. - change the fetchOne function to throw a HiveServerException (error code 0) when reaching the end of result rather than sending an empty string. Caveats: - session.err from the HiveServer is still not sending back to client. So the progress of a Hadoop job is not shown in the client side in remote mode (I think there is a JIRA opened already. If not I wil file a follow-up JIRA for this). - now end-to-end unit test for remote mode. I manually tested HiveServer and CLI in remote mode (set/dfs/SQL commands) and in combination of -e/-f options. I will file a follow-up JIRA for creating a unit test suite for remote mode CLI. > Create a Hive CLI that connects to hive ThriftServer > ---------------------------------------------------- > > Key: HIVE-818 > URL: https://issues.apache.org/jira/browse/HIVE-818 > Project: Hive > Issue Type: New Feature > Components: Clients, Server Infrastructure > Reporter: Edward Capriolo > Assignee: Ning Zhang > Attachments: HIVE-818.patch > > > We should have an alternate CLI that works by interacting with the > HiveServer, in this way it will be ready when/if we deprecate the current CLI. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira