mirror of
https://github.com/apache/impala.git
synced 2026-01-21 15:03:35 -05:00
The containers are essentially the same except for -is_executor and -is_coordinator flags and the open ports (executors don't need to expose HS2 and Beeswax). Over time we may want to specialize the configurations further. Building separate containers on top of impala_base is lightweight enough and this a) reduces the amount of configuration required and b) makes it clear which ports should open. It will also nudge people in the direction of using dedicated coordinators and executors in Kubernetes, which I believe is the right approach. The previous impalad container was renamed to impalad_coord_exec to be unambiguous. Change-Id: I22f8ded167179478d7556f612b8b3e9d1b019a7a Reviewed-on: http://gerrit.cloudera.org:8080/12228 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
27 lines
1.1 KiB
Docker
27 lines
1.1 KiB
Docker
# 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.
|
|
|
|
FROM impala_base
|
|
|
|
# Externally-facing ports
|
|
# Debug webserver
|
|
EXPOSE 25000
|
|
|
|
ENTRYPOINT ["/opt/impala/bin/daemon_entrypoint.sh", "/opt/impala/bin/impalad",\
|
|
"-abort_on_config_error=false", "-state_store_host=statestored",\
|
|
"-catalog_service_host=catalogd" "-is_coordinator=false"]
|