Examples of Status


Examples of org.apache.hadoop.hbase.regionserver.SplitLogWorker.TaskExecutor.Status

  @Override
  public void process() throws IOException {
    long startTime = System.currentTimeMillis();
    try {
      Status status = this.splitTaskExecutor.exec(splitTaskDetails.getWALFile(), mode, reporter);
      switch (status) {
      case DONE:
        coordination.endTask(new SplitLogTask.Done(this.serverName,this.mode),
          SplitLogCounters.tot_wkr_task_done, splitTaskDetails);
        break;
View Full Code Here

Examples of org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.Status

              ackRecvNanoTime = System.nanoTime();
              if (LOG.isDebugEnabled()) {
                LOG.debug(myString + " got " + ack);
              }
              // Process an OOB ACK.
              Status oobStatus = ack.getOOBStatus();
              if (oobStatus != null) {
                LOG.info("Relaying an out of band ack of type " + oobStatus);
                sendAckUpstream(ack, PipelineAck.UNKOWN_SEQNO, 0L, 0L,
                    Status.SUCCESS);
                continue;
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.startupprogress.Status

      fout.println("<th>Completion</th>");
      fout.println("<th>Elapsed Time</th>");
      fout.println("</tr>");
      for (Phase phase: view.getPhases()) {
        final String timeClass;
        Status status = view.getStatus(phase);
        if (status == Status.PENDING) {
          timeClass = "later";
        } else if (status == Status.RUNNING) {
          timeClass = "current";
        } else {
View Full Code Here

Examples of org.apache.ivy.core.module.status.Status

        assertNeed("latest.milestone", true);
        assertNeed("latest.integration", false);
    }

    public void testNeedModuleDescriptorCustomStatus() throws Exception {
        StatusManager.getCurrent().addStatus(new Status("release", false));
        StatusManager.getCurrent().addStatus(new Status("snapshot", true));

        assertNeed("latest.release", true);
        assertNeed("latest.snapshot", false);
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.api.Tree.Status

        return parent == null;
    }

    @Override
    public Status getStatus() throws InvalidItemStateException {
        Status propertyStatus = getParentTree().getPropertyStatus(getName());
        if (propertyStatus == null) {
            throw new InvalidItemStateException("Property is stale");
        }

        return propertyStatus;
View Full Code Here

Examples of org.apache.jackrabbit.oak.management.ManagementOperation.Status

        }).toCompositeData();
    }

    @Override
    public String checkpoint(final long lifetime) {
        Status status = execute(FileStoreBackupRestoreMBean.class, new Function<FileStoreBackupRestoreMBean, Status>() {
            @Nonnull
            @Override
            public Status apply(FileStoreBackupRestoreMBean backupService) {
                String checkpoint = backupService.checkpoint(lifetime);
                return succeeded(checkpoint);
            }
        });

        return status.isSuccess()
            ? status.getMessage()
            : null;
    }
View Full Code Here

Examples of org.apache.jackrabbit.vault.vlt.actions.Status

        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        vCtx.setQuiet(cl.hasOption(optOnlyControlled));
        Action a = cl.hasOption(optShowUpdate)
                ? new RemoteStatus(localDir, localFiles, cl.hasOption(optNonRecursive))
                : new Status(localDir, localFiles, cl.hasOption(optNonRecursive));
        vCtx.execute(a);
    }
View Full Code Here

Examples of org.apache.jmeter.monitor.model.Status

        if (sample instanceof HTTPSampleResult) {
            surl = ((HTTPSampleResult) sample).getURL();
            // String rescontent = new String(sample.getResponseData());
            if (sample.isResponseCodeOK() && ((HTTPSampleResult) sample).isMonitor()) {
                ObjectFactory of = ObjectFactory.getInstance();
                Status st = of.parseBytes(sample.getResponseData());
                st.setConnectorPrefix(connectorPrefix);
                if (surl != null) {// surl can be null if read from a file
                    MonitorStats stat = new MonitorStats(Stats.calculateStatus(st), Stats.calculateLoad(st), 0, Stats
                            .calculateMemoryLoad(st), Stats.calculateThreadLoad(st), surl.getHost(), String.valueOf(surl
                            .getPort()), surl.getProtocol(), System.currentTimeMillis());
                    MonitorModel mo = new MonitorModel(stat);
View Full Code Here

Examples of org.apache.lucene.index.CheckIndex.Status

      out.println( "directory : " + directory.toString() );
      out.println( "" );

      CheckIndex checkIndex = new CheckIndex( directory );
      checkIndex.setInfoStream( out );
      Status status;
      try {
        status = checkIndex.checkIndex();
      }
      catch (IOException e) {
        throw new RuntimeException( e );
View Full Code Here

Examples of org.apache.mesos.Protos.Status

      taskIds.add(task.getTaskId());
      toLaunch.add(task.getMesosTask());
      LOG.trace("Launching {} mesos task: {}", task.getTaskId(), task.getMesosTask());
    }

    Status initialStatus = driver.launchTasks(ImmutableList.of(offer.getId()), toLaunch);

    LOG.info("{} tasks ({}) launched with status {}", taskIds.size(), taskIds, initialStatus);
  }
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.