hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-188) hive CLI should quit when stdout is closed
Date Fri, 19 Dec 2008 01:17:44 GMT
hive CLI should quit when stdout is closed
------------------------------------------

                 Key: HIVE-188
                 URL: https://issues.apache.org/jira/browse/HIVE-188
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Clients
            Reporter: Zheng Shao


bin/hive -e 'select * from a_big_table;' | head

The process does not end after printing out the first 10 lines.

This is probably because System.out.println is not checking errors. We need to manually call
boolean System.out.checkError() to know if the output is closed or not.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message