You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2010/02/17 22:15:27 UTC
[jira] Created: (HDFS-983) NameNode transaction log corruption with
bad filename
NameNode transaction log corruption with bad filename
-----------------------------------------------------
Key: HDFS-983
URL: https://issues.apache.org/jira/browse/HDFS-983
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Affects Versions: 0.20.1
Reporter: dhruba borthakur
The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835038#action_12835038 ]
dhruba borthakur commented on HDFS-983:
---------------------------------------
Hi todd, thanks for the pointer to HADOOP-6522. Can you hazard a guess why encoding issue could cause the failures to generate Namenode checkpoints?
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835470#action_12835470 ]
Todd Lipcon commented on HDFS-983:
----------------------------------
Do you think we should reopen HADOOP-6522 to commit to branch-20, then? I don't know that it caused your particular bug, but certainly seems possible.
This also seems pretty reproducible. Anyone have time to try creating some files with null bytes on a test cluster?
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dhruba borthakur reassigned HDFS-983:
-------------------------------------
Assignee: dhruba borthakur
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dhruba borthakur resolved HDFS-983.
-----------------------------------
Resolution: Duplicate
I have not seen this problem after we imported the patch from HADOOP-6522. I am going to close this issue.
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835040#action_12835040 ]
Todd Lipcon commented on HDFS-983:
----------------------------------
My only guess is that there's a null character in that string, and maybe one UTF8 mechanism is used to write it, and a different one to read it? TestUTF8 shows that we have three different UTF8 mechanisms inside Hadoop or Java
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834994#action_12834994 ]
dhruba borthakur commented on HDFS-983:
---------------------------------------
{code}
2010-02-17 00:03:23,763 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: java.io.IOException: Found lease for non-existent file /tmp/appeventtype=��^C��ҵ^Q�ѧq �ﺀ����^W2m�^L�|�,�'�/K��4S��@��JzIԶO{�t����P-�I���Kҁ����/part-00012-967449531
at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFilesUnderConstruction(FSImage.java:1211)
at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:959)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.doMerge(SecondaryNameNode.java:589)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.access$000(SecondaryNameNode.java:473)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doMerge(SecondaryNameNode.java:350)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:314)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.run(SecondaryNameNode.java:225)
at java.lang.Thread.run(Thread.java:619)
{code}
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Andrew Ryan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835423#action_12835423 ]
Andrew Ryan commented on HDFS-983:
----------------------------------
Scott: That also assumes that the bytes we have for the files above are what was actually requested. That might not be the case. We'd really need to get the input data from before the first transformation to know that, I think.
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Scott Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835382#action_12835382 ]
Scott Chen commented on HDFS-983:
---------------------------------
Decode every byte of the above filename.
[239, 191, 189, 239, 191, 189, 94, 67, 239, 191, 189, 239, 191, 189, 210, 181, 94, 81, 239, 191, 189, 209, 167, 113, 32, 32, 32, 239, 191, 189, 239, 186, 128, 239, 191, 189, 239, 191, 189, 239, 191, 189, 239, 191, 189, 94, 87, 50, 109, 239, 191, 189, 94, 76, 239, 191, 189, 124, 239, 191, 189, 44, 239, 191, 189, 39, 239, 191, 189, 47, 75, 239, 191, 189, 239, 191, 189, 52, 83, 239, 191, 189, 239, 191, 189, 64, 239, 191, 189, 239, 191, 189, 74, 122, 73, 212, 182, 79, 123, 239, 191, 189, 116, 239, 191, 189, 239, 191, 189, 239, 191, 189, 239, 191, 189, 80, 45, 239, 191, 189, 73, 239, 191, 189, 239, 191, 189, 239, 191, 189, 75, 210, 129, 239, 191, 189, 239, 191, 189, 239, 191, 189, 239, 191, 189]
No null character found. So there may be some other reason causes this.
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Scott Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835449#action_12835449 ]
Scott Chen commented on HDFS-983:
---------------------------------
@Andrew: You are right. The null character may have already been removed. Currently I think HADOOP-6522 is quite likely to be the cause for this one.
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Scott Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835434#action_12835434 ]
Scott Chen commented on HDFS-983:
---------------------------------
Just discussed with Rodrigo and Dmytro. The filename may be decoded so it loses all the null characters. So this problem may still related to HADOOP-6522.
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-983) NameNode transaction log corruption
with bad filename
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834996#action_12834996 ]
Todd Lipcon commented on HDFS-983:
----------------------------------
I wonder if this is related to HADOOP-6522?
> NameNode transaction log corruption with bad filename
> -----------------------------------------------------
>
> Key: HDFS-983
> URL: https://issues.apache.org/jira/browse/HDFS-983
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> The SecondaryNamenode is unable to create checkpoints. The stack trace is attached. This is the second time we have seen this issue. Both these occurances happened with unprintable characters in the filename. I am wondering if there is an String-UTF8 encoding problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.