hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7135) Add trace command to FsShell
Date Tue, 23 Sep 2014 17:52:34 GMT

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

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

[~stack], [~iwasakims]: When you get a chance, can you take a look at my patch on HDFS-7055?
 It adds a new configuration key, {{dfs.client.trace.sampler}}, which the HDFS client can
set to control tracing.  It's a little more flexible than the approach here because {{dfs.client.trace.sampler}}
can be set for arbitrary clients, and it can do probabilistic sampling rather than always-on.

Given that we already have ways to inject extra hadoop config keys into the shell via command-line
arguments (via \-D and friends), it might be easier just to tell people to use that.  Especially
given that they will need other configuration to use tracing, like the location of the trace
file (if they're using the file sink), and etc.

> Add trace command to FsShell
> ----------------------------
>
>                 Key: HDFS-7135
>                 URL: https://issues.apache.org/jira/browse/HDFS-7135
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: HDFS-7135-0.patch, HDFS-7135-1.patch
>
>
> Adding manual tracing command which can be used like 'hdfs dfs -trace -ls /'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message