Skip to content

Downgrade Avro version - #2837

Merged
pomadchin merged 1 commit into
locationtech:masterfrom
pomadchin:upd/avro-downgrade
Dec 5, 2018
Merged

pomadchin merged 1 commit into
locationtech:masterfrom
pomadchin:upd/avro-downgrade

Conversation

@pomadchin

@pomadchin pomadchin commented Dec 3, 2018 •

Copy link
Copy Markdown
Member

Overview

This PR downgrades Avro version down to 1.7.7 to correspond Hadoop version.

TODO

  • Check on AWS EMR cluster
  • Read the old catalog
  • CQ 18476

@pomadchin

pomadchin commented Dec 4, 2018 •

Copy link
Copy Markdown
Member Author

Did a test ingest basing on the data from #2819

Catalog path: s3://geotrellis-test/issue-2819/catalog
Layer name: china5

@pomadchin pomadchin added this to the 3.0 milestone Dec 4, 2018
@pomadchin

pomadchin commented Dec 4, 2018 •

Copy link
Copy Markdown
Member Author

Test used to read the old catalog:

lazy val attributeStore = new S3AttributeStore("geotrellis-test", "issue-2819/catalog")
val lreader = S3LayerReader(attributeStore)

val st: Raster[MultibandTile] =
  lreader.read[SpatialKey, MultibandTile, TileLayerMetadata[SpatialKey]](LayerId("china2", 7)).stitch

val md: TileLayerMetadata[SpatialKey] =
  attributeStore.readMetadata[TileLayerMetadata[SpatialKey]](LayerId("china2", 7))

GeoTiff(st, md.crs).write("/tmp/china2.tiff")

@pomadchin pomadchin removed the needs-cq label Dec 5, 2018
@pomadchin
pomadchin merged commit 7d5fb93 into locationtech:master Dec 5, 2018
@pomadchin
pomadchin deleted the upd/avro-downgrade branch December 12, 2018 06:23
echeipesh pushed a commit that referenced this pull request Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants