linux - -su: syntax error near unexpected token `<' when edit mapred-site.xml -
<configuration> <property> <name>mapreduce.jobtracker.address</name> <value>local</value> </property> </configuration> hi,
i trying edit mapred-site.xml file below configuration entries keep receiving error: -su: syntax error near unexpected token `<'
thank help, michal.
it seems trying run following section on linux shell:
<configuration> <property> <name>mapreduce.jobtracker.address</name> <value>local</value> </property> </configuration> which gives error: bash: syntax error near unexpected token `<'.
to edit file in linux, can use nano text editor. if don't have installed can install by:
sudo apt-get update sudo apt-get install nano after that, open mapred-site.xml file that:
sudo nano /path/to/mapred-site.xml
edit text want, , click ctrl + o => click enter , click ctrl + x exit text editor.
Comments
Post a Comment