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

Move out metastore_browser from airflow.contrib #9341

Merged
merged 2 commits into from
Jun 17, 2020
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
!dev
!docs
!licenses
!metastore_browser
!scripts
!tests

Expand Down
1 change: 1 addition & 0 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ RUN chmod a+x /entrypoint

# Copy selected subdirectories only
COPY .github/ ${AIRFLOW_SOURCES}/.github/
COPY metastore_browser/ ${AIRFLOW_SOURCES}/metastore_browser/
COPY dags/ ${AIRFLOW_SOURCES}/dags/
COPY common/ ${AIRFLOW_SOURCES}/common/
COPY licenses/ ${AIRFLOW_SOURCES}/licenses/
Expand Down
30 changes: 30 additions & 0 deletions metastore_browser/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
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.
-->

# Apache Hive metastore plugin

This is an example plugin for Apache Airflow.

This plugin allows you to view Apache Hive metastore from the web UI interface.

## Installation

To use this plugin, copy the contents of this directory to the plugins directory.
The location of this directory is specified by `plugins_folder` option in `core` section.
By default, it's `{AIRFLOW_HOME}/plugins`.
1 change: 1 addition & 0 deletions scripts/ci/docker-compose/local-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
- ../../../setup.py:/opt/airflow/setup.py:cached
- ../../../tests:/opt/airflow/tests:cached
- ../../../tmp:/tmp:cached
- ../../../metastore_browser:/opt/airflow/metastore_browser:cached
environment:
- HOST_USER_ID
- HOST_GROUP_ID
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/docker-compose/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
- ../../../tests:/opt/airflow/tests:cached
- ../../../kubernetes_tests:/opt/airflow/kubernetes_tests:cached
- ../../../tmp:/tmp:cached
- ../../../metastore_browser:/opt/airflow/metastore_browser:cached
# END automatically generated volumes from LOCAL_MOUNTS in _local_mounts.sh
environment:
- HOST_USER_ID
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/libraries/_local_mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function generate_local_mounts_list {
"$prefix"tests:/opt/airflow/tests:cached
"$prefix"kubernetes_tests:/opt/airflow/kubernetes_tests:cached
"$prefix"tmp:/tmp:cached
"$prefix"metastore_browser:/opt/airflow/metastore_browser:cached
)
}

Expand Down