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

Colin Patrick McCabe commented on HDFS-4356:
--------------------------------------------

* added debug guard in {{BlockReaderLocal#close}}

* fix comment for {{FileInputStreamCache#closed}}

{{DaemonFactory}} has this code:
{code}
    \@Override
    public Thread newThread(Runnable runnable) {
      return new Daemon(runnable);
    }
{code}

... and {{Daemon}}'s constructor looks like this:
{code}
  /** Construct a daemon thread. */
  public Daemon(Runnable runnable) {
    super(runnable);
    this.runnable = runnable;
    this.setName(((Object)runnable).toString());
  }
{code}

So it will set the thread name appropriately.
                
> BlockReaderLocal should use passed file descriptors rather than paths
> ---------------------------------------------------------------------
>
>                 Key: HDFS-4356
>                 URL: https://issues.apache.org/jira/browse/HDFS-4356
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, hdfs-client, performance
>    Affects Versions: 2.0.3-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: 04b-cumulative.patch, _04b.patch, _04c.patch, 
> 04-cumulative.patch, 04d-cumulative.patch, _04e.patch, 04f-cumulative.patch, 
> _04f.patch, 04g-cumulative.patch
>
>
> {{BlockReaderLocal}} should use file descriptors passed over UNIX domain 
> sockets rather than paths.  We also need some configuration options for these 
> UNIX domain sockets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to