[jira] [Updated] (HIVE-13834) Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain predictable iteration order

2016-06-01 Thread Wei Zheng (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Zheng updated HIVE-13834:
-
   Resolution: Fixed
Fix Version/s: 2.2.0
   Status: Resolved  (was: Patch Available)

Committed to master. Thanks Eugene for the review.

> Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain 
> predictable iteration order
> ---
>
> Key: HIVE-13834
> URL: https://issues.apache.org/jira/browse/HIVE-13834
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Fix For: 2.2.0
>
> Attachments: HIVE-13834.1.patch
>
>
> In Java 7 it is assumed the iteration order is always the same as the insert 
> order, but that's not guaranteed. In Java 8 some unit test breaks because of 
> this ordering change. Solution is to use LinkedHashMap.



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


[jira] [Updated] (HIVE-13834) Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain predictable iteration order

2016-05-31 Thread Wei Zheng (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Zheng updated HIVE-13834:
-
Status: Patch Available  (was: Open)

> Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain 
> predictable iteration order
> ---
>
> Key: HIVE-13834
> URL: https://issues.apache.org/jira/browse/HIVE-13834
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13834.1.patch
>
>
> In Java 7 it is assumed the iteration order is always the same as the insert 
> order, but that's not guaranteed. In Java 8 some unit test breaks because of 
> this ordering change. Solution is to use LinkedHashMap.



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


[jira] [Updated] (HIVE-13834) Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain predictable iteration order

2016-05-31 Thread Wei Zheng (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Zheng updated HIVE-13834:
-
Attachment: HIVE-13834.1.patch

> Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain 
> predictable iteration order
> ---
>
> Key: HIVE-13834
> URL: https://issues.apache.org/jira/browse/HIVE-13834
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13834.1.patch
>
>
> In Java 7 it is assumed the iteration order is always the same as the insert 
> order, but that's not guaranteed. In Java 8 some unit test breaks because of 
> this ordering change. Solution is to use LinkedHashMap.



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


[jira] [Updated] (HIVE-13834) Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain predictable iteration order

2016-05-27 Thread Wei Zheng (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Zheng updated HIVE-13834:
-
Target Version/s: 2.1.0  (was: 1.3.0, 2.1.0)

> Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain 
> predictable iteration order
> ---
>
> Key: HIVE-13834
> URL: https://issues.apache.org/jira/browse/HIVE-13834
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
>
> In Java 7 it is assumed the iteration order is always the same as the insert 
> order, but that's not guaranteed. In Java 8 some unit test breaks because of 
> this ordering change. Solution is to use LinkedHashMap.



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


[jira] [Updated] (HIVE-13834) Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain predictable iteration order

2016-05-27 Thread Wei Zheng (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-13834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Zheng updated HIVE-13834:
-
Target Version/s: 2.2.0  (was: 2.1.0)

> Use LinkedHashMap instead of HashMap for LockRequestBuilder to maintain 
> predictable iteration order
> ---
>
> Key: HIVE-13834
> URL: https://issues.apache.org/jira/browse/HIVE-13834
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
>
> In Java 7 it is assumed the iteration order is always the same as the insert 
> order, but that's not guaranteed. In Java 8 some unit test breaks because of 
> this ordering change. Solution is to use LinkedHashMap.



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