[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-16 Thread Wei Zheng (JIRA)

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

Wei Zheng updated HIVE-13753:
-
   Resolution: Fixed
Fix Version/s: 2.1.0
   1.3.0
   Status: Resolved  (was: Patch Available)

Committed to master and branch-1. Thanks [~vgumashta] for the review!

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Fix For: 1.3.0, 2.1.0
>
> Attachments: HIVE-13753.1.patch, HIVE-13753.2.patch, 
> HIVE-13753.3.patch
>
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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


[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-12 Thread Wei Zheng (JIRA)

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

Wei Zheng updated HIVE-13753:
-
Attachment: HIVE-13753.3.patch

Makes sense. Patch 3 made that field client final. Thanks [~vgumashta] for the 
review!

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13753.1.patch, HIVE-13753.2.patch, 
> HIVE-13753.3.patch
>
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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


[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-12 Thread Wei Zheng (JIRA)

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

Wei Zheng updated HIVE-13753:
-
Attachment: HIVE-13753.2.patch

Patch 2.

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13753.1.patch, HIVE-13753.2.patch
>
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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


[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-12 Thread Wei Zheng (JIRA)

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

Wei Zheng updated HIVE-13753:
-
Attachment: HIVE-13753.1.patch

Previous patch has wrong name. Corrected it.

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13753.1.patch
>
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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


[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-12 Thread Wei Zheng (JIRA)

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

Wei Zheng updated HIVE-13753:
-
Attachment: (was: HIVE-13725.1.patch)

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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


[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-12 Thread Wei Zheng (JIRA)

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

Wei Zheng updated HIVE-13753:
-
Attachment: HIVE-13725.1.patch

Upload patch 1. [~ekoifman] Can you review please?

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13725.1.patch
>
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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


[jira] [Updated] (HIVE-13753) Make metastore client thread safe in DbTxnManager

2016-05-12 Thread Wei Zheng (JIRA)

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

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

> Make metastore client thread safe in DbTxnManager
> -
>
> Key: HIVE-13753
> URL: https://issues.apache.org/jira/browse/HIVE-13753
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 1.3.0, 2.1.0
>Reporter: Wei Zheng
>Assignee: Wei Zheng
> Attachments: HIVE-13725.1.patch
>
>
> The fact that multiple threads sharing the same metastore client which is 
> used for RPC to Thrift is not thread safe.
> Race condition can happen when one sees "out of sequence response" error 
> message from Thrift server. That means the response from the Thrift server is 
> for a different request (by a different thread).
> Solution will be to synchronize methods from the client side.



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