@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @Table("eaglejpa") @ColumnFamily("f") @Prefix("jevent") @Service(Constants.MR_JOB_EVENT_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) public class JobEventAPIEntity extends JobBaseAPIEntity { @Column("a") private String eventType; public String getEventType() { return eventType; } public void setEventType(String eventType) { this.eventType = eventType; pcs.firePropertyChange("eventType", null, null); } }
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @Table("eaglejpa_process") @ColumnFamily("f") @Prefix("process") @Service(Constants.MR_JOB_PROCESS_TIME_STAMP_NAME) @TimeSeries(true) @Partition({"site"}) public class JobProcessTimeStampEntity extends TaggedLogAPIEntity { @Column("a") private long currentTimeStamp; public long getCurrentTimeStamp() { return currentTimeStamp; } public void setCurrentTimeStamp(long currentTimeStamp) { this.currentTimeStamp = currentTimeStamp; pcs.firePropertyChange("currentTimeStamp", null, null); } }
@Service(Constants.MR_JOB_COUNT_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) public class JobCountEntity extends TaggedLogAPIEntity { @Column("a")
@Service(Constants.MR_TASK_ATTEMPT_COUNTER_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) public class TaskAttemptCounterAPIEntity extends JobBaseAPIEntity { @Column("a")
@Service(Constants.MR_TASK_FAILURE_COUNT_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) public class TaskFailureCountAPIEntity extends JobBaseAPIEntity { @Column("a")
@Service(Constants.MR_TASK_ATTEMPT_ERROR_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = false),
@Service(Constants.MR_JOB_ERROR_MAPPING_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = false),
@Service(MR_JOB_OPTIMIZER_SUGGESTION_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = true),
@Service(ACCEPTED_APP_SERVICE_NAME) @TimeSeries(true) @Partition( {"site"}) @Tags({"site","id","user","queue"}) public class YarnAppAPIEntity extends TaggedLogAPIEntity {
@Service(HadoopClusterConstants.QUEUE_MAPPING_SERVICE_NAME) @TimeSeries(false) @Partition( {"site"}) @Tags({HadoopClusterConstants.TAG_SITE, HadoopClusterConstants.TAG_QUEUE, HadoopClusterConstants.TAG_PARENT_QUEUE}) public class QueueStructureAPIEntity extends TaggedLogAPIEntity {
@Service(Constants.MR_JOB_CONFIG_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = true),
@Service(Constants.MR_TASK_EXECUTION_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = false)
@Service(ACCEPTED_APP_SERVICE_NAME) @TimeSeries(true) @Partition( {"site"}) @Tags({"site","id","user","queue"}) public class YarnAppAPIEntity extends TaggedLogAPIEntity {
@Service(Constants.MR_RUNNING_TASK_EXECUTION_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = false)
@Service(Constants.MR_TASK_ATTEMPT_EXECUTION_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = false),
@TimeSeries(true) @Tags({"site","sprkAppId", "sprkAppAttemptId", "sprkAppName", "normSprkAppName", "jobId","user", "queue"}) @Partition({"site"}) public class SparkJob extends TaggedLogAPIEntity {
@Service(HadoopClusterConstants.RUNNING_QUEUE_SERVICE_NAME) @TimeSeries(true) @Partition( {"site"}) @Tags({HadoopClusterConstants.TAG_SITE, HadoopClusterConstants.TAG_QUEUE, HadoopClusterConstants.TAG_PARENT_QUEUE}) public class RunningQueueAPIEntity extends TaggedLogAPIEntity {
@TimeSeries(true) @Tags({"site","sparkAppId", "sparkAppAttemptId", "sparkAppName", "jobId","user", "queue"}) @Partition({"site"}) public class SparkJobEntity extends TaggedLogAPIEntity { @Column("a")
@Service(MR_JOB_RPC_ANALYSIS_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = true),
@Service(Constants.MR_RUNNING_TASK_ATTEMPT_EXECUTION_SERVICE_NAME) @TimeSeries(true) @Partition({"site"}) @Indexes({ @Index(name = "Index_1_jobId", columns = { "jobId" }, unique = false)