Package org.cloudera.htrace

Examples of org.cloudera.htrace.TraceInfo


          msg + "; " + t.getMessage());
        responder.doRespond(readParamsFailedCall);
        return;
      }

      TraceInfo traceInfo = header.hasTraceInfo()
          ? new TraceInfo(header.getTraceInfo().getTraceId(), header.getTraceInfo().getParentId())
          : null;
      Call call = new Call(id, this.service, md, header, param, cellScanner, this, responder,
              totalRequestSize,
              traceInfo);
      scheduler.dispatch(new CallRunner(RpcServer.this, call, userProvider));
View Full Code Here


          msg + "; " + t.getMessage());
        responder.doRespond(readParamsFailedCall);
        return;
      }

      TraceInfo traceInfo = header.hasTraceInfo()
          ? new TraceInfo(header.getTraceInfo().getTraceId(), header.getTraceInfo().getParentId())
          : null;
      Call call = new Call(id, this.service, md, header, param, cellScanner, this, responder,
              totalRequestSize,
              traceInfo);
      scheduler.dispatch(new CallRunner(RpcServer.this, call, userProvider));
View Full Code Here

        if (spanid == null) {
            LOG.error("TraceID set to " + Bytes.toLong(traceid) + ", but span id was not set!");
            return NullSpan.INSTANCE;
        }
        Sampler<?> sampler = SERVER_TRACE_LEVEL;
        TraceInfo parent = new TraceInfo(Bytes.toLong(traceid), Bytes.toLong(spanid));
        return Trace.startSpan(START_SPAN_MESSAGE + ": " + description,
            (Sampler<TraceInfo>) sampler, parent).getSpan();
    }
View Full Code Here

TOP

Related Classes of org.cloudera.htrace.TraceInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.