/** * Instantiates a new SparkMLongAccumulator * * @param name the name of the accumulator */ public SparkMLongAccumulator(String name) { super(new LongAccumulator()); this.name = name; }
Set<String> fileIdsWithPendingCompactions) throws IOException { totalLogFiles = new LongAccumulator(); totalFileSlices = new LongAccumulator(); jsc.sc().register(totalLogFiles); jsc.sc().register(totalFileSlices);
Set<String> fileIdsWithPendingCompactions) throws IOException { totalLogFiles = new LongAccumulator(); totalFileSlices = new LongAccumulator(); jsc.sc().register(totalLogFiles); jsc.sc().register(totalFileSlices);