如何查看Hadoop運行過程中產生日誌
轉自:
http://www.tuicool.com/articles/a6nMby
mapred-site.xml裏面配置運行日誌的輸出目錄,文件內容如下:
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Put site-specific property overrides in this file. --> <configuration> <!-- jobtracker的master地址--> <property> <name>mapred.job.tracker</name> <value>192.168.75.130:9001</value> </property> <property> <!-- hadoop的日誌輸出指定目錄--> <name>mapred.local.dir</name> <value>/root/hadoop1.2/mylogs</value> </property> </configuration>