You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Adam Kramer (JIRA)" <ji...@apache.org> on 2009/01/23 09:07:00 UTC

[jira] Created: (HIVE-243) ^C breaks out of running query, but not whole CLI

^C breaks out of running query, but not whole CLI
-------------------------------------------------

                 Key: HIVE-243
                 URL: https://issues.apache.org/jira/browse/HIVE-243
             Project: Hadoop Hive
          Issue Type: Wish
          Components: Query Processor
            Reporter: Adam Kramer


It would be lovely if, when I know a query is bad, I could just ^C out of it. I can do that now, but the whole CLI quits.

It'd be quite nice if it took an extra ^C to break the CLI, or if there was some control character to break out of a query without breaking out of the CLI.

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


[jira] Commented: (HIVE-243) ^C breaks out of running query, but not whole CLI

Posted by "Adam Kramer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845270#action_12845270 ] 

Adam Kramer commented on HIVE-243:
----------------------------------

Specifically, this is an issue because I may or may not have many variables "set" in my CLI instance. I routinely exit out of the CLI via ^C to kill a query, but then end up with (e.g.) the wrong number of reducers selected because it resets to the default.

> ^C breaks out of running query, but not whole CLI
> -------------------------------------------------
>
>                 Key: HIVE-243
>                 URL: https://issues.apache.org/jira/browse/HIVE-243
>             Project: Hadoop Hive
>          Issue Type: Wish
>          Components: Query Processor
>            Reporter: Adam Kramer
>
> It would be lovely if, when I know a query is bad, I could just ^C out of it. I can do that now, but the whole CLI quits.
> It'd be quite nice if it took an extra ^C to break the CLI, or if there was some control character to break out of a query without breaking out of the CLI.

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


[jira] Commented: (HIVE-243) ^C breaks out of running query, but not whole CLI

Posted by "Adam Kramer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732827#action_12732827 ] 

Adam Kramer commented on HIVE-243:
----------------------------------

Also also, ^C when a query is half-entered should cancel the query in progress and return to the hive> prompt.

> ^C breaks out of running query, but not whole CLI
> -------------------------------------------------
>
>                 Key: HIVE-243
>                 URL: https://issues.apache.org/jira/browse/HIVE-243
>             Project: Hadoop Hive
>          Issue Type: Wish
>          Components: Query Processor
>            Reporter: Adam Kramer
>
> It would be lovely if, when I know a query is bad, I could just ^C out of it. I can do that now, but the whole CLI quits.
> It'd be quite nice if it took an extra ^C to break the CLI, or if there was some control character to break out of a query without breaking out of the CLI.

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


[jira] Commented: (HIVE-243) ^C breaks out of running query, but not whole CLI

Posted by "Adam Kramer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732825#action_12732825 ] 

Adam Kramer commented on HIVE-243:
----------------------------------

A lot of scripts are currently being used to extend the CLI, for example to allow for tab-completion of table names. These scripts, however, take a long time to run--my version of hive takes about a minute to get me to the CLI. When I hit ^C because I want to stop a query, and the CLI quits, this is actually now a serious performance hit.

> ^C breaks out of running query, but not whole CLI
> -------------------------------------------------
>
>                 Key: HIVE-243
>                 URL: https://issues.apache.org/jira/browse/HIVE-243
>             Project: Hadoop Hive
>          Issue Type: Wish
>          Components: Query Processor
>            Reporter: Adam Kramer
>
> It would be lovely if, when I know a query is bad, I could just ^C out of it. I can do that now, but the whole CLI quits.
> It'd be quite nice if it took an extra ^C to break the CLI, or if there was some control character to break out of a query without breaking out of the CLI.

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