You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by bl...@apache.org on 2015/04/04 00:42:02 UTC
incubator-parquet-mr git commit: PARQUET-230: Add build instructions
to README.
Repository: incubator-parquet-mr
Updated Branches:
refs/heads/master 4ed0bdf1c -> 27ba68133
PARQUET-230: Add build instructions to README.
Author: Ryan Blue <bl...@apache.org>
Closes #156 from rdblue/PARQUET-230-add-build-instructions-to-readme and squashes the following commits:
896604a [Ryan Blue] PARQUET-230: Add build instructions to README.
Project: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/commit/27ba6813
Tree: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/tree/27ba6813
Diff: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/diff/27ba6813
Branch: refs/heads/master
Commit: 27ba68133faf92d92b395829a6b6dff97e53e2c6
Parents: 4ed0bdf
Author: Ryan Blue <bl...@apache.org>
Authored: Fri Apr 3 15:41:50 2015 -0700
Committer: Ryan Blue <bl...@apache.org>
Committed: Fri Apr 3 15:41:50 2015 -0700
----------------------------------------------------------------------
README.md | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/blob/27ba6813/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 64168e4..270c015 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,45 @@ Parquet uses the [record shredding and assembly algorithm](https://github.com/Pa
You can find some details about the format and intended use cases in our [Hadoop Summit 2013 presentation](http://www.slideshare.net/julienledem/parquet-hadoop-summit-2013)
+## Building
+
+Parquet-MR uses Maven to build and depends on both the thrift and protoc compilers.
+
+### Install Protobuf
+
+To build and install the protobuf compiler, run:
+
+```
+wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
+tar xzf protobuf-2.5.0.tar.gz
+cd protobuf-2.5.0
+./configure
+make
+sudo make install
+sudo ldconfig
+```
+
+### Install Thrift
+
+To build and install the thrift compiler, run:
+
+```
+wget -nv http://archive.apache.org/dist/thrift/0.7.0/thrift-0.7.0.tar.gz
+tar xzf thrift-0.7.0.tar.gz
+cd thrift-0.7.0
+chmod +x ./configure
+./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang
+sudo make install
+```
+
+### Build Parquet with Maven
+
+Once protobuf and thrift are available in your path, you can build the project by running:
+
+```
+mvn clean install
+```
+
## Features
Parquet is a very active project, and new features are being added quickly; below is the state as of June 2013.