This is an automated email from the ASF dual-hosted git repository.
gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new e9c2837 PARQUET-1492: Remove protobuf build (#592)
e9c2837 is described below
commit e9c283728cfd634677975affa367e13c4bef6c2a
Author: wineandcheeze <[email protected]>
AuthorDate: Tue Jan 15 13:08:43 2019 +0100
PARQUET-1492: Remove protobuf build (#592)
We do not need to build protobuf (protoc) ourselves since we rely on maven
protoc plugin to compile protobuf.
This should save about 10 minutes travis build time (time for building
protobuf itself).
---
README.md | 16 +---------------
dev/travis-before_install.sh | 13 -------------
2 files changed, 1 insertion(+), 28 deletions(-)
diff --git a/README.md b/README.md
index 253032a..890b30a 100644
--- a/README.md
+++ b/README.md
@@ -28,21 +28,7 @@ You can find some details about the format and intended use
cases in our [Hadoop
## 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 https://github.com/google/protobuf/archive/v3.5.1.tar.gz -O
protobuf-3.5.1.tar.gz
-tar xzf protobuf-3.5.1.tar.gz
-cd protobuf-3.5.1
-./configure
-make
-sudo make install
-sudo ldconfig
-```
+Parquet-MR uses Maven to build and depends on the thrift compiler (protoc is
now managed by maven plugin).
### Install Thrift
diff --git a/dev/travis-before_install.sh b/dev/travis-before_install.sh
index 6d04279..5161f22 100644
--- a/dev/travis-before_install.sh
+++ b/dev/travis-before_install.sh
@@ -26,19 +26,6 @@ sudo apt-get install -qq build-essential pv autoconf
automake libtool curl make
g++ unzip libboost-dev libboost-test-dev libboost-program-options-dev \
libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
xmlstarlet
date
-mkdir protobuf_install
-pushd protobuf_install
-wget https://github.com/google/protobuf/archive/v3.5.1.tar.gz -O
protobuf-3.5.1.tar.gz
-tar xzf protobuf-3.5.1.tar.gz
-cd protobuf-3.5.1
-./autogen.sh
-./configure
-make
-sudo make install
-sudo ldconfig
-protoc --version
-popd
-date
pwd
wget -nv http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
tar zxf thrift-0.9.3.tar.gz