Package cloudtrace.instrument

Examples of cloudtrace.instrument.Span.data()


      try {
        MajorCompactionStats mcs = compactFiles(conf, fs, smallestFiles, filesToCompact.size() == 0 ? propogateDeletes : true, // always propagate
                                                                                                                               // deletes,
                                                                                                                               // unless last batch
            extent, compactTmpName);
        span.data("files", "" + smallestFiles.size());
        span.data("read", "" + mcs.entriesRead);
        span.data("written", "" + mcs.entriesWritten);
        majCStats.add(mcs);
       
        long size = FileOperations.getInstance().getFileSize(compactTmpName, fs, conf,
View Full Code Here


        MajorCompactionStats mcs = compactFiles(conf, fs, smallestFiles, filesToCompact.size() == 0 ? propogateDeletes : true, // always propagate
                                                                                                                               // deletes,
                                                                                                                               // unless last batch
            extent, compactTmpName);
        span.data("files", "" + smallestFiles.size());
        span.data("read", "" + mcs.entriesRead);
        span.data("written", "" + mcs.entriesWritten);
        majCStats.add(mcs);
       
        long size = FileOperations.getInstance().getFileSize(compactTmpName, fs, conf,
            AccumuloConfiguration.getTableConfiguration(HdfsZooInstance.getInstance().getInstanceID(), extent.getTableId().toString()));
View Full Code Here

                                                                                                                               // deletes,
                                                                                                                               // unless last batch
            extent, compactTmpName);
        span.data("files", "" + smallestFiles.size());
        span.data("read", "" + mcs.entriesRead);
        span.data("written", "" + mcs.entriesWritten);
        majCStats.add(mcs);
       
        long size = FileOperations.getInstance().getFileSize(compactTmpName, fs, conf,
            AccumuloConfiguration.getTableConfiguration(HdfsZooInstance.getInstance().getInstanceID(), extent.getTableId().toString()));
       
View Full Code Here

      synchronized (this) {
        majorCompactionInProgress = false;
        this.notifyAll();
      }
      Span curr = Trace.currentTrace();
      curr.data("extent", "" + getExtent());
      curr.data("read", "" + majCStats.entriesRead);
      curr.data("written", "" + majCStats.entriesWritten);
      span.stop();
    }
   
View Full Code Here

        majorCompactionInProgress = false;
        this.notifyAll();
      }
      Span curr = Trace.currentTrace();
      curr.data("extent", "" + getExtent());
      curr.data("read", "" + majCStats.entriesRead);
      curr.data("written", "" + majCStats.entriesWritten);
      span.stop();
    }
   
    return majCStats;
View Full Code Here

        this.notifyAll();
      }
      Span curr = Trace.currentTrace();
      curr.data("extent", "" + getExtent());
      curr.data("read", "" + majCStats.entriesRead);
      curr.data("written", "" + majCStats.entriesWritten);
      span.stop();
    }
   
    return majCStats;
  }
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) {
          log.debug("Scan failed, security exception : " + e.getMessage() + " " + loc);
          throw e;
View Full Code Here

      try {
        MajorCompactionStats mcs = compactFiles(conf, fs, smallestFiles, filesToCompact.size() == 0 ? propogateDeletes : true, // always propagate
                                                                                                                               // deletes,
                                                                                                                               // unless last batch
            extent, compactTmpName);
        span.data("files", "" + smallestFiles.size());
        span.data("read", "" + mcs.entriesRead);
        span.data("written", "" + mcs.entriesWritten);
        majCStats.add(mcs);
       
        long size = FileOperations.getInstance().getFileSize(compactTmpName, fs, conf,
View Full Code Here

        MajorCompactionStats mcs = compactFiles(conf, fs, smallestFiles, filesToCompact.size() == 0 ? propogateDeletes : true, // always propagate
                                                                                                                               // deletes,
                                                                                                                               // unless last batch
            extent, compactTmpName);
        span.data("files", "" + smallestFiles.size());
        span.data("read", "" + mcs.entriesRead);
        span.data("written", "" + mcs.entriesWritten);
        majCStats.add(mcs);
       
        long size = FileOperations.getInstance().getFileSize(compactTmpName, fs, conf,
            AccumuloConfiguration.getTableConfiguration(HdfsZooInstance.getInstance().getInstanceID(), extent.getTableId().toString()));
View Full Code Here

                                                                                                                               // deletes,
                                                                                                                               // unless last batch
            extent, compactTmpName);
        span.data("files", "" + smallestFiles.size());
        span.data("read", "" + mcs.entriesRead);
        span.data("written", "" + mcs.entriesWritten);
        majCStats.add(mcs);
       
        long size = FileOperations.getInstance().getFileSize(compactTmpName, fs, conf,
            AccumuloConfiguration.getTableConfiguration(HdfsZooInstance.getInstance().getInstanceID(), extent.getTableId().toString()));
       
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.