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

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

Looks good.

{code}
+  $ hadoop trace -add -class org.htrace.impl.LocalFileSpanReceiver 
-Chadoop.htrace.local-file-span-receiver.path=/tmp/htrace.out -host 
192.168.56.2:9000
{code}

Since the namespace of LocalFileSpanReceiver might be changing soon, I'd prefer 
to tell people to use {{hadoop trace -add -class LocalFileSpanReceiver}} (i.e., 
have the system automatically add the namespace).  That way it will work even 
after we move {{LocalFileSpanReceiver}}.

> Add usage of "hadoop trace" command to doc
> ------------------------------------------
>
>                 Key: HDFS-7186
>                 URL: https://issues.apache.org/jira/browse/HDFS-7186
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: HDFS-7186-0.patch
>
>
> The command for tracing management was added in HDFS-6956.



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

Reply via email to