Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable expansion service cache #32751

Merged
merged 2 commits into from
Oct 11, 2024
Merged
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
4 changes: 4 additions & 0 deletions sdks/java/expansion-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ task runExpansionService (type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
args = [project.findProperty("constructionService.port") ?: "8097"]
}

compileJava {
outputs.upToDateWhen { false }
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static class ExternalTransformRegistrarLoader
public Map<String, TransformProvider> knownTransforms() {
Map<String, TransformProvider> providers = new HashMap<>();

// First check and register ExternalTransformBuilder in serviceloader style, converting
// First check and register ExternalTransformBuilder in ServiceLoader style, converting
// to TransformProvider after validation.
Map<String, ExternalTransformBuilder> registeredBuilders = loadTransformBuilders();
for (Map.Entry<String, ExternalTransformBuilder> registeredBuilder :
Expand Down
4 changes: 4 additions & 0 deletions sdks/java/extensions/sql/expansion-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ task runExpansionService (type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
args = [project.findProperty("constructionService.port") ?: "8097"]
}

shadowJar {
outputs.upToDateWhen { false }
}
1 change: 1 addition & 0 deletions sdks/java/io/expansion-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ configurations.runtimeClasspath {

shadowJar {
mergeServiceFiles()
outputs.upToDateWhen { false }
}

description = "Apache Beam :: SDKs :: Java :: IO :: Expansion Service"
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/apache_beam/io/filesystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@ def get_chunk_size(path):
@staticmethod
def report_source_lineage(path, level=None):
"""
Report source :class:`~apache_beam.metrics.metric.Lineage`.
Report source :class:`~apache_beam.metrics.metric.LineageLevel`.
Args:
path: string path to be reported.
level: the level of file path. default to
:class:`~apache_beam.io.filesystem.FileSystem.Lineage`.FILE.
:class:`~apache_beam.io.filesystem.FileSystem.LineageLevel`.FILE.
"""
filesystem = FileSystems.get_filesystem(path)
filesystem.report_lineage(path, Lineage.sources(), level=level)
Expand Down
Loading