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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -