You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/10/04 00:34:34 UTC

[jira] [Created] (HIVE-8343) Return value from BlockingQueue.offer() is not checked in DynamicPartitionPruner

Ted Yu created HIVE-8343:
----------------------------

             Summary: Return value from BlockingQueue.offer() is not checked in DynamicPartitionPruner
                 Key: HIVE-8343
                 URL: https://issues.apache.org/jira/browse/HIVE-8343
             Project: Hive
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


In addEvent() and processVertex(), there is call such as the following:
{code}
          queue.offer(event);
{code}
The return value should be checked. If false is returned, event would not have been queued.

Take a look at line 328 in:
http://fuseyism.com/classpath/doc/java/util/concurrent/LinkedBlockingQueue-source.html



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