You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Boris Shkolnik (JIRA)" <ji...@apache.org> on 2008/11/26 00:53:44 UTC
[jira] Created: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Tests for NameNode -checkpoint option with different configurations
--------------------------------------------------------------------
Key: HADOOP-4728
URL: https://issues.apache.org/jira/browse/HADOOP-4728
Project: Hadoop Core
Issue Type: Test
Reporter: Boris Shkolnik
Priority: Minor
here are the tests:
id : secnn-4
Desc : Start SecondaryNameNode first before starting NameNode
Expected
results : Secondary namenode should fail to start
---------------------------------
id : secnn-6
Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
Start NameNode using -importCheckpoint.
Expected
results : Name-node should import image and edits into different directories.
---------------------------------
id : secnn-7
Desc : Start NameNode.
Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
Start SecondaryNameNode.
Expected
results : Secondary name-node should download edits and create the image in different directories.
----------------------------
id : secnn-8
Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
Start NameNode using -importCheckpoint.
Expected
Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-4728:
----------------------------------
Status: Open (was: Patch Available)
According to [this|http://wiki.apache.org/hadoop/CodeReviewChecklist], servers should not be directly instantiated. Is it possible to implement these tests using MiniDFSCluster? Sorry for missing this in the original review.
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-4728:
----------------------------------
Status: Open (was: Patch Available)
The new unit test runs until it times out and fails on Linux. On the Mac, the test passes because it relies on a BindException (wrapped in an IOException, so it bypasses the BindException handler) to terminate.
* ?
{noformat}
+ // do not remove code
+ //FileSystem.setDefaultUri(config, "hdfs://"+NAME_NODE_HOST + "0");
+ //config.set("dfs.http.address", NAME_NODE_HTTP_HOST + "0");
{noformat}
* In checkNameNodeFiles, the MiniDFSCluster should be shut down in a finally block.
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Attachment: HADOOP-4728.patch
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Attachments: HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4728) Tests for NameNode -checkpoint
option with different configurations
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655817#action_12655817 ]
Hadoop QA commented on HADOOP-4728:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12395705/HADOOP-4728-4.patch
against trunk revision 725729.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 Eclipse classpath. The patch retains Eclipse classpath integrity.
-1 core tests. The patch failed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3712/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3712/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3712/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3712/console
This message is automatically generated.
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728-4.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-4728:
----------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
+1 Looks good
I just committed this. Thanks, Boris
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728-4.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Affects Version/s: 0.20.0
Status: Patch Available (was: Open)
implemented changes suggested by Chris
Bind exception means that probably another SNN is running - which is a test error .
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-4728:
----------------------------------
Fix Version/s: 0.20.0
Status: Open (was: Patch Available)
Minor:
* Please use 2 spaces instead of tabs
* Commented-out code should be removed
* Can setUpConfig be part of TestCase::setUp?
* Instead of {{assertTrue(false)}}, this can just call {{fail(String)}}. It would be helpful to record the exception, too (StringUtils::stringifyException). {{assertEquals(a, b)}} instead of {{assertTrue(a == b)}} is also preferred
* Where iterating with FSImage::DirIterator (testSNNStartup, and checkNameNodeFiles, which should also be merged), the NameNodeDirType is mutually exclusive. It should probably use a switch, and define whether it's valid to find types other than {{IMAGE}} and {{EDITS}}
* startSecondaryNamenode and the asserts following it are unnecessary. Excluding the log message, it's equivalent to create it inline, as the exception is rethrown. At least one and probably both startNameNode methods are similarly unnecessary.
Tests:
* In testSNNwithoutNN, the test will pass if the secondary namenode fails to start because of a BindException. Shouldn't the logic in canStartSecondaryNode be moved into its caller, and the test fail for a BindException? The test has not validated what it claims to
* baseDir should default to /tmp instead of dfs/data
* The test(s) should clean up when finished.
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Attachment: HADOOP-4728-4.patch
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728-4.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Attachment: HADOOP-4728-2.patch
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Status: Patch Available (was: Open)
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Attachments: HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Attachment: HADOOP-4728-3.patch
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Status: Patch Available (was: Open)
well, I've changed to MiniDFSCluster, but that required some changes in the MiniDFSCluster class itself because it wasn't handling StartupOptions correctly. Please review both.
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Status: Patch Available (was: Open)
some cleanup
removed testSNNwoNN test, because currently system is not working as required by the test.
Will introduce the test again when the feature is implemented.
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728-4.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Attachment: HADOOP-4728-1.patch
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-4728) Tests for NameNode -checkpoint
option with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik reassigned HADOOP-4728:
--------------------------------------
Assignee: Boris Shkolnik
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Status: Patch Available (was: Open)
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4728) Tests for NameNode -checkpoint option
with different configurations
Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Shkolnik updated HADOOP-4728:
-----------------------------------
Status: Open (was: Patch Available)
> Tests for NameNode -checkpoint option with different configurations
> --------------------------------------------------------------------
>
> Key: HADOOP-4728
> URL: https://issues.apache.org/jira/browse/HADOOP-4728
> Project: Hadoop Core
> Issue Type: Test
> Affects Versions: 0.20.0
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Priority: Minor
> Fix For: 0.20.0
>
> Attachments: HADOOP-4728-1.patch, HADOOP-4728-2.patch, HADOOP-4728-3.patch, HADOOP-4728.patch
>
>
> here are the tests:
> id : secnn-4
> Desc : Start SecondaryNameNode first before starting NameNode
> Expected
> results : Secondary namenode should fail to start
> ---------------------------------
> id : secnn-6
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
> Start NameNode using -importCheckpoint.
> Expected
> results : Name-node should import image and edits into different directories.
> ---------------------------------
> id : secnn-7
> Desc : Start NameNode.
> Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
> Start SecondaryNameNode.
> Expected
> results : Secondary name-node should download edits and create the image in different directories.
> ----------------------------
> id : secnn-8
> Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
> Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
> Start NameNode using -importCheckpoint.
> Expected
> Results : Name-node should import image and edits into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.