[jira] [Updated] (HDFS-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HDFS-3275: --- Fix Version/s: (was: 2.0.0-alpha) 2.0.2-alpha Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, namenode Affects Versions: 2.0.0-alpha Reporter: Vinithra Varadharajan Assignee: amith Fix For: 2.0.2-alpha Attachments: HDFS-3275-4.patch, HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch, HDFS-3275_3.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uma Maheswara Rao G updated HDFS-3275: -- Resolution: Fixed Fix Version/s: 2.0.0 Status: Resolved (was: Patch Available) I have just committed this to trunk and branch-2. Thanks Amith. Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 2.0.0, 3.0.0 Attachments: HDFS-3275-4.patch, HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch, HDFS-3275_3.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uma Maheswara Rao G updated HDFS-3275: -- Attachment: HDFS-3275-4.patch Attached the patch same as Amith and corrected the failures. Let's run the Jenkins. Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275-4.patch, HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch, HDFS-3275_3.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uma Maheswara Rao G updated HDFS-3275: -- Hadoop Flags: Reviewed Status: Patch Available (was: Open) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275-4.patch, HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch, HDFS-3275_3.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Status: Open (was: Patch Available) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Attachment: HDFS-3275_2.patch Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Status: Patch Available (was: Open) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Status: Open (was: Patch Available) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Attachment: HDFS-3275_2.patch Thanks Aaron for a thorough review resubmitting the patch Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Status: Patch Available (was: Open) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Attachment: HDFS-3275_3.patch Corrected javadoc Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch, HDFS-3275_2.patch, HDFS-3275_2.patch, HDFS-3275_3.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Status: Open (was: Patch Available) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Attachments: HDFS-3275.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Attachment: HDFS-3275_1.patch Corrected the comments Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Fix Version/s: 3.0.0 Status: Patch Available (was: Open) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uma Maheswara Rao G updated HDFS-3275: -- Attachment: HDFS-3275_1.patch Patch looks good. Assert has been added in format api. So, test ensures that there is no exceptions out of it when we include non-file based journals. +1 Re-attaching the same patch as Amith to trigger Jenkins. Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Fix For: 3.0.0 Attachments: HDFS-3275.patch, HDFS-3275_1.patch, HDFS-3275_1.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Target Version/s: 3.0.0 Status: Patch Available (was: Open) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Attachments: HDFS-3275.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] amith updated HDFS-3275: Attachment: HDFS-3275.patch Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan Assignee: amith Attachments: HDFS-3275.patch To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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-3275) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting
[ https://issues.apache.org/jira/browse/HDFS-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HDFS-3275: - Description: To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. was: To reproduce: 1) Configure a NameNode with namedirs and a shared edits dir, all of which are empty. 2) Run hdfs namenode -format. Namedirs and shared edits dir gets populated. 2) Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. 3) Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. Updating the numbering of the steps. (The original numbering had two step 2's.) Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting - Key: HDFS-3275 URL: https://issues.apache.org/jira/browse/HDFS-3275 Project: Hadoop HDFS Issue Type: Bug Components: ha, name-node Affects Versions: 2.0.0 Reporter: Vinithra Varadharajan To reproduce: # Configure a NameNode with namedirs and a shared edits dir, all of which are empty. # Run hdfs namenode -format. Namedirs and shared edits dir gets populated. # Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents. # Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting. -- 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