[ 
https://issues.apache.org/jira/browse/HIVE-15710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867495#comment-15867495
 ] 

Rui Li commented on HIVE-15710:
-------------------------------

Sorry I meant to start HS2, user can either call {{bin/hiveserver2}}, or call 
{{bin/hive --service hiveserver2}}. If we add the check to {{bin/hiveserver2}}, 
it doesn't cover the latter case. I verified I can bypass HIVE-6758 if I call 
{{bin/hive --service beeline}} instead of {{bin/beeline}}.
Now if we don't want to add to {{bin/hive}}, then we should add to 
{{ext/hiveserver2.sh}}. What do you think?

> HS2 Stopped when running in background
> --------------------------------------
>
>                 Key: HIVE-15710
>                 URL: https://issues.apache.org/jira/browse/HIVE-15710
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-15710.1.patch
>
>
> To reproduce, start HS2 in background like {{hive --service hiveserver2 &}}, 
> and run some query from beeline using Tez or Spark as engine.
> I think it's similar to HIVE-6758: HS2 uses jline for the in-place progress 
> update, and receives SIGTTOU when trying to call stty.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to