Package com.linkedin.whiteelephant.analysis

Examples of com.linkedin.whiteelephant.analysis.AttemptStatsKey


              System.out.println("Either startTime or finishTime is not positive");
              context.getCounter("Job Analysis", "Not positive start or finish").increment(1);
              continue;
            }

            AttemptStatsKey statsKey = new AttemptStatsKey();
            statsKey.setCluster(clusterName);
            statsKey.setExcess(((com.linkedin.whiteelephant.parsing.DerivedAttemptData)attempt.getDerived()).getExcess());
            statsKey.setStatus(TaskStatus.valueOf(attempt.getTaskStatus().toString()));
            statsKey.setType(TaskType.valueOf(attempt.getType().toString().toUpperCase()));
            statsKey.setUser(job.getUser());
           
            writeStats(statsKey, attempt, context);
          }
        }
      }       
View Full Code Here

TOP

Related Classes of com.linkedin.whiteelephant.analysis.AttemptStatsKey

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.