diff --git a/cpp/apidoc/Doxyfile b/cpp/apidoc/Doxyfile index 51f5543b2de1..312766241332 100644 --- a/cpp/apidoc/Doxyfile +++ b/cpp/apidoc/Doxyfile @@ -891,7 +891,7 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded @@ -908,6 +908,7 @@ EXCLUDE_SYMLINKS = NO # exclude all test directories for example use the pattern */test/* EXCLUDE_PATTERNS = *-test.cc \ + *_generated.h \ *-benchmark.cc # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names diff --git a/dev/release/run-rat.sh b/dev/release/run-rat.sh index a3c12a0ce8a9..9c34e073e628 100755 --- a/dev/release/run-rat.sh +++ b/dev/release/run-rat.sh @@ -58,13 +58,15 @@ $RAT $1 \ -e "*.html" \ -e "*.css" \ -e "*.png" \ + -e "*.svg" \ -e "*.devhelp2" \ + -e "*.scss" \ > rat.txt cat rat.txt UNAPPROVED=`cat rat.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1` if [ "0" -eq "${UNAPPROVED}" ]; then - echo "No unnaproved licenses" + echo "No unapproved licenses" else echo "${UNAPPROVED} unapproved licences. Check rat report: rat.txt" exit 1 diff --git a/java/pom.xml b/java/pom.xml index 5d07186e3e71..e586005e395c 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -532,6 +532,31 @@ + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9 + + + + javadoc + test-javadoc + + + + aggregate + false + + aggregate + + + + + + + format memory diff --git a/site/.gitignore b/site/.gitignore new file mode 100644 index 000000000000..46bc466d3028 --- /dev/null +++ b/site/.gitignore @@ -0,0 +1,6 @@ +_site +.sass-cache +.jekyll-metadata +Gemfile.lock +asf-site +build/ diff --git a/site/Gemfile b/site/Gemfile new file mode 100644 index 000000000000..98decaf35dbe --- /dev/null +++ b/site/Gemfile @@ -0,0 +1,25 @@ +# 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 regarding copyright ownership. +# The ASF licenses this file to you under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +source "https://rubygems.org" +ruby RUBY_VERSION +gem "jekyll", "3.4.3" +gem 'jekyll-bootstrap-sass' +gem 'github-pages' +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.6" +end +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/site/README.md b/site/README.md new file mode 100644 index 000000000000..3f8da2252f96 --- /dev/null +++ b/site/README.md @@ -0,0 +1,85 @@ + + +## Apache Arrow Website + +### Development instructions + +If you are planning to publish the website, you must first clone the arrow-site +git repository: + +```shell +git clone --branch=asf-site https://git-wip-us.apache.org/repos/asf/arrow-site.git asf-site +``` + +Now, with Ruby >= 2.1 installed, run: + +```shell +gem install jekyll bundler +bundle install + +# This imports the format Markdown documents so they will be rendered +scripts/sync_format_docs.sh + +bundle exec jekyll serve +``` + +### Publishing + +After following the above instructions the base `site/` directory, run: + +```shell +bundle exec jekyll build +rsync -r build/ asf-site/ +cd asf-site +git status +``` + +Now `git add` any new files, then commit everything, and push: + +``` +git push +``` + +### Updating Code Documentation + +#### Java + +``` +cd ../java +mvn install +mvn site +rsync -r target/site/apidocs/ ../site/asf-site/docs/java/ +``` + +#### C++ + +``` +cd ../cpp/apidoc +doxygen Doxyfile +rsync -r html/ ../../site/asf-site/docs/cpp +``` + +#### Python + +First, build PyArrow with all optional extensions (Apache Parquet, jemalloc). + +``` +cd ../python +python setup.py build_ext --inplace --with-parquet --with-jemalloc +python setup.py build_sphinx -s doc/source +rsync -r doc/_build/html/ ../site/asf-site/docs/python/ +``` + +Then add/commit/push from the site/asf-site git checkout. \ No newline at end of file diff --git a/site/_config.yml b/site/_config.yml new file mode 100644 index 000000000000..922af4a08059 --- /dev/null +++ b/site/_config.yml @@ -0,0 +1,43 @@ +# 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 regarding copyright ownership. +# The ASF licenses this file to you under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +markdown: kramdown +repository: https://github.com/apache/arrow +destination: build + +exclude: + - Gemfile + - Gemfile.lock + - _docs/format/* + - asf-site + - scripts + - README.md + +collections: + docs: + output: true + +sass: + style: compressed + +# The base path where the website is deployed +baseurl: + +gems: + - jekyll-feed + - jekyll-bootstrap-sass + +bootstrap: + assets: true diff --git a/site/_docs/.gitignore b/site/_docs/.gitignore new file mode 100644 index 000000000000..1e942fc5eadf --- /dev/null +++ b/site/_docs/.gitignore @@ -0,0 +1 @@ +format/ \ No newline at end of file diff --git a/site/_docs/ipc.md b/site/_docs/ipc.md new file mode 100644 index 000000000000..bc22dc3bfa7b --- /dev/null +++ b/site/_docs/ipc.md @@ -0,0 +1,25 @@ +--- +layout: docs +title: Arrow Messaging and IPC +permalink: /docs/ipc.html +--- + + +{% include_relative format/IPC.md %} \ No newline at end of file diff --git a/site/_docs/memory_layout.md b/site/_docs/memory_layout.md new file mode 100644 index 000000000000..74cd7ed7f7de --- /dev/null +++ b/site/_docs/memory_layout.md @@ -0,0 +1,25 @@ +--- +layout: docs +title: Physical Memory Layout +permalink: /docs/memory_layout.html +--- + + +{% include_relative format/Layout.md %} \ No newline at end of file diff --git a/site/_docs/metadata.md b/site/_docs/metadata.md new file mode 100644 index 000000000000..382ab0eaaf61 --- /dev/null +++ b/site/_docs/metadata.md @@ -0,0 +1,25 @@ +--- +layout: docs +title: Arrow Metadata +permalink: /docs/metadata.html +--- + + +{% include_relative format/Metadata.md %} \ No newline at end of file diff --git a/site/_includes/footer.html b/site/_includes/footer.html new file mode 100644 index 000000000000..c2a7d5e92bb2 --- /dev/null +++ b/site/_includes/footer.html @@ -0,0 +1,4 @@ + diff --git a/site/_includes/header.html b/site/_includes/header.html new file mode 100644 index 000000000000..5963c22abea0 --- /dev/null +++ b/site/_includes/header.html @@ -0,0 +1,53 @@ + diff --git a/site/_includes/top.html b/site/_includes/top.html new file mode 100644 index 000000000000..cc537bac07ba --- /dev/null +++ b/site/_includes/top.html @@ -0,0 +1,20 @@ + + + + + {{ page.title }} + + + + + + + Apache Arrow Homepage + + + + + + diff --git a/site/_layouts/default.html b/site/_layouts/default.html new file mode 100644 index 000000000000..d0ff799b97ab --- /dev/null +++ b/site/_layouts/default.html @@ -0,0 +1,12 @@ +{% include top.html %} + + +
+ {% include header.html %} + + {{ content }} + + {% include footer.html %} +
+ + diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html new file mode 100644 index 000000000000..2ef9cf485e47 --- /dev/null +++ b/site/_layouts/docs.html @@ -0,0 +1,14 @@ +{% include top.html %} + + +
+ {% include header.html %} + + {{ content }} + +
+ + {% include footer.html %} +
+ + diff --git a/site/_sass/_font-awesome.scss b/site/_sass/_font-awesome.scss new file mode 100644 index 000000000000..d90676c2b9e5 --- /dev/null +++ b/site/_sass/_font-awesome.scss @@ -0,0 +1,25 @@ +/*! + * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.2.0'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.fa-link:before { + content: "\f0c1"; +} +.fa-pencil:before { + content: "\f040"; +} diff --git a/site/css/main.scss b/site/css/main.scss new file mode 100644 index 000000000000..24b46ae24ccf --- /dev/null +++ b/site/css/main.scss @@ -0,0 +1,10 @@ +--- +--- + +$container-desktop: 960px; +$container-large-desktop: $container-desktop; +$grid-gutter-width: 15px; + +@import "bootstrap-sprockets"; +@import "bootstrap"; +@import "font-awesome"; diff --git a/site/img/asf_logo.svg b/site/img/asf_logo.svg new file mode 100644 index 000000000000..620694c52418 --- /dev/null +++ b/site/img/asf_logo.svg @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/site/img/copy.png b/site/img/copy.png new file mode 100644 index 000000000000..a1e04999eb3f Binary files /dev/null and b/site/img/copy.png differ diff --git a/site/img/copy2.png b/site/img/copy2.png new file mode 100644 index 000000000000..7869daddefe9 Binary files /dev/null and b/site/img/copy2.png differ diff --git a/site/img/shared.png b/site/img/shared.png new file mode 100644 index 000000000000..7869daddefe9 Binary files /dev/null and b/site/img/shared.png differ diff --git a/site/img/shared2.png b/site/img/shared2.png new file mode 100644 index 000000000000..a1e04999eb3f Binary files /dev/null and b/site/img/shared2.png differ diff --git a/site/img/simd.png b/site/img/simd.png new file mode 100644 index 000000000000..b532f387f173 Binary files /dev/null and b/site/img/simd.png differ diff --git a/site/index.html b/site/index.html new file mode 100644 index 000000000000..aecaea525166 --- /dev/null +++ b/site/index.html @@ -0,0 +1,171 @@ +--- +layout: default +--- +
+
+

Apache Arrow

+

Powering Columnar In-Memory Analytics

+

+ Join Mailing List +

+
+
+
+

Fast

+

Apache Arrow™ enables execution engines to take advantage of the latest SIMD (Single input multiple data) operations included in modern processors, for native vectorized optimization of analytical data processing. Columnar layout of data also allows for a better use of CPU caches by placing all data relevant to a column operation in as compact of a format as possible.

+
+
+

Flexible

+

Arrow acts as a new high-performance interface between various systems. It is also focused on supporting a wide variety of industry-standard programming languages. Java, C, C++, Python are underway and more languages are expected soon.

+
+
+

Standard

+

Apache Arrow is backed by key developers of 13 major open source projects, including Calcite, Cassandra, Drill, Hadoop, HBase, Ibis, Impala, Kudu, Pandas, Parquet, Phoenix, Spark, and Storm making it the de-facto standard for columnar in-memory analytics.

+
+
+ +
+
+

Developer Mailing List

+ +
+
+

Developer Resources

+

Arrow is still early in development.

+

Source Code (http) (git)

+

Issue Tracker (JIRA)

+

Chat Room (Slack)

+
+
+

Latest release

+

Apache Arrow 0.2.0 is an early release and the APIs are still evolving. The metadata and physical data representation should be fairly stable as we have spent time finalizing the details.

+

source release

+

tag apache-arrow-0.2.0

+

java artifacts on maven central

+
+
+

Performance Advantage of Columnar In-Memory

+
+ SIMD +
+

Advantages of a Common Data Layer

+ +
+
+common data layer +
    +
  • Each system has its own internal memory format
  • +
  • 70-80% CPU wasted on serialization and deserialization
  • +
  • Similar functionality implemented in multiple projects
  • +
+
+
+common data layer +
    +
  • All systems utilize the same memory format
  • +
  • No overhead for cross-system communication
  • +
  • Projects can share functionality (eg, Parquet-to-Arrow reader)
  • +
+
+
+

Committers

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameAlias (email is <alias>@apache.org)
Jacques Nadeaujacques
Todd Lipcontodd
Ted Dunningtdunning
Michael Stackstack
P. Taylor Goetzptgoetz
Julian Hydejhyde
Reynold Xinrxin
James Taylorjamestaylor
Julien Le Demjulien
Jake Lucianijake
Jason Altekrusejson
Alex Levensonalexlevenson
Parth Chandraparthc
Marcel Kornackermarcel
Steven Phillipssmp
Hanifi Guneshg
Abdelhakim Denecheadeneche
Wes McKinneywesm
David Alvesdralves
Ippokratis Pandisippokratis
Uwe L. Kornuwe
+ +
+ + diff --git a/site/scripts/sync_format_docs.sh b/site/scripts/sync_format_docs.sh new file mode 100755 index 000000000000..4b50f9d1707d --- /dev/null +++ b/site/scripts/sync_format_docs.sh @@ -0,0 +1,23 @@ +#!/bin/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 +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +set -ex + +cp -r $(dirname "$BASH_SOURCE")/../../format _docs/format