According to this question, I can use Java System Property in tomcat's conf xml. Does this also apply to hadoop's configuration file, like core-site.xml
, hdfs-site.xml
? Thank you!
Asked
Active
Viewed 206 times
1 Answers
1
Yes, you can. e.g.
<property>
<name>dfs.name.dir</name>
<value>${user.home}/hadoop-1.2.1/hdfs/name</value>
</property>

laike9m
- 18,344
- 20
- 107
- 140