Re: hadoop log timestamps & file timestamps not same as system time

2010-04-22 Thread Stuart Smith
Hello Eric, There's definitely an issue with timezones here (yes, deprecated, but to the point): import java.util.Date; import java.io.*; class testDateTime { public static void main( String[] argv ) { Date d = new Date(); System.out.pri

Re: hadoop log timestamps & file timestamps not same as system time [SOLVED]

2010-04-22 Thread Stuart Smith
Ok. Solved the timestamp issue. The best solution I found was: export TZ=`cat /etc/timezone` (which I added to .bashrc) I found it here: http://davidwinterbourne.com/?p=37 With the common explanation that it should be symbolic link or java scans /usr/share/zoneinfo looking for a match using so

Host name problem in HDFS GUI

2010-04-22 Thread David Rosenstrauch
Having an issue with host names on my new Hadoop cluster. The cluster is currently 1 name node and 2 data nodes, running in a cloud vendor data center. All is well with general operations of the cluster - i.e., name node and data nodes can talk just fine, I can read/write to/from the HDFS, ya