[ 
https://issues.apache.org/jira/browse/TAJO-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lee Dongjin updated TAJO-2184:
------------------------------
    Description: 
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|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh]
 - you can see '--conf' is configured here, to run workers via SSH.

This update gives any significant improvements on performance or user 
convenience yet, it will greatly help the users who try to update Tajo version 
with legacy configurations or who tries debugging Tajo.

  was:
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


> 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|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/bin/start-all.sh]
>  - you can see '--conf' is configured here, to run workers via SSH.
> This update gives any significant improvements on performance or user 
> convenience yet, it will greatly help the users who try to update Tajo 
> version with legacy configurations or who tries debugging Tajo.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to