[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-16 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
   Resolution: Fixed
Fix Version/s: 4.0.0
   3.1.0
   Status: Resolved  (was: Patch Available)

Pushed to master, branch-3. Thanks [~ekoifman]

> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Fix For: 3.1.0, 4.0.0
>
> Attachments: HIVE-19876.06.patch
>
>
> 1) Only locks for tables should be checked.
> 2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
> should be done on the configuration property value, as the object 
> {{txnWriteIdList}} will never be null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-14 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
Attachment: (was: HIVE-19876.05.patch)

> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Attachments: HIVE-19876.06.patch
>
>
> 1) Only locks for tables should be checked.
> 2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
> should be done on the configuration property value, as the object 
> {{txnWriteIdList}} will never be null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-14 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
Attachment: (was: HIVE-19876.02.patch)

> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Attachments: HIVE-19876.06.patch
>
>
> 1) Only locks for tables should be checked.
> 2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
> should be done on the configuration property value, as the object 
> {{txnWriteIdList}} will never be null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-14 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
Attachment: HIVE-19876.06.patch

> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Attachments: HIVE-19876.06.patch
>
>
> 1) Only locks for tables should be checked.
> 2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
> should be done on the configuration property value, as the object 
> {{txnWriteIdList}} will never be null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-14 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
Attachment: (was: HIVE-19876.patch)

> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Attachments: HIVE-19876.06.patch
>
>
> 1) Only locks for tables should be checked.
> 2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
> should be done on the configuration property value, as the object 
> {{txnWriteIdList}} will never be null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-14 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
Description: 
1) Only locks for tables should be checked.
2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
should be done on the configuration property value, as the object 
{{txnWriteIdList}} will never be null.

  was:When it calls {{ValidTxnList currentTxnList = 
queryTxnMgr.getValidTxns();}}, it will not see anything above its current 
txnid. It should rely on global valid txn list instead.


> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Attachments: HIVE-19876.02.patch, HIVE-19876.05.patch, 
> HIVE-19876.patch
>
>
> 1) Only locks for tables should be checked.
> 2) Check on whether {{txnWriteIdList}} is null or not needs to be fixed: it 
> should be done on the configuration property value, as the object 
> {{txnWriteIdList}} will never be null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19876) Multiple fixes for Driver.isValidTxnListState

2018-06-14 Thread Jesus Camacho Rodriguez (JIRA)


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

Jesus Camacho Rodriguez updated HIVE-19876:
---
Summary: Multiple fixes for Driver.isValidTxnListState  (was: 
Driver.isValidTxnListState should rely on global txn list)

> Multiple fixes for Driver.isValidTxnListState
> -
>
> Key: HIVE-19876
> URL: https://issues.apache.org/jira/browse/HIVE-19876
> Project: Hive
>  Issue Type: Bug
>  Components: Transactions
>Affects Versions: 3.1.0, 4.0.0
>Reporter: Eugene Koifman
>Assignee: Jesus Camacho Rodriguez
>Priority: Major
> Attachments: HIVE-19876.02.patch, HIVE-19876.05.patch, 
> HIVE-19876.patch
>
>
> When it calls {{ValidTxnList currentTxnList = queryTxnMgr.getValidTxns();}}, 
> it will not see anything above its current txnid. It should rely on global 
> valid txn list instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)