Package org.apache.accumulo.server.problems

Examples of org.apache.accumulo.server.problems.ProblemReport


   
    @Override
    public String format(Object obj) {
      if (obj == null)
        return "-";
      ProblemReport p = (ProblemReport) obj;
      return String.format("<a href='/op?table=%s&action=clearProblem&redir=%s&resource=%s&ptype=%s'>clear this problem</a>", p.getTableName(),
          currentPage(req), encode(p.getResource()), encode(p.getProblemType().name()));
    }
View Full Code Here


            AccumuloConfiguration.getTableConfiguration(HdfsZooInstance.getInstance().getInstanceID(), table.toString()), dataCache, indexCache);
        reservedFiles.add(reader);
        readersReserved.put(reader, file);
      } catch (Exception e) {
       
        ProblemReports.getInstance().report(new ProblemReport(table.toString(), ProblemType.FILE_READ, file, e));
       
        if (continueOnFailure) {
          // release the permit for the file that failed to open
          filePermits.release(1);
          log.warn("Failed to open file " + file + " " + e.getMessage() + " continuing...");
View Full Code Here

          log.error("Consistency check fails, retrying " + t);
          UtilWaitThread.sleep(500);
        }
      }
      if (err != null) {
        ProblemReports.getInstance().report(new ProblemReport(extent.getTableId().toString(), ProblemType.TABLET_LOAD, this.extent.toString(), err));
        log.error("Tablet closed consistency check has failed for " + this.extent + " giving up and closing");
      }
    }
   
    try {
View Full Code Here

TOP

Related Classes of org.apache.accumulo.server.problems.ProblemReport

Copyright © 2018 www.massapicom. 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.