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:43:34 GMT

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

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

bq. This is effectively a dupe of HDFS-6956.

HDFS-6956 is about servers, this is about clients.  It's not possible to do an RPC to clients
to change their tracing configuration because clients normally don't expose a port and a listening
service to the world.  Plus clients are often short-lived, so by the time you could even do
an RPC, the client might have exited.

bq. Adding manual tracing command which can be used like 'hdfs dfs -trace -ls /'.

I sort of appreciate the simplicity of this interface, but I'm not sure how I feel about this
patch.  It seems more consistent to configure client-side tracing by setting a configuration
key.  I suppose the \-trace command added here can simply override that configuration, though.

> 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