[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-04-23 Thread Uma Maheswara Rao G (JIRA)

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

Uma Maheswara Rao G updated HADOOP-10251:
-

   Resolution: Fixed
Fix Version/s: 2.5.0
   3.0.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

I have just committed this to trunk and branch-2 . Thanks a lot, Vinay for the 
patch!

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinayakumar B
Assignee: Vinayakumar B
Priority: Critical
 Fix For: 3.0.0, 2.5.0

 Attachments: HADOOP-10251.patch, HADOOP-10251.patch, 
 HADOOP-10251.patch, HADOOP-10251.patch, HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN1 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-04-18 Thread Vinayakumar B (JIRA)

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

Vinayakumar B updated HADOOP-10251:
---

Attachment: HADOOP-10251.patch

Updated the java doc for the interface. 
Removed the implementation level details in interface.

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinayakumar B
Assignee: Vinayakumar B
Priority: Critical
 Attachments: HADOOP-10251.patch, HADOOP-10251.patch, 
 HADOOP-10251.patch, HADOOP-10251.patch, HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN1 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-04-15 Thread Vinayakumar B (JIRA)

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

Vinayakumar B updated HADOOP-10251:
---

Description: 
Following corner scenario happened in one of our cluster.

1. NN1 was Active and NN2 was Standby
2. NN2 machine's network was slow 
3. NN1 got shutdown.
4. NN2 ZKFC got the notification and trying to check for old active for 
fencing. (This took little more time, again due to slow network)
5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made it 
Active.
6. Now NN2 ZKFC got Old Active as NN1 and it did graceful fencing of NN1 to 
STANBY.
7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and got 
shutdown before making NN2 Active.


*Now cluster having both NameNodes as STANDBY.*
NN1 ZKFC still thinks that its nameNode is in Active state. 
NN2 ZKFC waiting for election.

  was:
Following corner scenario happened in one of our cluster.

1. NN1 was Active and NN2 was Standby
2. NN2 machine's network was slow 
3. NN1 got shutdown.
4. NN2 ZKFC got the notification and trying to check for old active for 
fencing. (This took little more time, again due to slow network)
5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made it 
Active.
6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to 
STANBY.
7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and got 
shutdown before making NN2 Active.


*Now cluster having both NameNodes as STANDBY.*
NN1 ZKFC still thinks that its nameNode is in Active state. 
NN2 ZKFC waiting for election.


 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinayakumar B
Assignee: Vinayakumar B
Priority: Critical
 Attachments: HADOOP-10251.patch, HADOOP-10251.patch, 
 HADOOP-10251.patch, HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN1 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-01-22 Thread Vinay (JIRA)

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

Vinay updated HADOOP-10251:
---

Attachment: HADOOP-10251.patch

Attaching a patch for the above case. Please review

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinay
Assignee: Vinay
Priority: Critical
 Attachments: HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-01-22 Thread Vinay (JIRA)

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

Vinay updated HADOOP-10251:
---

Status: Patch Available  (was: Open)

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinay
Assignee: Vinay
Priority: Critical
 Attachments: HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-01-22 Thread Vinay (JIRA)

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

Vinay updated HADOOP-10251:
---

Attachment: HADOOP-10251.patch

Updated the patch to fix test failures.
These are mainly time issues.

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinay
Assignee: Vinay
Priority: Critical
 Attachments: HADOOP-10251.patch, HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-01-22 Thread Vinay (JIRA)

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

Vinay updated HADOOP-10251:
---

Attachment: HADOOP-10251.patch

Updated the patch again.
Also enabled tests in Windows.

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinay
Assignee: Vinay
Priority: Critical
 Attachments: HADOOP-10251.patch, HADOOP-10251.patch, 
 HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HADOOP-10251) Both NameNodes could be in STANDBY State if SNN network is unstable

2014-01-22 Thread Vinay (JIRA)

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

Vinay updated HADOOP-10251:
---

Attachment: HADOOP-10251.patch

Attaching the updated patch, fixed some synchronization issue.

 Both NameNodes could be in STANDBY State if SNN network is unstable
 ---

 Key: HADOOP-10251
 URL: https://issues.apache.org/jira/browse/HADOOP-10251
 Project: Hadoop Common
  Issue Type: Bug
  Components: ha
Affects Versions: 2.2.0
Reporter: Vinay
Assignee: Vinay
Priority: Critical
 Attachments: HADOOP-10251.patch, HADOOP-10251.patch, 
 HADOOP-10251.patch, HADOOP-10251.patch


 Following corner scenario happened in one of our cluster.
 1. NN1 was Active and NN2 was Standby
 2. NN2 machine's network was slow 
 3. NN1 got shutdown.
 4. NN2 ZKFC got the notification and trying to check for old active for 
 fencing. (This took little more time, again due to slow network)
 5. In between, NN1 got restarted by our automatic monitoring, and ZKFC made 
 it Active.
 6. Now NN2 ZKFC got Old Active as NN2 and it did graceful fencing of NN1 to 
 STANBY.
 7. Before writing ActiveBreadCrumb to ZK, NN2 ZKFC got session timeout and 
 got shutdown before making NN2 Active.
 *Now cluster having both NameNodes as STANDBY.*
 NN1 ZKFC still thinks that its nameNode is in Active state. 
 NN2 ZKFC waiting for election.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)