[ https://issues.apache.org/jira/browse/HADOOP-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J resolved HADOOP-684. ---------------------------- Resolution: Invalid All log files are plain text files openable by a ton of tools out there, even browsers today, and the DFS does carry a browser along in the web UI for the DFS files. Logger levels can also be set and logs can be queried via the /logs and /logLevel areas of any web UI under Hadoop. Resolving as Invalid (now). > it would be nice to be able to view log and output files w/in the browser > ------------------------------------------------------------------------- > > Key: HADOOP-684 > URL: https://issues.apache.org/jira/browse/HADOOP-684 > Project: Hadoop Common > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira