hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1339) Allow setting of per-job configuration properties for JDBC driver
Date Thu, 06 May 2010 18:02:48 GMT

    [ 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.


Mime
View raw message