Collections.sort(acl, (o1, o2) -> (int) (o2.getAge() - o1.getAge())); String output = ac.getOutputFile(); int index = output.indexOf("tables"); if (index > 0) { ac.getIterators(); for (IteratorSetting is : ac.getIterators()) { iterList.add(is.getName() + "=" + is.getPriority() + "," + is.getIteratorClass()); iterOpts.put(is.getName(), is.getOptions()); Duration.format(ac.getAge(), "", "-"), ac.getType(), ac.getReason(), shortenCount(ac.getEntriesRead()), shortenCount(ac.getEntriesWritten()), ac.getTable(), ac.getTablet(), ac.getInputFiles().size(), output, iterList, iterOpts));
String output = ac.getOutputFile(); int index = output.indexOf("tables"); if (index > 0) { ac.getIterators(); for (IteratorSetting is : ac.getIterators()) { iterList.add(is.getName() + "=" + is.getPriority() + "," + is.getIteratorClass()); iterOpts.put(is.getName(), is.getOptions()); Duration.format(ac.getAge(), "", "-"), ac.getType(), ac.getReason(), shortenCount(ac.getEntriesRead()), shortenCount(ac.getEntriesWritten()), ac.getTable(), ac.getTablet(), ac.getInputFiles().size(), output, iterList, iterOpts));
new org.apache.accumulo.proxy.thrift.ActiveCompaction(); pcomp.age = comp.getAge(); pcomp.entriesRead = comp.getEntriesRead(); pcomp.entriesWritten = comp.getEntriesWritten(); TabletId e = comp.getTablet(); pcomp.extent = new org.apache.accumulo.proxy.thrift.KeyExtent(e.getTableId().toString(), TextUtil.getByteBuffer(e.getEndRow()), TextUtil.getByteBuffer(e.getPrevEndRow())); pcomp.inputFiles = new ArrayList<>(); if (comp.getInputFiles() != null) { pcomp.inputFiles.addAll(comp.getInputFiles()); pcomp.localityGroup = comp.getLocalityGroup(); pcomp.outputFile = comp.getOutputFile(); pcomp.reason = CompactionReason.valueOf(comp.getReason().toString()); pcomp.type = CompactionType.valueOf(comp.getType().toString()); if (comp.getIterators() != null) { for (IteratorSetting setting : comp.getIterators()) {