Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metastor/managedObjectLoader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<artifactId>metastore</artifactId>
<groupId>org.finra.herd-mdl.metastore</groupId>
<version>1.2.65</version>
<version>1.2.66</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ public void sendFailureEmail( JobDefinition od, int numRetry, String errorLog, S
sendNotificationEmail( getMessageBody( od, errorLog, clusterID ), subject, od );
}

public void sendFailureEmail( JobDefinition od, int numRetry, String errorLog, String subject ,String clusterID) {
String sub = String.format(subject+" %d Retries", numRetry );
sendNotificationEmail( getMessageBody( od, errorLog, clusterID ), sub, od );
}


protected String getAction( JobDefinition od ) {
String action = "Add Partition";
if ( od.getWfType() == ObjectProcessor.WF_TYPE_MANAGED_STATS ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,13 @@ public void executeFormatChange(JobDefinition jobDefinition, FormatChange format

if (runProcess(jobDefinition, rootPartitionList) && isPartitionCountCorrect(jobDefinition)) {
this.isComplete = formatUtil.renameExisitingTable(jobDefinition, clusterId, workerId,Lists.newArrayList());
if (this.isComplete) {
rootPartitionList.forEach(
partitionList ->
statsHelper.addAnalyzeStats(jobDefinition, partitionList)
);
}
// We are disabling collecting stats temporarily
// if (this.isComplete) {
// rootPartitionList.forEach(
// partitionList ->
// statsHelper.addAnalyzeStats(jobDefinition, partitionList)
// );
// }

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ private String getHqlFilePath(JobDefinition jd, List<String> partitions, boolean
addPartitionChanges(tableExists, jd, dataDdl, schemaHql);

//Stats
statsHelper.addAnalyzeStats(jd, partitions);
// Disabling for now
// statsHelper.addAnalyzeStats(jd, partitions);

// Create file
Path hqlFilePath = createHqlFile(jd);
Expand Down
2 changes: 1 addition & 1 deletion metastor/metastoreOperations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>metastore</artifactId>
<groupId>org.finra.herd-mdl.metastore</groupId>
<version>1.2.65</version>
<version>1.2.66</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion metastor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<artifactId>metastore</artifactId>
<groupId>org.finra.herd-mdl.metastore</groupId>
<version>1.2.65</version>
<version>1.2.66</version>

<packaging>pom</packaging>

Expand Down