Skip to content

Commit

Permalink
Move out metastore_browser from airflow.contrib (apache#9341)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored Jun 17, 2020
1 parent 0b9bf4a commit 6a9c436
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 0 deletions.
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`.
File renamed without changes.
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

0 comments on commit 6a9c436

Please sign in to comment.