File tree Expand file tree Collapse file tree 5 files changed +15
-14
lines changed
parquet-format-structures Expand file tree Collapse file tree 5 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ Parquet-MR uses Maven to build and depends on the thrift compiler (protoc is now
3535To 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
4141chmod +x ./configure
4242./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs
4343sudo 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
Original file line number Diff line number Diff line change 1919# This script gets invoked by .travis.yml in the before_install step
2020# ###############################################################################
2121
22+ export THIFT_VERSION=0.12.0
23+
2224set -e
2325date
2426sudo 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
2830date
2931pwd
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}
3335chmod +x ./configure
3436./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs
3537sudo make install
Original file line number Diff line number Diff line change 7070 <plugin >
7171 <groupId >org.apache.thrift</groupId >
7272 <artifactId >thrift-maven-plugin</artifactId >
73- <version >${thrift-maven-plugin.version} </version >
73+ <version >${thrift-maven-plugin.version} </version >
7474 <configuration >
7575 <thriftSourceRoot >${parquet.thrift.path} </thriftSourceRoot >
7676 <thriftExecutable >${format.thrift.executable} </thriftExecutable >
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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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>
You can’t perform that action at this time.
0 commit comments