[ http://issues.apache.org/jira/browse/HADOOP-684?page=comments#action_12447605 ] Yoram Arnon commented on HADOOP-684: ------------------------------------
I routinely view node logs and output files from w/in the browser, w/out saving it first - it's a local browser setup (open with..., always open with...). I do this with firefox and IE, on windows and linux. Which OS/browser are you using that doesn't allow this? > it would be nice to be able to view log and output files w/in the browser > ------------------------------------------------------------------------- > > Key: HADOOP-684 > URL: http://issues.apache.org/jira/browse/HADOOP-684 > Project: Hadoop > Issue Type: Improvement > Components: scripts > Environment: osx, ubuntu 6.10b > Reporter: James Todd > Priority: Minor > > it would be nice to be able to view the node logs and output files from w/in > the browser vs saving the file and opening an external application. > one way to achieve this is to simply add ".txt" as a suffix to the relevant > files, eg: > Index: bin/hadoop-daemon.sh > =================================================================== > --- bin/hadoop-daemon.sh (revision 468719) > +++ bin/hadoop-daemon.sh (working copy) > @@ -50,9 +50,9 @@ > fi > > # some variables > -export HADOOP_LOGFILE=hadoop-$HADOOP_IDENT_STRING-$command-`hostname`.log > +export HADOOP_LOGFILE=hadoop-$HADOOP_IDENT_STRING-$command-`hostname`.log.txt > export HADOOP_ROOT_LOGGER="INFO,DRFA" > -log=$HADOOP_LOG_DIR/hadoop-$HADOOP_IDENT_STRING-$command-`hostname`.out > +log=$HADOOP_LOG_DIR/hadoop-$HADOOP_IDENT_STRING-$command-`hostname`.out.txt > pid=$HADOOP_PID_DIR/hadoop-$HADOOP_IDENT_STRING-$command.pid > > # Set default scheduling priority > it has been suggested that perhaps the content type of the log files could be > specified, thereby allowing for wider/richer support. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
