parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ziva...@apache.org
Subject [parquet-mr] branch parquet-1.8.x updated: PARQUET-1275: Travis fails on branch 1.8.x
Date Thu, 19 Apr 2018 17:32:42 GMT
This is an automated email from the ASF dual-hosted git repository.

zivanfi pushed a commit to branch parquet-1.8.x
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git


The following commit(s) were added to refs/heads/parquet-1.8.x by this push:
     new 261aacd  PARQUET-1275: Travis fails on branch 1.8.x
261aacd is described below

commit 261aacd151f8fa1d3c2ec8b975864a3f1a751468
Author: Gabor Szadovszky <gabor.szadovszky@cloudera.com>
AuthorDate: Thu Apr 19 14:14:08 2018 +0200

    PARQUET-1275: Travis fails on branch 1.8.x
    
    Use jdk7 to build 1.8
    Corrected protobuf download link to github.com
    Additional workaround for protobuf build
    Skip the failing php and nodejs modules of thrift build
---
 .travis.yml | 13 ++++++++++---
 README.md   |  2 +-
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ff9b356..db23e8a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,19 @@
 language: java
+jdk: openjdk7
 before_install:
   - sudo apt-get update -qq
   - sudo apt-get install build-essential
   - mkdir protobuf_install
   - pushd protobuf_install
-  - wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
+  - wget https://github.com/google/protobuf/archive/v2.5.0.tar.gz -O protobuf-2.5.0.tar.gz
   - tar xzf protobuf-2.5.0.tar.gz
-  - cd  protobuf-2.5.0
+  - cd protobuf-2.5.0
+  - sudo apt-get install autoconf automake libtool curl make g++ unzip
+# Getting gtest before executing autogen.sh as it contains invalid link to googlecode.com
+  - wget https://github.com/google/googletest/archive/release-1.5.0.tar.gz
+  - tar xzf release-1.5.0.tar.gz
+  - mv googletest-release-1.5.0 gtest
+  - ./autogen.sh
   - ./configure
   - make
   - sudo make install
@@ -19,7 +26,7 @@ before_install:
   - tar zxf 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
+  - ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang
--without-php --without-nodejs
   - sudo make install
   - cd ..
 
diff --git a/README.md b/README.md
index 9cf98d4..c4f168d 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Parquet-MR uses Maven to build and depends on both the thrift and protoc
compile
 To build and install the protobuf compiler, run:
 
 ```
-wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
+wget https://github.com/google/protobuf/archive/v2.5.0.tar.gz -O protobuf-2.5.0.tar.gz
 tar xzf protobuf-2.5.0.tar.gz
 cd  protobuf-2.5.0
 ./configure

-- 
To stop receiving notification emails like this one, please contact
zivanfi@apache.org.

Mime
View raw message