[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-16 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Integrated into trunk. Thanks all for the review.

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch, 
 trunk-6858_v3.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-12 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Status: Open  (was: Patch Available)

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-12 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Attachment: trunk-6858_v2.patch

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-12 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Status: Patch Available  (was: Open)

Uploaded patch v2, added a prefix as additional salt.  No sure about the 
performance impact.  Is a random number good enough?

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-12 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Status: Open  (was: Patch Available)

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch, 
 trunk-6858_v3.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-12 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Attachment: trunk-6858_v3.patch

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch, 
 trunk-6858_v3.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-12 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Status: Patch Available  (was: Open)

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch, 
 trunk-6858_v3.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-11 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Attachment: trunk-6858.patch

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-11 Thread Jimmy Xiang (JIRA)

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

Jimmy Xiang updated HBASE-6858:
---

Hadoop Flags:   (was: Reviewed)
  Status: Patch Available  (was: Reopened)

I posted a patch trunk-6858.patch based on the discussion and Liyin's patch.


 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch, trunk-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-10-01 Thread stack (JIRA)

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

stack updated HBASE-6858:
-

Priority: Critical  (was: Major)

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
Priority: Critical
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Liyin Tang (JIRA)

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

Liyin Tang updated HBASE-6858:
--

Attachment: HBASE-6858.patch

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
Reporter: Liyin Tang
 Attachments: HBASE-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Liyin Tang (JIRA)

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

Liyin Tang updated HBASE-6858:
--

Attachment: (was: HBASE-6858.patch)

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
Reporter: Liyin Tang
Assignee: Liyin Tang
 Attachments: HBASE-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Liyin Tang (JIRA)

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

Liyin Tang updated HBASE-6858:
--

Attachment: HBASE-6858.patch

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
Reporter: Liyin Tang
Assignee: Liyin Tang
 Attachments: HBASE-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-6858:
-

Fix Version/s: 0.96.0
   0.94.2

+1 (for 0.94 as well)

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
Reporter: Liyin Tang
Assignee: Liyin Tang
 Fix For: 0.94.2, 0.96.0

 Attachments: HBASE-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-6858:
-

Component/s: Zookeeper

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
 Fix For: 0.94.2, 0.96.0

 Attachments: HBASE-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread stack (JIRA)

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

stack updated HBASE-6858:
-

Fix Version/s: (was: 0.94.2)

Reverted from 0.94. Trunk patch didn't apply.

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Liyin Tang (JIRA)

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

Liyin Tang updated HBASE-6858:
--

Attachment: HBASE-6858_v2.patch

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper

2012-09-21 Thread Liyin Tang (JIRA)

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

Liyin Tang updated HBASE-6858:
--

Attachment: HBASE-6858_v3.patch

Compare the entire data (identifier + data payload) together as discussed. In 
addition, we may need to append the thread id into the identifier. 

 Fix the incorrect BADVERSION checking in the recoverable zookeeper
 --

 Key: HBASE-6858
 URL: https://issues.apache.org/jira/browse/HBASE-6858
 Project: HBase
  Issue Type: Bug
  Components: Zookeeper
Reporter: Liyin Tang
Assignee: Liyin Tang
 Fix For: 0.96.0

 Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, 
 HBASE-6858_v3.patch


 Thanks for Stack and Kaka's reporting that there is a bug in the recoverable 
 zookeeper when handling BADVERSION exception for setData(). It shall compare 
 the ID payload of the data in zk with its own identifier.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira