Reputation: 19368
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!
Upvotes: 0
Views: 215
Reputation: 19368
Yes, you can. e.g.
<property>
<name>dfs.name.dir</name>
<value>${user.home}/hadoop-1.2.1/hdfs/name</value>
</property>
Upvotes: 1