Skip to content
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 hadoop-ozone/dist/src/main/smoketest/cli/envvars.robot
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Find valid dirs
Should Contain ${output} OZONE_CONF_DIR='/opt/hadoop/etc/hadoop'
Should Contain ${output} OZONE_LIBEXEC_DIR='/opt/hadoop/libexec'
Should Contain ${output} WARNING: HADOOP_HOME
Should Not Contain ${output} WARNING: OZONE_CONF_DIR
Should Not Contain ${output} WARNING: HADOOP_CONF_DIR

Picks up deprecated vars if valid
Expand Down
1 change: 0 additions & 1 deletion hadoop-ozone/dist/src/shell/ozone/ozone-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ ozone_exec_userfuncs
#

ozone_exec_user_env
ozone_verify_confdir

ozone_deprecate_envvar HADOOP_SLAVES HADOOP_WORKERS
ozone_deprecate_envvar HADOOP_SLAVE_NAMES HADOOP_WORKER_NAMES
Expand Down
2 changes: 1 addition & 1 deletion hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ function ozone_verify_confdir
{
# Check only log4j.properties by default.
# --loglevel does not work without logger settings in log4j.properties.
[[ -f "${OZONE_CONF_DIR}/log4j.properties" ]]
[[ -f "${1:?ozone_verify_confir requires parameter}/log4j.properties" ]]
}

## @description Import the ozone-env.sh settings
Expand Down