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

Zhihong Ted Yu commented on HBASE-6449:
---------------------------------------

You're right about test categorization.

Please add htrace module to the root pom.xml (this was the reason why htrace 
tests were not run):
{code}
Index: pom.xml
===================================================================
--- pom.xml     (revision 1365854)
+++ pom.xml     (working copy)
@@ -46,6 +46,7 @@
     <module>hbase-hadoop-compat</module>
     <module>hbase-common</module>
     <module>hbase-it</module>
+    <module>htrace</module>
   </modules>
   <scm>
     
<connection>scm:svn:http://svn.apache.org/repos/asf/hbase/trunk</connection>
{code}
Then you should be able to run test individually at workspace root:
{code}
Running org.apache.hadoop.hbase.htrace.CountSamplerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [1.479s]
[INFO] HBase - Common .................................... SUCCESS [0.792s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [0.089s]
[INFO] HBase - Hadoop One Compatibility .................. SUCCESS [0.235s]
[INFO] HBase - Server .................................... SUCCESS [3.212s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [1.581s]
[INFO] HBase - Integration Tests ......................... SUCCESS [0.376s]
[INFO] htrace ............................................ SUCCESS [0.553s]
{code}
Please change the name of htrace to 'HBase - Trace' so that it aligns with 
other module names.

Looks like you forgot to include a file in the patch:
{code}
Running org.apache.hadoop.hbase.htrace.TestHTrace
Error constructing LocalFileSpanReceiver: test/htrace-test-output-spans.txt (No 
such file or directory)
{code}
                
> Dapper like tracing
> -------------------
>
>                 Key: HBASE-6449
>                 URL: https://issues.apache.org/jira/browse/HBASE-6449
>             Project: HBase
>          Issue Type: New Feature
>          Components: client, ipc
>    Affects Versions: 0.96.0
>            Reporter: Jonathan Leavitt
>              Labels: tracing
>         Attachments: htrace1.diff, trace.png
>
>
> Add [Dapper|http://research.google.com/pubs/pub36356.html] like tracing to 
> HBase. [Accumulo|http://accumulo.apache.org] added something similar with 
> their cloudtrace package. 

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