You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Patrick Angeles (JIRA)" <ji...@apache.org> on 2010/05/06 19:52:49 UTC

[jira] Created: (HIVE-1339) Allow setting of per-job configuration properties for JDBC driver

Allow setting of per-job configuration properties for JDBC driver
-----------------------------------------------------------------

                 Key: HIVE-1339
                 URL: https://issues.apache.org/jira/browse/HIVE-1339
             Project: Hadoop Hive
          Issue Type: New Feature
          Components: Clients
    Affects Versions: 0.4.0
            Reporter: Patrick Angeles


>From the CLI you can do:

hive> set mapred.reduce.tasks = 5 ;
hive> SELECT a, b, c FROM t WHERE a < 10 ;

Currently, there is no way to set per-job configuration parameters (e.g., mapred.reduce.tasks) via the JDBC client.

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


[jira] Commented: (HIVE-1339) Allow setting of per-job configuration properties for JDBC driver

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864903#action_12864903 ] 

John Sichi commented on HIVE-1339:
----------------------------------

At least in trunk, the processing for the set command is in this class:

ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java

CLI just wraps this.


> Allow setting of per-job configuration properties for JDBC driver
> -----------------------------------------------------------------
>
>                 Key: HIVE-1339
>                 URL: https://issues.apache.org/jira/browse/HIVE-1339
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Clients
>    Affects Versions: 0.4.0
>            Reporter: Patrick Angeles
>
> From the CLI you can do:
> hive> set mapred.reduce.tasks = 5 ;
> hive> SELECT a, b, c FROM t WHERE a < 10 ;
> Currently, there is no way to set per-job configuration parameters (e.g., mapred.reduce.tasks) via the JDBC client.

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


[jira] Commented: (HIVE-1339) Allow setting of per-job configuration properties for JDBC driver

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864861#action_12864861 ] 

John Sichi commented on HIVE-1339:
----------------------------------

Have you tried just executing the "set" command via JDBC's Statement.execute?  It is actually processed by ql (not cli) so it should work; at least it did when I tested on trunk via sqlline.

It would still be nice to be able to specify these as JDBC connection properties though.


> Allow setting of per-job configuration properties for JDBC driver
> -----------------------------------------------------------------
>
>                 Key: HIVE-1339
>                 URL: https://issues.apache.org/jira/browse/HIVE-1339
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Clients
>    Affects Versions: 0.4.0
>            Reporter: Patrick Angeles
>
> From the CLI you can do:
> hive> set mapred.reduce.tasks = 5 ;
> hive> SELECT a, b, c FROM t WHERE a < 10 ;
> Currently, there is no way to set per-job configuration parameters (e.g., mapred.reduce.tasks) via the JDBC client.

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


[jira] Commented: (HIVE-1339) Allow setting of per-job configuration properties for JDBC driver

Posted by "Patrick Angeles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864901#action_12864901 ] 

Patrick Angeles commented on HIVE-1339:
---------------------------------------

Did you mean the other way around?

CLI processes the 'set' commands, ql runs SQL statements...

> Allow setting of per-job configuration properties for JDBC driver
> -----------------------------------------------------------------
>
>                 Key: HIVE-1339
>                 URL: https://issues.apache.org/jira/browse/HIVE-1339
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Clients
>    Affects Versions: 0.4.0
>            Reporter: Patrick Angeles
>
> From the CLI you can do:
> hive> set mapred.reduce.tasks = 5 ;
> hive> SELECT a, b, c FROM t WHERE a < 10 ;
> Currently, there is no way to set per-job configuration parameters (e.g., mapred.reduce.tasks) via the JDBC client.

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