Skip to content

Commit 16b9afc

Browse files
author
Fokko Driesprong
committed
[PARQUET-1507] Bump Apache Thrift to 0.12.0
1 parent 354fcc2 commit 16b9afc

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ Parquet-MR uses Maven to build and depends on the thrift compiler (protoc is now
3535
To build and install the thrift compiler, run:
3636

3737
```
38-
wget -nv http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
39-
tar xzf thrift-0.9.3.tar.gz
40-
cd thrift-0.9.3
38+
wget -nv http://archive.apache.org/dist/thrift/0.12.0/thrift-0.12.0.tar.gz
39+
tar xzf thrift-0.12.0.tar.gz
40+
cd thrift-0.12.0
4141
chmod +x ./configure
4242
./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs
4343
sudo make install
4444
```
4545

46-
If you're on OSX and use homebrew, you can instead install Thrift 0.9.x with `brew` and ensure that it comes first in your `PATH`.
46+
If you're on OSX and use homebrew, you can instead install Thrift 0.12.0 with `brew` and ensure that it comes first in your `PATH`.
4747

4848
```
49-
brew install thrift@0.9
50-
export PATH="/usr/local/opt/thrift@0.9/bin:$PATH"
49+
brew install thrift@0.12.0
50+
export PATH="/usr/local/opt/thrift@0.12.0/bin:$PATH"
5151
```
5252

5353
### Build Parquet with Maven

dev/travis-before_install.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# This script gets invoked by .travis.yml in the before_install step
2020
################################################################################
2121

22+
export THIFT_VERSION=0.12.0
23+
2224
set -e
2325
date
2426
sudo apt-get update -qq
@@ -27,9 +29,9 @@ sudo apt-get install -qq build-essential pv autoconf automake libtool curl make
2729
libevent-dev automake libtool flex bison pkg-config g++ libssl-dev xmlstarlet
2830
date
2931
pwd
30-
wget -nv http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
31-
tar zxf thrift-0.9.3.tar.gz
32-
cd thrift-0.9.3
32+
wget -nv http://archive.apache.org/dist/thrift/${THIFT_VERSION}/thrift-${THIFT_VERSION}.tar.gz
33+
tar zxf thrift-${THIFT_VERSION}.tar.gz
34+
cd thrift-${THIFT_VERSION}
3335
chmod +x ./configure
3436
./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs
3537
sudo make install

parquet-format-structures/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<version>${thrift-maven-plugin.version}</version>
7474
<configuration>
7575
<thriftSourceRoot>${parquet.thrift.path}</thriftSourceRoot>
76-
<thriftExecutable>${format.thrift.executable}</thriftExecutable>
76+
<thriftExecutable>${ft.executable}</thriftExecutable>
7777
</configuration>
7878
<executions>
7979
<execution>
@@ -156,7 +156,7 @@
156156
<dependency>
157157
<groupId>org.apache.thrift</groupId>
158158
<artifactId>libthrift</artifactId>
159-
<version>${format.thrift.version}</version>
159+
<version>${thrift.version}</version>
160160
</dependency>
161161
</dependencies>
162162

parquet-protobuf/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<dependency>
9191
<groupId>org.apache.thrift</groupId>
9292
<artifactId>libthrift</artifactId>
93-
<version>${format.thrift.version}</version>
93+
<version>${thrift.version}</version>
9494
</dependency>
9595
</dependencies>
9696
</dependencyManagement>

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@
9292
<pig.version>0.16.0</pig.version>
9393
<pig.classifier>h2</pig.classifier>
9494
<thrift-maven-plugin.version>0.10.0</thrift-maven-plugin.version>
95-
<thrift.version>0.9.3</thrift.version>
96-
<format.thrift.version>0.9.3</format.thrift.version>
95+
<thrift.version>0.12.0</thrift.version>
9796
<fastutil.version>7.0.13</fastutil.version>
9897
<semver.api.version>0.9.33</semver.api.version>
9998
<slf4j.version>1.7.22</slf4j.version>

0 commit comments

Comments
 (0)