[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-05-11 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

Tsz Wo (Nicholas), SZE updated HDFS-3211:
-

Fix Version/s: 2.0.0

I merged this to branch-2 (instead of using h3211_20120511_branch-2.patch).  I 
skipped the journalservice changes in the merge.

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Fix For: 2.0.0, 3.0.0
>
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt, HDFS-3211.txt, h3211_20120511_branch-2.patch
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-05-11 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

Tsz Wo (Nicholas), SZE updated HDFS-3211:
-

Attachment: h3211_20120511_branch-2.patch

h3211_20120511_branch-2.patch: for branch-2.

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Fix For: 3.0.0
>
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt, HDFS-3211.txt, h3211_20120511_branch-2.patch
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-06 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

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

Tsz Wo (Nicholas), SZE updated HDFS-3211:
-

   Resolution: Fixed
Fix Version/s: 3.0.0
   Status: Resolved  (was: Patch Available)

I have committed this to trunk.  Thanks Suresh!

(I tried to merge it back to branch-2 but the merge failed since journalservice 
was not there.  So we should either post a patch for branch-2 or merge also the 
journalservice patches.)

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Fix For: 3.0.0
>
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt, HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-06 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

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

Tsz Wo (Nicholas), SZE updated HDFS-3211:
-

Hadoop Flags: Reviewed

+1 patch looks good.

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt, HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-06 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: HDFS-3211.txt

The patch is complete and read for review. I added a test for fence mechanism 
and checking epoch.

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt, HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Status: Patch Available  (was: Open)

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: (was: HDFS-3211.txt)

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: HDFS-3211.txt

Updated patch with fixes to test failure.

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: HDFS-3211.txt

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt, 
> HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: HDFS-3211.txt

Updated patch with missing files.

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt, HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: HDFS-3211.txt

Early version of the patch with changes:
# Changed JournalProtocol to use JournalInfo instead of NamenodeRegistration - 
continuing the work from HDFS-3204.
# All Journal methods are changed to include epoch
# Added fence method to JournalProtocol.
#* fence is allowed only if epoch is higher
#* In JournalService, in fence method the epoch is saved. Subsequently only the 
requests with that epoch succeeds.

Will add unit tests.


> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt, HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Attachment: HDFS-3211.txt

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
> Attachments: HDFS-3211.txt
>
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-3211) JournalProtocol changes required for introducing epoch and fencing

2012-04-05 Thread Suresh Srinivas (Updated) (JIRA)

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

Suresh Srinivas updated HDFS-3211:
--

Affects Version/s: Shared journals (HDFS-3092)

> JournalProtocol changes required for introducing epoch and fencing
> --
>
> Key: HDFS-3211
> URL: https://issues.apache.org/jira/browse/HDFS-3211
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ha, name-node
>Affects Versions: Shared journals (HDFS-3092)
>Reporter: Suresh Srinivas
>Assignee: Suresh Srinivas
>
> JournalProtocol changes to introduce epoch in every request. Adding new 
> method fence for fencing a JournalService. On BackupNode fence is a no-op. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira