Lee Dongjin created TAJO-2184:
---------------------------------
Summary: Can not run Tajo with non-default $TAJO_CONF_DIR
Key: TAJO-2184
URL: https://issues.apache.org/jira/browse/TAJO-2184
Project: Tajo
Issue Type: Bug
Components: conf and scripts
Reporter: Lee Dongjin
Priority: Minor
When running start-tajo with non-default TAJO_CONF_DIR, it fails to start
workers; More precisely, it tries to start workers with default TAJO_CONF_DIR
(=${TAJO_HOME}/conf) and fails.
The missing of --conf parameter in start-tajo.sh causes this problem. For
reference, I hereby attach the similar shell code from Hadoop project[^1] - you
can see '--conf' is configured here, to run workers via SSH.
```
# start hdfs daemons if hdfs is present
if [[ -f "${HADOOP_HDFS_HOME}/sbin/start-dfs.sh" ]]; then
"${HADOOP_HDFS_HOME}/sbin/start-dfs.sh" --config "${HADOOP_CONF_DIR}"
fi
```
This update gives any significant improvements on performance or user
convenience, but it will greatly help the users who try to update Tajo version
with legacy configurations or who tries debugging Tajo.
[^1]:
https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)