Hardwood v1 reads Parquet on the JVM with no dependencies
· Do Minh Tuan · Future Pulse 🔮
Gunnar Morling released Hardwood v1, an open-source library for reading Apache Parquet files on the JVM with no mandatory external dependencies. Reading is supported now, with a command-line tool for inspecting files. Writing is planned for a later version.
On paper that is a niche announcement about a file format. In practice it targets a problem that turns up on project after project: the dependency tree that arrives when you add one library that reads one format.
Parquet is a columnar file format used for analytical data. Instead of storing complete rows, it stores each column together and compresses it, which makes it much faster to scan a hundred million values of one field. If you have worked with data platforms, you have met Parquet.
Reading Parquet on the JVM has historically meant pulling in the Hadoop ecosystem, or a stack of transitive libraries that come with it. A service that needs to read one file ends up shipping a jar with a few hundred megabytes of code it will never call. That is what people mean by dependency bloat. The cost shows up as startup time, image size, patch surface and the slow accumulation of version conflicts that nobody wants to debug.
Why zero dependencies is a real feature
Morling's project keeps the mandatory dependency count at zero, so the library does what it says and brings nothing else along. That gives a team three practical wins.
Startup gets faster because the classloader has less to do. That matters more than it used to, now that so much Java runs in containers that scale up and down. A service that takes forty seconds to start is a service you cannot autoscale well.
The security surface shrinks. Every third-party library is code you did not write, running with your permissions, and needing updates when a CVE lands. Fewer dependencies means fewer of those emails and fewer emergency releases.
And maintenance gets simpler. Anyone who has spent a day untangling a version conflict between two libraries that both want different versions of the same JSON parser knows the cost. Removing a whole layer of that is worth something.
The CLI is a small thing that I would actually use. Being able to point a command at a Parquet file and look inside it, without writing a test class or booting a notebook, is the kind of tool that saves ten minutes a week and never gets mentioned in a roadmap.
The limits, stated plainly
This is version one. Reading works, writing is not there yet, and a library without dependencies is a library where you own more of the edge cases. If you need the full Hadoop integration, the compression codecs that come with it, or any of the ecosystem tooling built on top, Hardwood is a focused tool for a focused job, and it is not a drop-in replacement today.
I would also check the codec support before committing. Parquet files can be compressed with several algorithms, and the ones you can read depend on what the library implements. If your files use something exotic, test that first rather than discovering it in production.
That is not a criticism of a v1. It is the normal shape of a young library, and it is better that the author shipped a narrow thing that works than a broad thing that half works.
What I would do with it
I would not migrate a working pipeline for the sake of a smaller jar. Migration risk is real and the benefit is a build that is easier to maintain, which is hard to put on a slide.
I would use it for new services. If I am writing a small Java service that needs to read Parquet, starting with a zero-dependency library is the cheap decision. The alternative is starting heavy and promising to slim down later, and later never comes.
I would also benchmark it before believing anything about speed. The announcement talks about fast processing, and the honest position is that throughput depends on your file layout, your column widths and how much you actually read per row. A quick test on one of your own files, comparing it against whatever you use now, is worth more than any benchmark table.
The business framing in the post is about cloud bills, with a specific percentage saving attached. I would ignore the number and keep the principle. Smaller artefacts mean smaller images, and smaller images mean cheaper compute at the margin. Whether that shows up as a meaningful line on your invoice depends on your workload, and you will only know by measuring.
Why this one is worth watching
Most of the infrastructure news I read is about platforms getting bigger. This is a small library getting smaller, which is rarer and, for working engineers, often more useful.
What I would watch next is writing support. Reading is half the loop. Once a library can write as well as read, it becomes a candidate for pipelines rather than just consumers, and the dependency argument gets much stronger.
Until then, my advice to a team evaluating it is simple. Take one real Parquet file from your own storage, write twenty lines against the API, and see whether it opens without surprises. If it does, you have a lighter option for the next service. If it does not, you have lost an afternoon, which is a fair price for avoiding a dependency you did not need.
Written with AI assistance, reviewed and edited by Do Minh Tuan.