[ https://issues.apache.org/jira/browse/HIVE-11710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14905112#comment-14905112 ]
Aihua Xu commented on HIVE-11710: --------------------------------- Indeed that we have misunderstanding. :) Now I know what you mean. Actually when you close e.g., System.err or System.out in one place, later you will never reopen it again. So {{sessionState.out = new PrintStream(System.out, true, CharEncoding.UTF_8);}} will create the stream object but the internal "out" will be still in "closed" state. That's why I have to detect if it's a file based stream or not. If it is, then we close the stream; if not, we should leave it open. > Beeline embedded mode doesn't output query progress after setting any session > property > -------------------------------------------------------------------------------------- > > Key: HIVE-11710 > URL: https://issues.apache.org/jira/browse/HIVE-11710 > Project: Hive > Issue Type: Bug > Components: Beeline > Affects Versions: 2.0.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-11710.2.patch, HIVE-11710.patch > > > Connect to beeline embedded mode {{beeline -u jdbc:hive2://}}. Then set > anything in the session like {{set aa=true;}}. > After that, any query like {{select count(*) from src;}} will only output > result but no query progress. -- This message was sent by Atlassian JIRA (v6.3.4#6332)