0

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!

Community
  • 1
  • 1
laike9m
  • 18,344
  • 20
  • 107
  • 140

1 Answers1

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