-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'apache:master' into large-offsets-ipc
- Loading branch information
Showing
27 changed files
with
714 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,3 +220,160 @@ Common Errors | |
.. _Archery: https://github.com/apache/arrow/blob/master/dev/archery/README.md | ||
.. _Dependency Resolution: https://arrow.apache.org/docs/developers/cpp/building.html#individual-dependency-resolution | ||
.. _C++ shared libraries: https://arrow.apache.org/docs/cpp/build_system.html | ||
|
||
|
||
Installing Nightly Packages | ||
=========================== | ||
|
||
.. warning:: | ||
These packages are not official releases. Use them at your own risk. | ||
|
||
Arrow nightly builds are posted on the mailing list at `[email protected]`_. | ||
The artifacts are uploaded to GitHub. For example, for 2022/07/30, they can be found at `Github Nightly`_. | ||
|
||
|
||
Installing from Apache Nightlies | ||
-------------------------------- | ||
1. Look up the nightly version number for the Arrow libraries used. | ||
|
||
For example, for ``arrow-memory``, visit https://nightlies.apache.org/arrow/java/org/apache/arrow/arrow-memory/ and see what versions are available (e.g. 9.0.0.dev501). | ||
2. Add Apache Nightlies Repository to the Maven/Gradle project. | ||
|
||
.. code-block:: xml | ||
<properties> | ||
<arrow.version>9.0.0.dev501</arrow.version> | ||
</properties> | ||
... | ||
<repositories> | ||
<repository> | ||
<id>arrow-apache-nightlies</id> | ||
<url>https://nightlies.apache.org/arrow/java</url> | ||
</repository> | ||
</repositories> | ||
... | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.arrow</groupId> | ||
<artifactId>arrow-vector</artifactId> | ||
<version>${arrow.version}</version> | ||
</dependency> | ||
</dependencies> | ||
... | ||
Installing Manually | ||
------------------- | ||
|
||
1. Decide nightly packages repository to use, for example: https://github.com/ursacomputing/crossbow/releases/tag/nightly-packaging-2022-07-30-0-github-java-jars | ||
2. Add packages to your pom.xml, for example: flight-core (it depends on: arrow-format, arrow-vector, arrow-memeory-core and arrow-memory-netty). | ||
|
||
.. code-block:: xml | ||
<properties> | ||
<maven.compiler.source>8</maven.compiler.source> | ||
<maven.compiler.target>8</maven.compiler.target> | ||
<arrow.version>9.0.0.dev501</arrow.version> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.arrow</groupId> | ||
<artifactId>flight-core</artifactId> | ||
<version>${arrow.version}</version> | ||
</dependency> | ||
</dependencies> | ||
3. Download the necessary pom and jar files to a temporary directory: | ||
|
||
.. code-block:: shell | ||
$ mkdir nightly-packaging-2022-07-30-0-github-java-jars | ||
$ cd nightly-packaging-2022-07-30-0-github-java-jars | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-java-root-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-format-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-format-9.0.0.dev501.jar | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-vector-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-vector-9.0.0.dev501.jar | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-memory-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-memory-core-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-memory-netty-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-memory-core-9.0.0.dev501.jar | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-memory-netty-9.0.0.dev501.jar | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/arrow-flight-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/flight-core-9.0.0.dev501.pom | ||
$ wget https://github.com/ursacomputing/crossbow/releases/download/nightly-packaging-2022-07-30-0-github-java-jars/flight-core-9.0.0.dev501.jar | ||
$ tree | ||
. | ||
├── arrow-flight-9.0.0.dev501.pom | ||
├── arrow-format-9.0.0.dev501.jar | ||
├── arrow-format-9.0.0.dev501.pom | ||
├── arrow-java-root-9.0.0.dev501.pom | ||
├── arrow-memory-9.0.0.dev501.pom | ||
├── arrow-memory-core-9.0.0.dev501.jar | ||
├── arrow-memory-core-9.0.0.dev501.pom | ||
├── arrow-memory-netty-9.0.0.dev501.jar | ||
├── arrow-memory-netty-9.0.0.dev501.pom | ||
├── arrow-vector-9.0.0.dev501.jar | ||
├── arrow-vector-9.0.0.dev501.pom | ||
├── flight-core-9.0.0.dev501.jar | ||
└── flight-core-9.0.0.dev501.pom | ||
4. Install the artifacts to the local Maven repository with ``mvn install:install-file``: | ||
|
||
.. code-block:: shell | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-java-root-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-java-root -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-format-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-format -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-format-9.0.0.dev501.jar" -DgroupId=org.apache.arrow -DartifactId=arrow-format -Dversion=9.0.0.dev501 -Dpackaging=jar | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-vector-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-vector -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-vector-9.0.0.dev501.jar" -DgroupId=org.apache.arrow -DartifactId=arrow-vector -Dversion=9.0.0.dev501 -Dpackaging=jar | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-memory-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-memory -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-memory-core-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-memory-core -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-memory-netty-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-memory-netty -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-memory-core-9.0.0.dev501.jar" -DgroupId=org.apache.arrow -DartifactId=arrow-memory-core -Dversion=9.0.0.dev501 -Dpackaging=jar | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-memory-netty-9.0.0.dev501.jar" -DgroupId=org.apache.arrow -DartifactId=arrow-memory-netty -Dversion=9.0.0.dev501 -Dpackaging=jar | ||
$ mvn install:install-file -Dfile="$(pwd)/arrow-flight-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=arrow-flight -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/flight-core-9.0.0.dev501.pom" -DgroupId=org.apache.arrow -DartifactId=flight-core -Dversion=9.0.0.dev501 -Dpackaging=pom | ||
$ mvn install:install-file -Dfile="$(pwd)/flight-core-9.0.0.dev501.jar" -DgroupId=org.apache.arrow -DartifactId=flight-core -Dversion=9.0.0.dev501 -Dpackaging=jar | ||
5. Validate that the packages were installed: | ||
|
||
.. code-block:: shell | ||
$ tree ~/.m2/repository/org/apache/arrow | ||
. | ||
├── arrow-flight | ||
│ ├── 9.0.0.dev501 | ||
│ │ └── arrow-flight-9.0.0.dev501.pom | ||
├── arrow-format | ||
│ ├── 9.0.0.dev501 | ||
│ │ ├── arrow-format-9.0.0.dev501.jar | ||
│ │ └── arrow-format-9.0.0.dev501.pom | ||
├── arrow-java-root | ||
│ ├── 9.0.0.dev501 | ||
│ │ └── arrow-java-root-9.0.0.dev501.pom | ||
├── arrow-memory | ||
│ ├── 9.0.0.dev501 | ||
│ │ └── arrow-memory-9.0.0.dev501.pom | ||
├── arrow-memory-core | ||
│ ├── 9.0.0.dev501 | ||
│ │ ├── arrow-memory-core-9.0.0.dev501.jar | ||
│ │ └── arrow-memory-core-9.0.0.dev501.pom | ||
├── arrow-memory-netty | ||
│ ├── 9.0.0.dev501 | ||
│ │ ├── arrow-memory-netty-9.0.0.dev501.jar | ||
│ │ └── arrow-memory-netty-9.0.0.dev501.pom | ||
├── arrow-vector | ||
│ ├── 9.0.0.dev501 | ||
│ │ ├── _remote.repositories | ||
│ │ ├── arrow-vector-9.0.0.dev501.jar | ||
│ │ └── arrow-vector-9.0.0.dev501.pom | ||
└── flight-core | ||
├── 9.0.0.dev501 | ||
│ ├── flight-core-9.0.0.dev501.jar | ||
│ └── flight-core-9.0.0.dev501.pom | ||
6. Compile your project like usual with ``mvn clean install``. | ||
|
||
.. _[email protected]: https://lists.apache.org/[email protected] | ||
.. _Github Nightly: https://github.com/ursacomputing/crossbow/releases/tag/nightly-packaging-2022-07-30-0-github-java-jars |
Oops, something went wrong.