Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable predicate pushdown for Parquet by using hadoop-lzo #124

Open
wants to merge 391 commits into
base: twitter-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
391 commits
Select commit Hold shift + click to select a range
c49e1d1
Merge pull request #47 from dabaitu/twitter-master
dabaitu Aug 18, 2016
443f76b
update tag to 0.143-tw-0.23
Aug 18, 2016
fb6fe59
Merge pull request #48 from dabaitu/twitter-master
dabaitu Aug 19, 2016
67d22d7
Added shuffle for metastores in order to balance connection load
Yaliang Oct 25, 2016
ecfa6c0
Added log for hive connection and log for RetryDriver
Yaliang Oct 28, 2016
dee6336
Used RuntimeException to replace PrestoException, prevent whitelist s…
Yaliang Oct 31, 2016
56d7c36
Used formatter for logs
Yaliang Nov 1, 2016
36175ec
remove obsolete event listener implementation - part 1 of 3 for upgra…
Nov 2, 2016
f89cc40
update version first
Nov 8, 2016
4932c5f
resolve conflicts
Nov 8, 2016
9b5d000
use new twitter version
Nov 8, 2016
53dcebe
avoid java version check for twitter
Nov 8, 2016
e5084e2
Merge pull request #51 from dabaitu/upgrade_to_149
dabaitu Nov 17, 2016
488d786
Added shuffle for metastores in order to balance connection load
Yaliang Oct 25, 2016
b33652e
Added log for hive connection and log for RetryDriver
Yaliang Oct 28, 2016
c438569
Used RuntimeException to replace PrestoException, prevent whitelist s…
Yaliang Oct 31, 2016
43eff7d
Used formatter for logs
Yaliang Nov 1, 2016
1c1f249
Merge branch 'yaliang/hiveConnectionRetry' of https://github.com/Yali…
Yaliang Nov 18, 2016
abe1d34
Fix bug for tableau webapp
Yaliang Nov 18, 2016
39e908b
Release version update
Yaliang Nov 18, 2016
4b18ac1
pull fix from 0.157 for tableau connector
Nov 21, 2016
717b64e
Merge pull request #52 from dabaitu/twitter-master
dabaitu Nov 21, 2016
a4cc265
Merged from twitter-master
Yaliang Nov 22, 2016
58355af
Merge pull request #49 from Yaliang/yaliang/hiveConnectionRetry
Yaliang Nov 22, 2016
35f71d2
Undo erroneous merge of commit 36175ec6d47d24ff3d7519f68d3e5c0d0af0fc…
Nov 22, 2016
3063079
update tag to 0.149-tw-0.27
Nov 22, 2016
5f21b82
take out swap file
Nov 22, 2016
4fb5a4d
Merge pull request #53 from dabaitu/twitter-master
dabaitu Nov 22, 2016
1613f3c
update tag to 0.157 to avoid unnecessary conflicts
Dec 1, 2016
6960462
Upgrade to 0.157, resolve conflicts and add twitter event listener
Dec 1, 2016
50b4884
update tag
Dec 1, 2016
56fc857
remove current impl of twitter event scriber - upgrade to 0.157 part …
Dec 1, 2016
5edff82
Merge pull request #55 from dabaitu/remove-current-twitter-event-scriber
dabaitu Dec 1, 2016
77b5d27
upgrade to oss 0.157 without new twitter event scriber
Dec 1, 2016
a184a61
resolve conflicts
Dec 1, 2016
70dc428
merge dabaitu-upgrade_to_oss_157
Dec 1, 2016
16db1d7
Merge pull request #57 from dabaitu/twitter-master
dabaitu Dec 2, 2016
c6fe499
add new twitter event scriber impl as plugin
Dec 2, 2016
978c186
add twitter-eventlistener-plugin as module to top level pom
Dec 2, 2016
3df6fed
address Bill's comments
Dec 3, 2016
86917ea
back out version change, address comments
Dec 5, 2016
1d36d64
constructor first then public, private methods
Dec 5, 2016
41a0ab3
remove accidental commit
Dec 5, 2016
a286397
Merge pull request #58 from dabaitu/twitter-master
dabaitu Dec 6, 2016
0ed477a
Prepare for 0.157-tw-0.28 internal release
Dec 6, 2016
bd81063
Merge pull request #59 from dabaitu/twitter-master
dabaitu Dec 7, 2016
c0ada2b
Added TTransportPool
Yaliang Dec 8, 2016
46031f8
Added PooledTTransportFactory
Yaliang Dec 9, 2016
94991f2
Correct errors
Yaliang Dec 9, 2016
0f1a826
Remove Transport in PooledObjectFactory
Yaliang Dec 9, 2016
65e2bea
Added logs
Yaliang Dec 9, 2016
090cd4a
Try to cast class before return
Yaliang Dec 9, 2016
30b6d59
Changed mapping key as String
Yaliang Dec 9, 2016
646106a
Removed logging
Yaliang Dec 10, 2016
eca3b40
Added validation, added log to print mean wait time for each pool
Yaliang Dec 12, 2016
9c0e9f2
Added more values for logging
Yaliang Dec 12, 2016
6123869
Set Eviction Configs
Yaliang Dec 13, 2016
cdc7433
Added support to pass transport pool config
Yaliang Dec 14, 2016
604d9d2
Update ZKMConfig test set
Yaliang Dec 14, 2016
602acb0
Enforce thread safety
Yaliang Dec 14, 2016
518c27e
Remove default constructor
Yaliang Dec 14, 2016
e2bc692
Apply 100 ruler
Yaliang Dec 15, 2016
53e2d02
Merge pull request #60 from Yaliang/yaliangw/addConnectionPool
Yaliang Dec 16, 2016
ae66897
Update release version to 0.157-tw-0.29
Yaliang Dec 16, 2016
c1c4575
Merge pull request #61 from Yaliang/yaliangw/updateReleaseVersion
Yaliang Dec 16, 2016
aba8854
invoke isReachable to test connection
Yaliang Dec 20, 2016
b1c4854
switch to 0.161 tag first
Jan 4, 2017
95819b7
resolve merge conflict to 0.161
Jan 4, 2017
dcb3a39
revert back to old twitter tag
Jan 4, 2017
0b0da52
correct revert version
Jan 5, 2017
0cf760d
Merge pull request #63 from dabaitu/twitter-master
dabaitu Jan 6, 2017
76f4364
Merge pull request #62 from Yaliang/yaliangw/connectionValidate
dabaitu Jan 6, 2017
4362f3d
upgrade version to 0.161-tw-0.29
Yaliang Jan 12, 2017
8d4e86a
Merge pull request #65 from Yaliang/yaliangw/upgradeVersion
dabaitu Jan 12, 2017
575f180
warn instead of fail when JVM is non-Oracle
Feb 1, 2017
5dd9eda
Merge pull request #67 from dabaitu/switchJVM
dabaitu Feb 1, 2017
656f149
Revert "Merge pull request #67 from dabaitu/switchJVM"
Yaliang Feb 2, 2017
ebf8b53
Revert "Merge pull request #65 from Yaliang/yaliangw/upgradeVersion"
Yaliang Feb 2, 2017
1bca487
Revert "Merge pull request #62 from Yaliang/yaliangw/connectionValidate"
Yaliang Feb 2, 2017
79382a2
Revert "Merge pull request #63 from dabaitu/twitter-master"
Yaliang Feb 2, 2017
2e28bcb
invoke isReachable to test connection
Yaliang Dec 20, 2016
3376122
warn instead of fail when JVM is non-Oracle
Feb 1, 2017
ccaafc9
Merge pull request #69 from Yaliang/yaliangw/release-0.157-tw-0.30
Yaliang Feb 3, 2017
54e8b83
update version number 0.157-tw-0.30
Yaliang Feb 3, 2017
78662ca
Merge pull request #70 from Yaliang/yaliangw/update-version-0.157-tw-…
Yaliang Feb 3, 2017
608cbad
Merge tag 'tags/0.166' into yaliangw/twitter-master-upgrade-0.166
Yaliang Feb 24, 2017
af3b4b7
Merge pull request #73 from Yaliang/yaliangw/twitter-master-upgrade-0…
Yaliang Mar 1, 2017
be4517a
Release 0.166-tw-0.31
Yaliang Mar 1, 2017
9ede94b
Merge pull request #74 from Yaliang/yaliangw/release-0.166-tw-0.31
Yaliang Mar 1, 2017
d526964
Initial commit to support LZO Thrift
Yaliang Mar 14, 2017
9027039
Move classes into twitter folder with better namings
Yaliang Mar 18, 2017
d071d79
Set elephant-bird task config to avoid decode errors getting suppressed
Yaliang Mar 20, 2017
29a21ba
Enable splits for LZO Thrift data
dabaitu Mar 21, 2017
656cf3b
Merge pull request #2 from dabaitu/thomass/enableSplitsForThrift
Yaliang Mar 21, 2017
b9acafc
Add support for thrif id mapping
Yaliang Mar 22, 2017
63fca50
Better Naming: ThriftGeneralRow -> ThriftGenericRow
Yaliang Mar 22, 2017
e90d854
Support splittable lzo
Yaliang Mar 24, 2017
6c56bf6
Remove tw version
Yaliang Mar 28, 2017
92f920f
Merge tags/0.170 into twitter-master
Yaliang Mar 29, 2017
7f4f700
Release 0.170-tw-0.32
Yaliang Mar 29, 2017
34f2d26
Merge pull request #76 from Yaliang/yaliangw/release-0.170-tw-0.32
Yaliang Mar 29, 2017
d674783
Rebase 0.170-tw-0.32
Yaliang Mar 31, 2017
433cb84
Fix missed method
Yaliang Mar 31, 2017
f07187c
Support skip unused top level column
Yaliang Apr 1, 2017
00038dc
Fix a mistake in splitting
Yaliang Apr 1, 2017
3a9676b
add table and columns info to QueryCompletedEvents
Apr 10, 2017
420dd14
Merge pull request #78 from dabaitu/thomass/add-table-columns-info-exp
dabaitu Apr 10, 2017
c643602
Merge branch 'twitter-master' into yaliangw/addThriftInHive
Yaliang Apr 11, 2017
987c5a2
Better toString for HiveThriftFieldIdResolver; Allow EB config been o…
Yaliang Apr 13, 2017
0a15a09
Better Logging
Yaliang Apr 14, 2017
09de625
Refactor thrift field id resolver
Yaliang Apr 15, 2017
6d4eaaf
mave tag to 0.173 first
Apr 16, 2017
b3ebd73
resolve conflicts
Apr 16, 2017
becae61
Support deserialization when the SerDe is set as LazyBinarySerDe
Yaliang Apr 17, 2017
cce5023
Move functions out of ThriftGeneralInputFormat
Yaliang Apr 17, 2017
359479c
move elephantbird config setting into cursor provider
Yaliang Apr 18, 2017
7bb2994
Initial commit to support LZO Thrift write
Yaliang Apr 20, 2017
c526b86
resolve dependency conflicts and revert version back to twitter version
Apr 20, 2017
e6025e5
exclude zookeeper from presto-hive instead of adding it with the same…
Apr 21, 2017
b914b61
use 3.5.1-alpha for zookeeper overall and 3.4.9 for kafka; use guava …
Apr 25, 2017
49e673d
add support to split lzo file in createHiveSplitIterator directly
Yaliang Apr 26, 2017
bde735a
add TODO comments to adapt better versions of packages to resolve dep…
Apr 26, 2017
e087e68
Merge pull request #79 from dabaitu/upgrade_to_173
dabaitu Apr 26, 2017
fc43cc4
Make internal release tag 0.173-tw-0.33
Apr 26, 2017
cbf6813
Merge pull request #80 from dabaitu/tag_for_173_release
dabaitu Apr 26, 2017
d0d2ae3
Added unit test for pre-generated lzo thrift data
Yaliang Apr 27, 2017
9b06ace
Remove log in BackgroundHiveSplitLoader
Yaliang Apr 27, 2017
0a648af
change the writeField parameter in ThriftGenericRow
Yaliang Apr 27, 2017
85f3764
Adapt method name lzo->lzop as oss patch
Yaliang Apr 27, 2017
87cf0c0
Remove hard coded class name and Remove LZO codec in HiveCompressionC…
Yaliang Apr 28, 2017
21a2b5c
Remove tests on THRIFTBINARY format in AbstractTestHiveClient, TestHi…
Yaliang Apr 28, 2017
6bc1de5
Adapt to more compact json string
Yaliang Apr 28, 2017
c3ddc7e
Add tests for HiveThriftFieldIdResolver
Yaliang Apr 29, 2017
829007c
Expose data transfer size as data flow between stages, calculated fro…
Apr 30, 2017
b91f46e
safe guard number parse error
Apr 30, 2017
082884f
Address Yaliang's comment which exposed a bug
May 2, 2017
1b7addc
Use PrestoException in ThriftGeneralInputFormat
Yaliang May 3, 2017
5541366
Unsupport write in thrift generic row
Yaliang May 3, 2017
a8ac008
move getSerializationClassName to ThriftHiveRecordCursorProvider
Yaliang May 3, 2017
6df4e86
Better naming for default thrift id resolver
Yaliang May 4, 2017
7d5685f
Added example of json property
Yaliang May 4, 2017
71b47c6
Merge pull request #75 from Yaliang/yaliangw/addThriftInHive
Yaliang May 4, 2017
f2707ae
prepend schema name before table name to avoid confusion
May 8, 2017
5f7515b
expose granular info, include operator stats
May 8, 2017
d4e92c3
remove unused imports
May 8, 2017
fc9a972
Merge pull request #83 from dabaitu/add_schema_name
dabaitu May 9, 2017
3bb8516
Filter out nulls in collections
May 10, 2017
ffb2685
Merge pull request #82 from dabaitu/expose_data_transfer_size
dabaitu May 10, 2017
3e4920b
Release 0.173-tw-0.34
Yaliang May 11, 2017
0152f9f
Merge pull request #84 from Yaliang/yaliangw/release-0.173-tw-0.34
Yaliang May 11, 2017
40a7e8e
Fix json dependency error, fix split error, move Json.createReader in…
Yaliang May 13, 2017
db80602
Merge pull request #85 from Yaliang/yaliangw/correct-json-dependency
dabaitu May 13, 2017
27297fb
Add split path in the cursor error message
Yaliang May 17, 2017
391dd19
Move to 0.176 version
Yaliang May 18, 2017
afe7440
Merge oss-0.176
Yaliang May 18, 2017
330f47f
Fix conflict
Yaliang May 21, 2017
bc471d4
Merge pull request #86 from Yaliang/yaliangw/log-bad-split-location
Yaliang May 21, 2017
d14f259
Merge branch 'twitter-master' into yaliangw/release-0.176-tw-0.35
Yaliang May 21, 2017
4c1d65d
Merge pull request #87 from Yaliang/yaliangw/release-0.176-tw-0.35
Yaliang May 21, 2017
963a167
put the tmp path under the default schema's folder
Yaliang May 24, 2017
e34eec0
Use forEach on stream to modify external collection; map doesn't work
Jun 5, 2017
88100c4
Merge pull request #89 from dabaitu/thomass/fix-metrics
dabaitu Jun 5, 2017
a92181e
use user's home
Yaliang Jun 6, 2017
75ed21c
Merge pull request #88 from Yaliang/yaliangw/ctas-work-around
Yaliang Jun 6, 2017
89493b4
reset the oss base version
Yaliang Jun 19, 2017
2b90e0e
Merge branch 'oss-0.179' into yaliangw/upgrade-0.179
Yaliang Jun 19, 2017
20c2816
prepare release 0.179-tw-0.36
Yaliang Jun 19, 2017
a7f633f
Fit new event
Yaliang Jun 19, 2017
c517f40
Fit temp path change for tests
Yaliang Jun 20, 2017
f2a066d
Merge pull request #90 from Yaliang/yaliangw/upgrade-0.179
Yaliang Jun 21, 2017
2f85330
Set default value for hive statistic feature to false
Yaliang Jun 26, 2017
d794e7c
Merge pull request #92 from Yaliang/yaliangw/set-hive-stat-off-in-def…
Yaliang Jun 26, 2017
4172062
save
Jul 11, 2017
72ac172
save progress
Jul 18, 2017
8048d3f
resolve conflict
Jul 18, 2017
77ded78
Thrift Decoder
xiaoyao1991 Jul 20, 2017
d98b04e
cleanup
xiaoyao1991 Jul 20, 2017
d8a6e9e
avoid unnecessary version conflict during merge
Jul 27, 2017
791d3d5
merged 0.181, resolved conflicts
Jul 27, 2017
c8a76bb
use twitter tag 0.181-tw-0.37, update ThriftHiveRecordCursorProvider …
Jul 27, 2017
70baf50
Merge pull request #98 from dabaitu/upgrade_to_181
dabaitu Jul 27, 2017
92a9ebc
Merge pull request #95 from xiaoyao1991/thrift_decoder_fin
Yaliang Jul 31, 2017
1936564
clone presto-kafka as presto-kafka07 plugin
xiaoyao1991 Jul 20, 2017
47ac252
kafka07 changes
xiaoyao1991 Jul 20, 2017
a5f13ce
address comments
xiaoyao1991 Jul 31, 2017
ab45afb
Merge pull request #96 from xiaoyao1991/kafka07_plugin
Yaliang Aug 8, 2017
5feb582
Fix build and style
xiaoyao1991 Aug 9, 2017
dadbfe0
Merge pull request #99 from xiaoyao1991/fix_build
Yaliang Aug 9, 2017
8725ff9
Tableau Presto ODBC Driver fix
Yaliang Aug 10, 2017
266ec2c
Merge pull request #101 from Yaliang/yaliangw/tableau-driver-node-ver…
Yaliang Aug 14, 2017
b7ae0e2
Fix test
Yaliang Aug 14, 2017
2ec5182
Merge pull request #103 from Yaliang/yaliangw/npl-fix
Yaliang Aug 15, 2017
e092c37
version 0.181-tw-0.38
Yaliang Aug 17, 2017
4a277de
Merge pull request #104 from Yaliang/yaliangw/0.181-TW-0.38
Yaliang Aug 17, 2017
2f6c8c7
Fix kafka07 unit test
Yaliang Aug 21, 2017
650eac4
Merge pull request #105 from Yaliang/yaliangw/unit-test-fix
Yaliang Aug 21, 2017
1501e50
add cumulative memory and peak memeory
Aug 30, 2017
b426b80
Merge pull request #106 from dabaitu/thomass/chargeback/add-cumulativ…
Yaliang Aug 30, 2017
70023d4
prepare release 0.181-tw-0.39
Aug 31, 2017
3251cd1
Merge pull request #108 from dabaitu/new-metrics-release
Yaliang Aug 31, 2017
13d0032
add cpuTime_ms
Sep 25, 2017
b7a4ed1
update thrift package version
Sep 25, 2017
ad476ae
Added file path for error splitting blocks
Yaliang Oct 2, 2017
07ade55
Fix Travis CI for twitter-master branch.
Yaliang Oct 13, 2017
d26be9e
Merge pull request #114 from Yaliang/yaliangw/fix-twitter-master-ci
Yaliang Oct 13, 2017
4d7c92c
Point the thrift id into NON_EXISTED_THRIFT_ID if the id resolver failed
Yaliang Oct 17, 2017
8b0e19e
Merge pull request #112 from Yaliang/yaliangw/splittable-lzo-over-length
Yaliang Oct 17, 2017
16b8aa6
Merge pull request #110 from dabaitu/addCpuTime
Yaliang Oct 17, 2017
74875d7
Use default Java version for Travis CI
electrum Oct 17, 2017
43588a8
Move back to oss version
Yaliang Oct 18, 2017
92da521
upgrade to 0.186
Yaliang Oct 18, 2017
ffa86a6
Adapt thrift reader
Yaliang Oct 18, 2017
0ce96b4
bump up version to 0.186-tw-0.40
Yaliang Oct 18, 2017
5572f0c
correct code style
Yaliang Oct 19, 2017
c92d55d
downgrade curator-test version
Yaliang Oct 19, 2017
e86c049
Fix tests for BackgroundHiveSplitLoader
Yaliang Oct 19, 2017
ba6c399
[maven-release-plugin] prepare release 0.187
nezihyigitbasi Oct 19, 2017
ff9edc2
Merge pull request #116 from Yaliang/yaliangw/upgrade-0.186
Yaliang Oct 20, 2017
076fa7f
Remove twitter's HDFS proxied user patch, use oss version
Yaliang Aug 30, 2017
359c77c
Use a non-default executer in impersonation test
Yaliang Oct 9, 2017
dc17415
Add simple hdfs impersonation test in Travis CI
Yaliang Oct 9, 2017
eabf99c
Use loginUser instead of currentUser in SimpleHadoopAuthentication
Yaliang Oct 7, 2017
2f1b889
Added Parquet Structural Type Evolution Test
Yaliang Oct 4, 2017
b5f6cd7
Allow structural coercion in HiveCoercionPolicy
Yaliang Oct 5, 2017
e868f56
Add support to coerce structural type
Yaliang Oct 10, 2017
6851b14
Update TestHiveCoercion
Yaliang Oct 14, 2017
ef2caad
Remove CLI group in singlenode-hdfs-impersonation environment product…
Yaliang Oct 21, 2017
5763e4d
Merge pull request #107 from Yaliang/yaliangw/remove-read-as-proxy-us…
Yaliang Oct 24, 2017
57be209
Merge pull request #115 from Yaliang/yaliangw/twitter/thrift-schema-e…
Yaliang Oct 24, 2017
52b1266
Move back to 0.186 version number to prepare upgrade
Yaliang Oct 24, 2017
cb168bb
Merge oss 0.187
Yaliang Oct 24, 2017
d2083d3
bump up version to 0.187-tw-0.41
Yaliang Oct 24, 2017
dcfc6a3
Merge pull request #118 from Yaliang/yaliangw/twitter/0.187-tw-0.41
Yaliang Oct 27, 2017
5232a9f
Fix block builder
Yaliang Oct 31, 2017
1a1474a
add geospatial plugin in presto-twitter-server
Yaliang Oct 31, 2017
611a7ba
Merge pull request #119 from Yaliang/yaliangw/hive-thrift-reader-fix
Yaliang Oct 31, 2017
51dcfed
Merge pull request #120 from Yaliang/yaliangw/update-presto-twitter-s…
Yaliang Nov 1, 2017
d2a9f19
bump up version to 0.187-tw-0.42
Yaliang Nov 1, 2017
aa94c25
Merge pull request #121 from Yaliang/yaliangw/twitter/release-0.187-t…
Yaliang Nov 1, 2017
7840b47
Unwrap the FileSystemWrapper to get the raw file system when checking…
Yaliang Nov 3, 2017
403ebd2
Merge pull request #122 from Yaliang/yaliangw/twitter/get-raw-file-sy…
Yaliang Nov 6, 2017
04be4e2
Merge pull request #117 from Yaliang/yaliangw/twitter/structural-type…
Yaliang Nov 6, 2017
c1ed0b8
Switch the version number to oss base version 0.188
Yaliang Nov 7, 2017
e9305f6
Merge 0.188 version
Yaliang Nov 7, 2017
0360705
Bump up version to 0.188-tw-0.43
Yaliang Nov 7, 2017
0239495
Merge pull request #123 from Yaliang/yaliangw/twitter/release-0.188-t…
Yaliang Nov 8, 2017
81743c7
resolve conf
Nov 14, 2017
c9e024d
fix checkstyle
Nov 27, 2017
a181873
fix checkstyle
Nov 29, 2017
1ec2f42
fix test
Jan 22, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 40 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,43 @@ group: deprecated-2017Q3
cache:
directories:
- $HOME/.m2/repository
- $HOME/.thrift

services:
- docker

before_install:
- |
if [[ ! -e $HOME/.thrift/bin/thrift ]]; then
sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-filesystem-dev libboost-thread-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
wget https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
tar xfz thrift-0.9.3.tar.gz
cd thrift-0.9.3 && ./configure --without-cpp --without-c_glib --without-python --without-ruby --without-php --without-erlang --without-go --without-nodejs -q --prefix=$HOME/.thrift
sudo make install > thrift_make_install.log
cd ..
fi
- |
if [[ ! -e /usr/local/bin/thrift ]]; then
sudo ln -s $HOME/.thrift/bin/thrift /usr/local/bin/thrift
fi

install:
- ./mvnw -v
- |
if [[ -v TEST_SPECIFIC_MODULES ]]; then
./mvnw install $MAVEN_FAST_INSTALL -pl $TEST_SPECIFIC_MODULES -am
./mvnw install $MAVEN_FAST_INSTALL -P !twitter-modules -pl $TEST_SPECIFIC_MODULES -am
fi
- |
if [[ -v TEST_OTHER_MODULES ]]; then
./mvnw install $MAVEN_FAST_INSTALL -pl '!presto-docs,!presto-server,!presto-server-rpm'
./mvnw install $MAVEN_FAST_INSTALL -P !twitter-modules -pl '!presto-docs,!presto-server,!presto-server-rpm'
fi
- |
if [[ -v PRODUCT_TESTS_BASIC_ENVIRONMENT || -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
./mvnw install $MAVEN_FAST_INSTALL -pl '!presto-docs,!presto-server-rpm'
./mvnw install $MAVEN_FAST_INSTALL -P !twitter-modules -pl '!presto-docs,!presto-server-rpm'
fi
- |
if [[ -v HIVE_TESTS ]]; then
./mvnw install $MAVEN_FAST_INSTALL -pl presto-hive-hadoop2 -am
./mvnw install $MAVEN_FAST_INSTALL -P !twitter-modules -pl presto-hive-hadoop2 -am
fi

before_script:
Expand All @@ -61,30 +77,40 @@ before_script:
script:
- |
if [[ -v MAVEN_CHECKS ]]; then
./mvnw install -DskipTests -B -T C1 -P ci
./mvnw install -DskipTests -B -T C1 -P 'ci,!twitter-modules'
fi
- |
if [[ -v TEST_SPECIFIC_MODULES ]]; then
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl $TEST_SPECIFIC_MODULES $TEST_FLAGS
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -P !twitter-modules -B -pl $TEST_SPECIFIC_MODULES $TEST_FLAGS
fi
- |
if [[ -v TEST_OTHER_MODULES ]]; then
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl $TEST_OTHER_MODULES
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -P !twitter-modules -B -pl $TEST_OTHER_MODULES
fi
- |
if [[ -v PRODUCT_TESTS_BASIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
multinode -x quarantine,big_query,storage_formats,profile_specific_tests,tpcds
multinode -x quarantine,big_query,storage_formats,profile_specific_tests,tpcds,cli,hive_connector
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode -g hdfs_no_impersonation
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-hdfs-impersonation -g storage_formats,hdfs_impersonation
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-kerberos-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation,authorization
singlenode-kerberos-hdfs-impersonation -g storage_formats,hdfs_impersonation,authorization
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-ldap -g ldap -x simba_jdbc
singlenode-ldap -g ldap -x simba_jdbc,ldap_cli
fi
# SQL server image sporadically hangs during the startup
# TODO: Uncomment it once issue is fixed
Expand All @@ -97,7 +123,7 @@ script:
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
multinode-tls -g smoke,cli,group-by,join,tls
multinode-tls -g smoke,group-by,join,tls
fi
- |
if [[ -v HIVE_TESTS ]]; then
Expand All @@ -109,8 +135,9 @@ before_cache:
- rm -rf $HOME/.m2/repository/com/facebook

notifications:
slack:
secure: V5eyoGShxFoCcYJcp858vf/T6gC9KeMxL0C1EElcpZRcKBrIVZzvhek3HLHxZOxlghqnvNVsyDtU3u5orkEaAXeXj5c2dN+4XBsAB9oeN5MtQ0Z3VLAhZDqKIW1LzcXrq4DpzM0PkGhjfjum/P94/qFYk0UckPtB6a341AuYRo8=
hipchat:
rooms:
secure: peNh1KxwlxIpFyb60S8AMvaJThgh1LsjE+Whf1rYkJalVd2wUrqBIoyDKVSueyHD01hQ06gT7rBV6Pu/QcBMR1a9BbMCjERfxLZFUAheuC2Rsb+p1c4dyvBcFUGacgW7XWKCaVYGDGxuUvb0I3Z8cR6KxhK2xi88tHiqBGVGV2yI6zzOTpWVknMfFBtn+ONU1Ob2P6trclXaDyFd4MxubULri6CQdl35eQAq/VnmR3SZOgyVu3V30MGKwI3zhSli+3VqmW0JmaDGoHN6gznM1+VqABLgmIq0P+n+r5gdZWRCorq10NZCFMhVQ8U6rQHcL7sAniYJJsC/yRt6+pjyzIF4N+LSzZ7T+FLxQqT7k/1ukNgrujLDfTpn76Mo9eYTZmfAdzbm1QKJDACwr8Slqhq1jGzcrFMHunvXhVqjOs24R+JAHblY0O9PXvv7aR29GOQWDCvD7nV5QBUr8Xz5q7ozbLqHTI+yH02Jj4EaZ+azWYdRmnr9wDBxWMYBEgOdj4pII9b298XEDB72TxA3KpLTpdLxBTR+gIk/LjJqb/wb84xUv8gPXkaXccltGd5YI90c84cX8isbzNkAylzyfF2Eyueh0XbnMHfpFqBS7qaVM0/D+UxZkU0WNJ0x7G9XJvkiq49bZz2q1KLE4XuvVnTZSSjVSUAS8RtHfwUV33c=

before_deploy:
- mkdir /tmp/artifacts
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Presto [![Build Status](https://travis-ci.org/prestodb/presto.svg?branch=master)](https://travis-ci.org/prestodb/presto)
# Presto [![Build Status](https://travis-ci.org/twitter-forks/presto.svg?branch=twitter-master)](https://travis-ci.org/twitter-forks/presto)

Presto is a distributed SQL query engine for big data.

Expand Down
87 changes: 82 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
<packaging>pom</packaging>

<name>presto-root</name>
Expand All @@ -28,9 +28,9 @@
</licenses>

<scm>
<connection>scm:git:git://github.com/facebook/presto.git</connection>
<url>https://github.com/facebook/presto</url>
<tag>0.188</tag>
<connection>scm:git:git://github.com/twitter-forks/presto.git</connection>
<url>https://github.com/twitter-forks/presto</url>
<tag>0.188-tw-0.43</tag>
</scm>

<properties>
Expand Down Expand Up @@ -764,6 +764,12 @@
<version>3.6.1</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.4.2</version>
</dependency>

<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
Expand Down Expand Up @@ -846,6 +852,54 @@
<version>1.1.1.7</version>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
<version>2.12.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
Expand All @@ -869,7 +923,7 @@
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
<version>0.8</version>
<version>0.10</version>
<exclusions>
<exclusion>
<artifactId>log4j</artifactId>
Expand All @@ -879,6 +933,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down Expand Up @@ -978,6 +1036,11 @@
<version>3.1.4-1</version>
</dependency>

<dependency>
<groupId>com.hadoop.gplcompression</groupId>
<artifactId>hadoop-lzo</artifactId>
<version>0.4.16</version>
</dependency>
<!-- force newer version to be used for dependencies -->
<dependency>
<groupId>org.javassist</groupId>
Expand Down Expand Up @@ -1257,4 +1320,18 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>twitter-modules</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>presto-kafka07</module>
<module>twitter-eventlistener-plugin</module>
<module>presto-twitter-server</module>
</modules>
</profile>
</profiles>
</project>
2 changes: 1 addition & 1 deletion presto-accumulo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-accumulo</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-array/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-array</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-atop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-atop</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-base-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-base-jdbc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-benchmark-driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-benchmark-driver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>presto-root</artifactId>
<groupId>com.facebook.presto</groupId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-benchmark</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-benchto-benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-benchto-benchmarks</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-blackhole/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-blackhole</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-bytecode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-bytecode</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-cassandra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-cassandra</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion presto-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-cli</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableMap;
import com.google.common.net.HostAndPort;
import com.sun.security.auth.module.UnixSystem;
import io.airlift.airline.Option;
import io.airlift.units.Duration;

Expand Down Expand Up @@ -71,15 +72,16 @@ public class ClientOptions
@Option(name = "--keystore-password", title = "keystore password", description = "Keystore password")
public String keystorePassword;

// Pick the user name for the logged in user.
// Do not let it be overridden by users.
public String user = new UnixSystem().getUsername();

@Option(name = "--truststore-path", title = "truststore path", description = "Truststore path")
public String truststorePath;

@Option(name = "--truststore-password", title = "truststore password", description = "Truststore password")
public String truststorePassword;

@Option(name = "--user", title = "user", description = "Username")
public String user = System.getProperty("user.name");

@Option(name = "--password", title = "password", description = "Prompt for password")
public boolean password;

Expand Down
2 changes: 1 addition & 1 deletion presto-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.188</version>
<version>0.188-tw-0.43</version>
</parent>

<artifactId>presto-client</artifactId>
Expand Down
Loading