you can save the output to a directory, for later use. like this: INSERT OVERWRITE LOCAL DIRECTORY '/tmp/hive_query_dump/' SELECT * FROM table1;
more details here: http://wiki.apache.org/hadoop/Hive/LanguageManual/DML (scroll to the end of the page) if you need to do more complicated processing after you get the output from hive, maybe you want to run queries from some scripts (like python) via hive server. here are some docs about that: http://wiki.apache.org/hadoop/Hive/HiveServer http://wiki.apache.org/hadoop/Hive/HiveClient hope that helps. good luck! On Tue, Jun 14, 2011 at 4:45 AM, jinhang du <[email protected]> wrote: > Hi all, > > I want record the output of every commends executed on hive console client. > How to do it ? > > Thanks. > > -- > dujinhang >
