Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
issue #35 : reduce metastore locking
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasters committed Mar 5, 2021
1 parent d0e8fe1 commit 3afc619
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.pentaho</groupId>
<artifactId>pentaho-ce-jar-parent-pom</artifactId>
<version>8.1-SNAPSHOT</version>
<version>8.2.0.7-719</version>
</parent>
<artifactId>kettle-environment</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -19,7 +19,7 @@
</license>
</licenses>
<properties>
<pentaho-kettle.version>8.1-SNAPSHOT</pentaho-kettle.version>
<pentaho-kettle.version>8.2.0.7-719</pentaho-kettle.version>
<mockito-all.version>1.9.5</mockito-all.version>
<junit.version>4.4</junit.version>
<jackson-version>2.10.0</jackson-version>
Expand Down Expand Up @@ -143,5 +143,5 @@
</dependencyManagement>

<groupId>kettle-environment</groupId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.2-SNAPSHOT</version>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ public class JobStartCheckEnvironmentExtensionPoint implements ExtensionPointInt

Job job = (Job) object;

// Only check for top level jobs
if (job.getParentTrans()!=null) {
return;
}
if (job.getParentJob()!=null) {
return;
}

String jobFilename = job.getFilename();

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ public class TransStartCheckEnvironmentExtensionPoint implements ExtensionPointI

Trans trans = (Trans) object;

// Only check for top level transformations
if (trans.getParentTrans()!=null) {
return;
}
if (trans.getParentJob()!=null) {
return;
}

String transFilename = trans.getFilename();

try {
Expand Down

0 comments on commit 3afc619

Please sign in to comment.