Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
language: java
jdk: openjdk8
before_install:
- bash dev/travis-before_install.sh

jdk:
- openjdk8
- openjdk11

env:
- HADOOP_PROFILE=default TEST_CODECS=uncompressed,brotli
- HADOOP_PROFILE=default TEST_CODECS=gzip,snappy
Expand Down
6 changes: 3 additions & 3 deletions dev/travis-before_install.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
Expand All @@ -24,13 +25,12 @@ export THIFT_VERSION=0.12.0
set -e
date
sudo apt-get update -qq
sudo apt-get install -qq build-essential pv autoconf automake libtool curl make \
sudo apt-get install -qq --no-install-recommends 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
pwd
wget -nv https://archive.apache.org/dist/thrift/${THIFT_VERSION}/thrift-${THIFT_VERSION}.tar.gz
tar zxf thrift-${THIFT_VERSION}.tar.gz
wget -qO- https://archive.apache.org/dist/thrift/0.12.0/thrift-0.12.0.tar.gz | tar zxf -
cd thrift-${THIFT_VERSION}
chmod +x ./configure
./configure --disable-libs
Expand Down
10 changes: 7 additions & 3 deletions parquet-format-structures/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<plugin>
<groupId>org.apache.thrift</groupId>
<artifactId>thrift-maven-plugin</artifactId>
<version>${thrift-maven-plugin.version}</version>
<version>${thrift-maven-plugin.version}</version>
<configuration>
<thriftSourceRoot>${parquet.thrift.path}</thriftSourceRoot>
<thriftExecutable>${format.thrift.executable}</thriftExecutable>
Expand Down Expand Up @@ -126,9 +126,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<!-- We have to turn off the javadoc check because thrift generates improper comments -->
<additionalparam>-Xdoclint:none</additionalparam>
<doclint>none</doclint>
<source>8</source>
</configuration>
</plugin>
</plugins>
Expand All @@ -139,9 +141,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<!-- We have to turn off the javadoc check because thrift generates improper comments -->
<additionalparam>-Xdoclint:none</additionalparam>
<doclint>none</doclint>
<source>8</source>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,4 @@ public static void cleanDirectBuffer(ByteBuffer buf) {
}
}
}

}
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<guava.version>27.0.1-jre</guava.version>
<brotli-codec.version>0.1.1</brotli-codec.version>
<mockito.version>1.10.19</mockito.version>
<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>

<!-- parquet-cli dependencies -->
<opencsv.version>2.3</opencsv.version>
Expand Down Expand Up @@ -163,7 +164,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<version>${maven-javadoc-plugin.version}</version>
<reportSets>
<reportSet><!-- by default, id = "default" -->
<reports><!-- select non-aggregate reports -->
Expand All @@ -183,6 +184,7 @@
<sourceFileExcludes>
<sourceFileExclude>**/generated-sources/**/*.java</sourceFileExclude>
</sourceFileExcludes>
<source>8</source>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -365,6 +367,17 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<sourceFileExcludes>
<sourceFileExclude>**/generated-sources/**/*.java</sourceFileExclude>
</sourceFileExcludes>
<source>8</source>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
Expand Down