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

Prasanth Jayachandran commented on HIVE-12467:
----------------------------------------------

Adding a sample error msg from logs
{code}
Fatal error occurred when node tried to create too many dynamic partitions. The 
maximum number of dynamic partitions is controlled by 
hive.exec.max.dynamic.partitions and hive.exec.max.dynamic.partitions.pernode. 
Maximum was set to: 2000
{code}

In the above error msg, we really don't know if 
hive.exec.max.dynamic.partitions is set to 2000 or 
hive.exec.max.dynamic.partitions.pernode is set to 2000. It will be better to 
make it explicit like
{code}
Fatal error occurred when node tried to create too many dynamic partitions. The 
maximum number of dynamic partitions is controlled by 
hive.exec.max.dynamic.partitions and hive.exec.max.dynamic.partitions.pernode. 
Maximum per node was set to: 2000, number of dynamic partitions on this node: 
xxxx 
{code}

> Add number of dynamic partitions to error message
> -------------------------------------------------
>
>                 Key: HIVE-12467
>                 URL: https://issues.apache.org/jira/browse/HIVE-12467
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Lars Francke
>            Assignee: Lars Francke
>            Priority: Minor
>         Attachments: HIVE-12467.patch
>
>
> Currently when using dynamic partition insert we get an error message saying 
> that the client tried to create too many dynamic partitions ("Maximum was set 
> to"). I'll extend the error message to specify the number of dynamic 
> partitions which can be helpful for debugging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to