phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3193) Tracing UI cleanup - final tasks before GSoC pull request
Date Mon, 29 Aug 2016 12:22:20 GMT


ASF GitHub Bot commented on PHOENIX-3193:

Github user chrajeshbabu commented on the issue:
    Here are couple of issues found one while starting traceserver and one while getting the
results in UI.
    Currently the eclipse jetty version used is 8.1.7.v20120910
    From main pom.xml
    `Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/FilterRegistration
            at org.eclipse.jetty.servlet.ServletContextHandler.<init>(
            at org.eclipse.jetty.servlet.ServletContextHandler.<init>(
            at org.eclipse.jetty.servlet.ServletContextHandler.<init>(
            at org.eclipse.jetty.webapp.WebAppContext.<init>(
            at org.apache.phoenix.tracingwebapp.http.Main.main(
    Caused by: java.lang.ClassNotFoundException: javax.servlet.FilterRegistration
            at Method)
            at java.lang.ClassLoader.loadClass(
            at sun.misc.Launcher$AppClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            ... 7 more
    When I changed the jetty version to 7.6.19.v20160209 it's working fine? Aren't you facing
    Once I do that again getting below exception and not able to read anything from trace
    `104933 [qtp1157440841-20] WARN org.eclipse.jetty.servlet.ServletHandler  - Error for
    java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
            at org.apache.phoenix.tracingwebapp.http.TraceServlet.getResults(
            at org.apache.phoenix.tracingwebapp.http.TraceServlet.searchTrace(
            at org.apache.phoenix.tracingwebapp.http.TraceServlet.doGet(
            at javax.servlet.http.HttpServlet.service(
            at javax.servlet.http.HttpServlet.service(
            at org.eclipse.jetty.servlet.ServletHolder.handle(
            at org.eclipse.jetty.servlet.ServletHandler.doHandle(
            at org.eclipse.jetty.server.handler.ScopedHandler.handle(
            at org.eclipse.jetty.server.session.SessionHandler.doHandle(
            at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
            at org.eclipse.jetty.servlet.ServletHandler.doScope(
            at org.eclipse.jetty.server.session.SessionHandler.doScope(
            at org.eclipse.jetty.server.handler.ContextHandler.doScope(
            at org.eclipse.jetty.server.handler.ScopedHandler.handle(
            at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
            at org.eclipse.jetty.server.Server.handle(
            at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(
            at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(
            at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(
            at org.eclipse.jetty.http.HttpParser.parseNext(
            at org.eclipse.jetty.http.HttpParser.parseAvailable(
            at org.eclipse.jetty.server.AsyncHttpConnection.handle(
            at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
            at org.eclipse.jetty.util.thread.QueuedThreadPool$
    Caused by: java.lang.ClassNotFoundException:
            at Method)
            at java.lang.ClassLoader.loadClass(
            at sun.misc.Launcher$AppClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            ... 28 more
    Can we use the ObjectMapper from org.apache.htrace.fasterxml.jackson.databind for the
same purpose? org.apache.htrace.fasterxml.jackson.databind.ObjectMapper available with HTrace
library included in Phoenix client jar. Otherwise getting above CNFE. It would be better to
fix these as well. WDYT?

> Tracing UI cleanup - final tasks before GSoC pull request
> ---------------------------------------------------------
>                 Key: PHOENIX-3193
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Mujtaba Chohan
>            Assignee: Nishani 
> Points from GSoC presentation on tracing imporvements:
> *Tracing UI*
> * Remove line chart 
> * In list page, run query with description, start_time, (end_time-start_time) duration
from T where trace_id = ?
> * More space for descriptions on bar chart. Wrap if necessary
> * Label for X axis on timeline sometime again start from 0, if X axis is in seconds then
it should not rollover after 60 seconds unless minutes are also shown
> * X-axis labeled as Node on various charts, but should be Percentage
> *Zipkin*
> * Flip zipkin chart on vertical axis with arrows going other way. So start from the top
level root on the leftmost side and work toward children on the right.
> * Ask zipkin community if there's a way to tell it that date/time is in milliseconds.
> *Overall*
> * Please put together a pull request to the phoenix project to add the zipkiin work you've
done to the OS project. Ideally, include the zipkin work in the phoenix-tracing module and
call it phoeix-tracing. Only if there is some major hurdle, create a new module.
> * Test with trace_ids that have multiple spans with duration (end_time - start_time)
> 5 ms and verify that UI and Zipkin output shows the correct corresponding timeline

This message was sent by Atlassian JIRA

View raw message