Spark job for compacting avro files together
local=true sbt
runMain ie.ianduffy.spark.avro.compactor.Runner -i inputPath --output outputPath --schema-registry-url https://confluent-schema-registry --schema-registry-subject schema-subject
Spark job for compacting avro files together
License: Apache License 2.0
Spark job for compacting avro files together
local=true sbt
runMain ie.ianduffy.spark.avro.compactor.Runner -i inputPath --output outputPath --schema-registry-url https://confluent-schema-registry --schema-registry-subject schema-subject
In case the avro files are already partioned by event time, it would be desirable to run compaction with an additional upper bound in terms of event time ti_max so that a single file will only be appended in case e_max -_t e_min_t <= ti_max.
In that case, the resultant files retain their time semantics.
Can you give some insights around how did you arrive at compression ratio for these formats?
Hello, thanks a lot for great work and the article, but I'm wondering why not just using DataFu's CombinedAvroKeyInputFormat?
It should solve the issue with number of spark tasks required to process the input, but listing of s3 objects will remain to be slow (but it may not be the problem as this job still has to read the input data for at least one time).
Great job!
One question: Did you face any serialization issues when rdd.coalesce(numPartitions) and how was the performance?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.