[ 
https://issues.apache.org/jira/browse/HIVE-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224756#comment-13224756
 ] 

Edward Capriolo commented on HIVE-2835:
---------------------------------------

Actually -1 changing the .xml.template does nothing. The change has to happen 
to HiveConf.java.

{noformat}
Index: conf/hive-default.xml.template
===================================================================
--- conf/hive-default.xml.template      (revision 1298087)
+++ conf/hive-default.xml.template      (working copy)
@@ -791,7 +791,7 @@
 
 <property>
   <name>hive.exec.dynamic.partition</name>
-  <value>false</value>
+  <value>true</value>
   <description>Whether or not to allow dynamic partitions in 
DML/DDL.</description>
 </property>
 
Index: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
===================================================================
--- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java   (revision 
1298087)
+++ common/src/java/org/apache/hadoop/hive/conf/HiveConf.java   (working copy)
@@ -172,7 +172,7 @@
     EXECPARALLETHREADNUMBER("hive.exec.parallel.thread.number", 8),
     
HIVESPECULATIVEEXECREDUCERS("hive.mapred.reduce.tasks.speculative.execution", 
true),
     HIVECOUNTERSPULLINTERVAL("hive.exec.counters.pull.interval", 1000L),
-    DYNAMICPARTITIONING("hive.exec.dynamic.partition", false),
+    DYNAMICPARTITIONING("hive.exec.dynamic.partition", true),
     DYNAMICPARTITIONINGMODE("hive.exec.dynamic.partition.mode", "strict"),
     DYNAMICPARTITIONMAXPARTS("hive.exec.max.dynamic.partitions", 1000),
     
DYNAMICPARTITIONMAXPARTSPERNODE("hive.exec.max.dynamic.partitions.pernode", 
100),
{noformat}

We will see if the change effects the output of other tests.
                
> Change default configuration for hive.exec.dynamic.partition
> ------------------------------------------------------------
>
>                 Key: HIVE-2835
>                 URL: https://issues.apache.org/jira/browse/HIVE-2835
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: HIVE-2835.D2157.1.patch
>
>
> I think we should enable dynamic partitions by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to