[ 
https://issues.apache.org/jira/browse/HIVE-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland updated HIVE-5514:
-------------------------------

    Description: 
Executing webhcat script webhcat_server.sh with the foreground option, it calls 
calls hadoop without using exec. When you kill the webhcat_server.sh process, 
it does not kill the real webhcat server.

Just need to add the word exec below in webhcat_server.sh:
{noformat}
function foreground_webhcat() {
        exec $start_cmd
}
{noformat}

NO PRECOMMIT TESTS

  was:
Executing webhcat script webhcat_server.sh with the foreground option, it calls 
calls hadoop without using exec. When you kill the webhcat_server.sh process, 
it does not kill the real webhcat server.

Just need to add the word exec below in webhcat_server.sh:
{noformat}
function foreground_webhcat() {
        exec $start_cmd
}
{noformat}


> webhcat_server.sh foreground option does not work as expected
> -------------------------------------------------------------
>
>                 Key: HIVE-5514
>                 URL: https://issues.apache.org/jira/browse/HIVE-5514
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>            Priority: Minor
>         Attachments: HIVE-5514.patch
>
>
> Executing webhcat script webhcat_server.sh with the foreground option, it 
> calls calls hadoop without using exec. When you kill the webhcat_server.sh 
> process, it does not kill the real webhcat server.
> Just need to add the word exec below in webhcat_server.sh:
> {noformat}
> function foreground_webhcat() {
>         exec $start_cmd
> }
> {noformat}
> NO PRECOMMIT TESTS



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to