Could have `conf/hadoop-common`, `conf/hadoop2`, and `conf/hadoop3` dirs.  Then 
the script could do something like the following.

```bash
cp "$UNO_HOME"/conf/hadoop-common/* "$hadoop_conf/"
if [[ $HADOOP_VERSION =~ ^2\..*$ ]]; then
  cp "$UNO_HOME"/conf/hadoop2/* "$hadoop_conf/"
 else
  cp "$UNO_HOME"/conf/hadoop3/* "$hadoop_conf/"
 fi
```

This avoids hard coding the files in the script, which could allow the user to 
drop additional files in the dirs.

[ Full content available at: https://github.com/apache/fluo-uno/pull/200 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to