[
https://issues.apache.org/jira/browse/HDFS-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132785#comment-13132785
]
Konstantin Boudnik commented on HDFS-2452:
------------------------------------------
Hi Uma.
Aspect either work on not :) - they are just a pieces of byte code physically
inserted into the target class. The reason you see {{DataXceiver.java:36}} in
the stack is because there's no source code line anymore to tie with.
An easy way to find out what's going on is to disassemble the class file. When
you do it you see this:
{code}
59 DataNode getDataNode()
60 {
61 return datanode;
62 }
63
64 public void run()
65 {
66 run_aroundBody1$advice(this, DataXceiverAspects.aspectOf(), this,
null);
67 }
68
69 protected void opReadBlock(DataInputStream in, Block block, long
startOffset, long length, String clientName,
70 Token blockToken)
71 throws IOException
{code}
I'd say it should work as expected. If an unexpected behavior is seen it is
likely that we instrumented it on somewhat incorrect assumptions.
> OutOfMemoryError in DataXceiverServer takes down the DataNode
> -------------------------------------------------------------
>
> Key: HDFS-2452
> URL: https://issues.apache.org/jira/browse/HDFS-2452
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Uma Maheswara Rao G
> Fix For: 0.22.0
>
> Attachments: HDFS-2452-22Branch.2.patch, HDFS-2452-22branch.1.patch,
> HDFS-2452-22branch.patch, HDFS-2452-22branch.patch, HDFS-2452-22branch.patch,
> HDFS-2452-22branch.patch, HDFS-2452-22branch_with-around_.patch,
> HDFS-2452-22branch_with-around_.patch
>
>
> OutOfMemoryError brings down DataNode, when DataXceiverServer tries to spawn
> a new data transfer thread.
--
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