Thanks for detailed instruction. I am able to see traces in zipkin ui.
However, I am not sure if I am interpreting the results correctly. I run a
get query and a scan query using hbase shell which run 0.02 and 40 sec
respectively.
As can be seen in the images attached, zipkin shows the repeated e
Hi Abhishek,
hbase-0.98.5 is built against htrace-2.04.
Because htrace-2.04 is not compatible with 3.0.4,
you shold use htrace htrace-2.04 in this case.
The configuration property is slightly different for htrace-2.04.
(not org.htrace.impl but org.cloudera.htrace.impl)::
hbase.trace.span
Hi Abhishek,
I am sorry to be late to respond.
Thanks for reporting this.
> However, I am not able to compile htrace-hbase which has the zipkin viewer.
> Is there any other way to see the zipkin traces?
You need to download Zipkin from https://github.com/twitter/zipkin
and run its services if y
Thanks for letting me know that it compiles for 0.98.6-hadoop2. However, It
does not compile for 0.98.5-hadoop1 version.
First of all, HttpServer2 class is missing. While I added hadoop-common
2.4.0 which contain this class, I saw another error:
[ERROR]
/home/hadoop/git/htrace/htrace-hbase/src/ma
With the following change, I was able to build from the root of htrace
workspace:
diff --git a/htrace-hbase/pom.xml b/htrace-hbase/pom.xml
index f9f81c9..74fb4e6 100644
--- a/htrace-hbase/pom.xml
+++ b/htrace-hbase/pom.xml
@@ -30,7 +30,7 @@ language governing permissions and limitations under the
I tried with 0.98.5 as you suggested, but htrace-hbase does not compile. Is
it possible that it is developed for 2.0.0-SNAPSHOT version? My suspicion is
based on the HttpServer2 missing error. I could not find this class in any
0.98.5 jar.
ERROR] Failed to execute goal
org.apache.maven.plugins:mav
Here is the cause:
Type 'org/apache/hadoop/hbase/trace/HBaseHTraceConfiguration' (current
frame, stack[1]) is not assignable to 'org/htrace/HTraceConfiguration'
Can you try changing the dependency in htrace-hbase/pom.xml to 0.98.5 :
2.0.0-SNAPSHOT
Build hbase 0.98.5 locally by using its so
Thanks Ted.
Earlier I was not running "mvn install -DskipTests" command under hbase
workspace as I am using the 0.98.5 binaries and there is no pom.xml in that
directory.
So, I cloned the hbase and then run the above command in hbase directory,
and then run "mvn package -DskipTests" command unde
This is what I did:
under hbase workspace, run:
mvn install -DskipTests
under htrace/htrace-core :
mvn install -DskipTests
under htrace/htrace-hbase :
mvn package -DskipTests
I got:
ls target/
apidocs generated-test-sources htrace-hbase-3.0.4-tests.jar maven-archiver
classes htrace-hbase-3.0.4
Thanks Ted.
I excluded slf4j from thrift as you suggested and then I had to also add
slf4j 1.6.4 as dependency to avoid package org.slf4j missing error.
I also required to compile htrace-core and add htrace-core-3.0.4.jar, which
is not documented in http://hbase.apache.org/book/tracing.html
I
Hit Send too soon.
>From htrace-zipkin/pom.xml :
org.apache.thrift
libthrift
0.9.0
Exclusion should be added in above dependency.
Cheers
On Tue, Oct 7, 2014 at 3:19 PM, Ted Yu wrote:
> Dependency on slf4j 1.5.8 comes from:
>
> [INFO] +- org.htrace:htrace-core:jar:
Dependency on slf4j 1.5.8 comes from:
[INFO] +- org.htrace:htrace-core:jar:3.0.4:provided
...
[INFO] +- org.apache.thrift:libthrift:jar:0.9.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.5.8:compile
You can add an exclusion rule for htrace-core dependency so that transitive
dependency on slf4j
Adding Masatake who has intimate knowledge on this subject.
On Tue, Oct 7, 2014 at 12:37 PM, abhishek1015
wrote:
> Also, I see following error in region server:
>
> ava.lang.RuntimeException: Failed construction of Regionserver: class
> org.apache.hadoop.hbase.regionserver.HRegionServer
>
Also, I see following error in region server:
ava.lang.RuntimeException: Failed construction of Regionserver: class
org.apache.hadoop.hbase.regionserver.HRegionServer
at
org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2407)
at
org.apache.
14 matches
Mail list logo