Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

2.0 KB
Raw Blame
#
# 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.
#

# In build.gradle.kts, we would automatic replace GRAVITINO_VERSION to the current version of Gravitino
# when running `./gradlew compileDistribution` or `./gradlew compileIcebergRESTServer` command.
GRAVITINO_VERSION=GRAVITINO_VERSION_PLACEHOLDER

# Debug Gravitino server
# export GRAVITINO_DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000 -Dlog4j2.debug=true"

# export JAVA_HOME
# export GRAVITINO_HOME
# export GRAVITINO_CONF_DIR
# export GRAVITINO_LOG_DIR     # Where log files are stored.  PWD by default.
# export GRAVITINO_MEM         # JVM memory options for the Gravitino server, Iceberg REST server, and Lance REST server.
#                             # Default: -Xms1024m -Xmx1024m -XX:MaxMetaspaceSize=512m
#                             # Appended to JAVA_OPTS by launch scripts; set GRAVITINO_MEM to change heap/metaspace sizes.
# export GRAVITINO_OUT_FILE_KEEP  # Number of previous .out files kept when a server starts. Default: 5.

# UI selection behaviour:
# - Default to the v2 UI when GRAVITINO_USE_WEB_V2 is unset or empty.
# - If GRAVITINO_USE_WEB_V2 is already provided (non-empty) by container/k8s env, keep that value.
# - To force the v1 UI, set GRAVITINO_USE_WEB_V2=false.
export GRAVITINO_USE_WEB_V2="${GRAVITINO_USE_WEB_V2:-true}"