[jira] [Updated] (HDFS-5963) TestRollingUpgrade#testSecondaryNameNode causes subsequent tests to fail

2014-02-19 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

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

Attachment: h5963_20140219.patch

> Let me also fix the bug in rollback.

Talk to [~jingzhao], the rollback bug is quite involved so that we will fix it 
separately.

h5963_20140219.patch: removes testSecondaryNameNode() and comments out 
restartNameNode() in testRollback().

> TestRollingUpgrade#testSecondaryNameNode causes subsequent tests to fail
> 
>
> Key: HDFS-5963
> URL: https://issues.apache.org/jira/browse/HDFS-5963
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: test
>Affects Versions: HDFS-5535 (Rolling upgrades)
>Reporter: Arpit Agarwal
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h5963_20140218.patch, h5963_20140219.patch
>
>
> {{TestRollingUpgrade#testSecondaryNameNode}} causes subsequent tests to fail. 
> It seems to be caused by the terminate hook used by the test. Commenting out 
> this test case makes other tests in the same class pass.



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


[jira] [Updated] (HDFS-5963) TestRollingUpgrade#testSecondaryNameNode causes subsequent tests to fail

2014-02-18 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

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

Attachment: h5963_20140218.patch

Since the edit log upgrade marker is changed to 
OP_ROLLING_UPGRADE_\[START/FINALIZE], we could
- remove RollingUpgradeStartupOption.STARTED;
- split FSNamesystem.\[start/finalize]RollingUpgrade to two methods for rpc and 
editlog processing; and
- combine TestEditLogUpgradeMarker with TestRollingUpgrade.

h5963_20140218.patch: moves testSecondaryNameNode to the end; fixes 
QJournalProtocolServerSideTranslatorPB and FileJournalManager; and also has the 
above changes.

> TestRollingUpgrade#testSecondaryNameNode causes subsequent tests to fail
> 
>
> Key: HDFS-5963
> URL: https://issues.apache.org/jira/browse/HDFS-5963
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: test
>Affects Versions: HDFS-5535 (Rolling upgrades)
>Reporter: Arpit Agarwal
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h5963_20140218.patch
>
>
> {{TestRollingUpgrade#testSecondaryNameNode}} causes subsequent tests to fail. 
> It seems to be caused by the terminate hook used by the test. Commenting out 
> this test case makes other tests in the same class pass.



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


[jira] [Updated] (HDFS-5963) TestRollingUpgrade#testSecondaryNameNode causes subsequent tests to fail

2014-02-18 Thread Arpit Agarwal (JIRA)

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

Arpit Agarwal updated HDFS-5963:


Description: {{TestRollingUpgrade#testSecondaryNameNode}} causes subsequent 
tests to fail. It seems to be caused by the terminate hook used by the test. 
Commenting out this test case makes other tests in the same class pass.  (was: 
{{TestRollingUpgrade#testSecondaryNameNode}} causes subsequent tests to fail. 
It seems to be caused by the terminate hook used by the test but I did not 
spend much time on it. Commenting out this test case makes other tests in the 
same class pass.)

> TestRollingUpgrade#testSecondaryNameNode causes subsequent tests to fail
> 
>
> Key: HDFS-5963
> URL: https://issues.apache.org/jira/browse/HDFS-5963
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: test
>Affects Versions: HDFS-5535 (Rolling upgrades)
>Reporter: Arpit Agarwal
>
> {{TestRollingUpgrade#testSecondaryNameNode}} causes subsequent tests to fail. 
> It seems to be caused by the terminate hook used by the test. Commenting out 
> this test case makes other tests in the same class pass.



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