Skip to content

Commit

Permalink
Disable cache for io-expansion-service shadowJar temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Oct 11, 2024
1 parent 826e1ad commit 3c1cc5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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
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

0 comments on commit 3c1cc5f

Please sign in to comment.