File tree Expand file tree Collapse file tree 5 files changed +13
-31
lines changed
main/scala/org/openeo/geotrellis/layers
test/scala/org/openeo/geotrellis/layers Expand file tree Collapse file tree 5 files changed +13
-31
lines changed Original file line number Diff line number Diff line change 41
41
</exclusion >
42
42
</exclusions >
43
43
</dependency >
44
- <dependency >
45
- <groupId >org.apache.hadoop</groupId >
46
- <artifactId >hadoop-mapreduce-client-core</artifactId >
47
- <version >${hadoop.version} </version >
48
- <scope >provided</scope >
49
- <exclusions >
50
- <exclusion >
51
- <groupId >org.slf4j</groupId >
52
- <artifactId >slf4j-log4j12</artifactId >
53
- </exclusion >
54
- </exclusions >
55
- </dependency >
56
- <dependency >
57
- <groupId >org.apache.hadoop</groupId >
58
- <artifactId >hadoop-common</artifactId >
59
- <version >${hadoop.version} </version >
60
- <scope >provided</scope >
61
- <exclusions >
62
- <exclusion >
63
- <groupId >org.slf4j</groupId >
64
- <artifactId >slf4j-log4j12</artifactId >
65
- </exclusion >
66
- </exclusions >
67
- </dependency >
68
44
<dependency >
69
45
<groupId >software.amazon.awssdk</groupId >
70
46
<artifactId >s3</artifactId >
120
96
<scope >test</scope >
121
97
</dependency >
122
98
<dependency >
123
- <groupId >com.sksamuel.elastic4s </groupId >
99
+ <groupId >nl.gn0s1s </groupId >
124
100
<artifactId >elastic4s-client-esjava_${scala.binary.version}</artifactId >
125
- <version >7.8.1 </version >
101
+ <version >7.17.25 </version >
126
102
<exclusions >
127
103
<exclusion >
128
104
<groupId >com.fasterxml.jackson.core</groupId >
Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ object FileLayerProvider {
434
434
val filtered = prepareMask(theMask, metadata, partitioner)
435
435
436
436
if (logger.isDebugEnabled) {
437
+ // the number of jobs/stages effectively depends on whether logging is correctly configured
437
438
logger.debug(s " SpacetimeMask mask reduces the input to: ${filtered.countApproxDistinct()} keys. " )
438
439
}
439
440
Original file line number Diff line number Diff line change @@ -598,9 +598,9 @@ class Sentinel2FileLayerProviderTest extends RasterMatchers {
598
598
val referenceTile = GeoTiffRasterSource (ref).read().get
599
599
val actualTile = GeoTiffRasterSource (actual).read().get
600
600
assertRastersEqual(referenceTile, actualTile, 160.0 )
601
- // because debugging is enabled, it actually runs more jobs and stages then done in production
602
- assertEquals(4 , listener.getJobsCompleted)
603
- assertEquals(17 , listener.getStagesCompleted)
601
+ // because debug logging is enabled during tests , it actually runs more jobs and stages than done in production
602
+ assertEquals(5 , listener.getJobsCompleted)
603
+ assertEquals(18 , listener.getStagesCompleted)
604
604
605
605
}
606
606
Original file line number Diff line number Diff line change 41
41
<dependency >
42
42
<groupId >org.slf4j</groupId >
43
43
<artifactId >slf4j-api</artifactId >
44
- <version >2.0.6</version >
45
44
<scope >test</scope >
46
45
</dependency >
47
46
<dependency >
48
47
<groupId >org.apache.logging.log4j</groupId >
49
48
<artifactId >log4j-slf4j-impl</artifactId >
50
- <version >2.19 .0</version >
49
+ <version >2.20 .0</version >
51
50
<scope >test</scope >
52
51
</dependency >
53
52
<dependency >
Original file line number Diff line number Diff line change 41
41
<artifactId >scala-library</artifactId >
42
42
<version >${scala.version} </version >
43
43
</dependency >
44
+ <dependency >
45
+ <groupId >org.slf4j</groupId >
46
+ <artifactId >slf4j-api</artifactId >
47
+ <version >2.0.7</version >
48
+ <scope >provided</scope >
49
+ </dependency >
44
50
</dependencies >
45
51
</dependencyManagement >
46
52
You can’t perform that action at this time.
0 commit comments