[ 
https://issues.apache.org/jira/browse/HDFS-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150009#comment-13150009
 ] 

Todd Lipcon commented on HDFS-2246:
-----------------------------------

another note: the "benchmark" included is in fact a benchmark of string 
formatting. All of the threads are spending the majority of their time at the 
following stack:
{code}
"Thread-2" prio=10 tid=0x00007ff7b41ea800 nid=0x6502 runnable 
[0x00007ff7b3cfb000]
   java.lang.Thread.State: RUNNABLE
        at java.lang.Integer.getChars(Integer.java:370)
        at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:615)
        at java.lang.StringBuilder.append(StringBuilder.java:229)
        at 
org.apache.hadoop.hdfs.TestShortCircuitLocalRead.checkData(TestShortCircuitLocalRead.java:92)
        at 
org.apache.hadoop.hdfs.TestShortCircuitLocalRead.checkFullFile(TestShortCircuitLocalRead.java:118)
        at 
org.apache.hadoop.hdfs.TestShortCircuitLocalRead$3.run(TestShortCircuitLocalRead.java:269)
{code}
                
> Shortcut a local client reads to a Datanodes files directly
> -----------------------------------------------------------
>
>                 Key: HDFS-2246
>                 URL: https://issues.apache.org/jira/browse/HDFS-2246
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Sanjay Radia
>         Attachments: 0001-HDFS-347.-Local-reads.patch, 
> HDFS-2246-branch-0.20-security-205.1.patch, 
> HDFS-2246-branch-0.20-security-205.2.patch, 
> HDFS-2246-branch-0.20-security-205.patch, 
> HDFS-2246-branch-0.20-security-205.patch, 
> HDFS-2246-branch-0.20-security-205.patch, 
> HDFS-2246-branch-0.20-security.3.patch, 
> HDFS-2246-branch-0.20-security.no-softref.patch, 
> HDFS-2246-branch-0.20-security.patch, HDFS-2246-branch-0.20-security.patch, 
> HDFS-2246-trunk.patch, HDFS-2246-trunk.patch, HDFS-2246.20s.1.patch, 
> HDFS-2246.20s.2.txt, HDFS-2246.20s.3.txt, HDFS-2246.20s.4.txt, 
> HDFS-2246.20s.patch, localReadShortcut20-security.2patch
>
>


--
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

        

Reply via email to