You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Min Zhou (JIRA)" <ji...@apache.org> on 2009/03/06 06:15:56 UTC

[jira] Created: (HIVE-329) start and stop hive thrift server in daemon mode

start and stop hive thrift server  in daemon mode
-------------------------------------------------

                 Key: HIVE-329
                 URL: https://issues.apache.org/jira/browse/HIVE-329
             Project: Hadoop Hive
          Issue Type: New Feature
          Components: Server Infrastructure
    Affects Versions: 0.3.0
            Reporter: Min Zhou
         Attachments: daemon.patch

I write two shell script to start and stop hive thrift server more convenient.
usage:
bin/hive --service start-hive [HIVE_PORT]
bin/hive --service stop-hive 

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


[jira] Commented: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Raghotham Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680049#action_12680049 ] 

Raghotham Murthy commented on HIVE-329:
---------------------------------------

How about, if --action option is present, it means start or stop a daemon. If no --action is specified, the server is run as a regular process.

> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Issue Comment Edited: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680045#action_12680045 ] 

coderplay edited comment on HIVE-329 at 3/8/09 8:37 PM:
-------------------------------------------------------

I prefer to my way. It's simpler, I think.
So how can I start my hiveserver not in daemon mode following your suggestion?

      was (Author: coderplay):
    I prefer my way. It's simpler, I think.
So how can I start my hiveserver not in daemon mode following your suggestion?
  
> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Assigned: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Min Zhou reassigned HIVE-329:
-----------------------------

    Assignee: Min Zhou

> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Commented: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729012#action_12729012 ] 

Min Zhou commented on HIVE-329:
-------------------------------

start need a port number, but stop needn't.

> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Commented: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680037#action_12680037 ] 

Edward Capriolo commented on HIVE-329:
--------------------------------------

Min,

Have you ever considered using one script that can accept an argument?

bin/hive --service HiveServer --action stop [HIVE_PORT]
bin/hive --service HiveServer --action start [HIVE_PORT]

?

> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Updated: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Min Zhou updated HIVE-329:
--------------------------

    Attachment: daemon.patch

patch.

> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Issue Comment Edited: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680045#action_12680045 ] 

coderplay edited comment on HIVE-329 at 3/8/09 8:37 PM:
-------------------------------------------------------

I prefer my way. It's simpler, I think.
So how can I start my hiveserver not in daemon mode following your suggestion?

      was (Author: coderplay):
    I prefer to my way. It's simpler, I think.
So how can I start my hiveserver not in daemon mode following your suggestion?
  
> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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


[jira] Commented: (HIVE-329) start and stop hive thrift server in daemon mode

Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680045#action_12680045 ] 

Min Zhou commented on HIVE-329:
-------------------------------

I prefer to my way. It's simpler, I think.
So how can I start my hiveserver not in daemon mode following your suggestion?

> start and stop hive thrift server  in daemon mode
> -------------------------------------------------
>
>                 Key: HIVE-329
>                 URL: https://issues.apache.org/jira/browse/HIVE-329
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>         Attachments: daemon.patch
>
>
> I write two shell script to start and stop hive thrift server more convenient.
> usage:
> bin/hive --service start-hive [HIVE_PORT]
> bin/hive --service stop-hive 

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