Package org.apache.accumulo.trace.instrument

Examples of org.apache.accumulo.trace.instrument.Span.data()


          majorCompactionInProgress = false;
          this.notifyAll();
        }

        Span curr = Trace.currentTrace();
        curr.data("extent", "" + getExtent());
        if (majCStats != null) {
          curr.data("read", "" + majCStats.getEntriesRead());
          curr.data("written", "" + majCStats.getEntriesWritten());
        }
      }
View Full Code Here


        }

        Span curr = Trace.currentTrace();
        curr.data("extent", "" + getExtent());
        if (majCStats != null) {
          curr.data("read", "" + majCStats.getEntriesRead());
          curr.data("written", "" + majCStats.getEntriesWritten());
        }
      }
    } finally {
      span.stop();
View Full Code Here

        Span curr = Trace.currentTrace();
        curr.data("extent", "" + getExtent());
        if (majCStats != null) {
          curr.data("read", "" + majCStats.getEntriesRead());
          curr.data("written", "" + majCStats.getEntriesWritten());
        }
      }
    } finally {
      span.stop();
    }
View Full Code Here

            locateSpan.stop();
          }
        }
       
        Span scanLocation = Trace.start("scan:location");
        scanLocation.data("tserver", loc.tablet_location);
        try {
          results = scan(loc, scanState, conf);
        } catch (AccumuloSecurityException e) {
          Tables.clearCache(instance);
          if (!Tables.exists(instance, scanState.tableId.toString()))
View Full Code Here

            locateSpan.stop();
          }
        }
       
        Span scanLocation = Trace.start("scan:location");
        scanLocation.data("tserver", loc.tablet_location);
        try {
          results = scan(loc, scanState, conf);
        } catch (AccumuloSecurityException e) {
          Tables.clearCache(instance);
          if (!Tables.exists(instance, scanState.tableName.toString()))
View Full Code Here

          Compactor compactor = new Compactor(conf, fs, copy, null, compactTmpName, filesToCompact.size() == 0 ? propogateDeletes : true, acuTableConf, extent,
              cenv, compactionIterators, reason);
         
          CompactionStats mcs = compactor.call();
         
          span.data("files", "" + smallestFiles.size());
          span.data("read", "" + mcs.getEntriesRead());
          span.data("written", "" + mcs.getEntriesWritten());
          majCStats.add(mcs);
         
          datafileManager.bringMajorCompactionOnline(smallestFiles, compactTmpName, fileName,
View Full Code Here

              cenv, compactionIterators, reason);
         
          CompactionStats mcs = compactor.call();
         
          span.data("files", "" + smallestFiles.size());
          span.data("read", "" + mcs.getEntriesRead());
          span.data("written", "" + mcs.getEntriesWritten());
          majCStats.add(mcs);
         
          datafileManager.bringMajorCompactionOnline(smallestFiles, compactTmpName, fileName,
              filesToCompact.size() == 0 && compactionId != null ? compactionId.getFirst() : null,
View Full Code Here

         
          CompactionStats mcs = compactor.call();
         
          span.data("files", "" + smallestFiles.size());
          span.data("read", "" + mcs.getEntriesRead());
          span.data("written", "" + mcs.getEntriesWritten());
          majCStats.add(mcs);
         
          datafileManager.bringMajorCompactionOnline(smallestFiles, compactTmpName, fileName,
              filesToCompact.size() == 0 && compactionId != null ? compactionId.getFirst() : null,
              new DataFileValue(mcs.getFileSize(), mcs.getEntriesWritten()));
View Full Code Here

        majorCompactionInProgress = false;
        this.notifyAll();
      }
     
      Span curr = Trace.currentTrace();
      curr.data("extent", "" + getExtent());
      if (majCStats != null) {
        curr.data("read", "" + majCStats.getEntriesRead());
        curr.data("written", "" + majCStats.getEntriesWritten());
      }
      span.stop();
View Full Code Here

      }
     
      Span curr = Trace.currentTrace();
      curr.data("extent", "" + getExtent());
      if (majCStats != null) {
        curr.data("read", "" + majCStats.getEntriesRead());
        curr.data("written", "" + majCStats.getEntriesWritten());
      }
      span.stop();
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.