Inline. On Thu, Dec 8, 2011 at 12:58 AM, Periya.Data <[email protected]> wrote:
> Hi All, > I am seeing a problem which has been reported earlier a few times, > but, I do not know the solution yet. I am unable to run "hadoop fs -ls /" > successfully "most" of the time from my laptop. > > Some specs: > ----------------------- > - My laptop : > Ubuntu 11.10 Oneiric Ocelot > Hadoop-0.20.2-cdh3u2 > Apache Whirr 0.5.0-cdh3u2 > The latest release is 0.6.0. You can download from here: http://www.apache.org/dyn/closer.cgi/incubator/whirr/ > > EC2 instance: Ubuntu 10.04 32-bit LTS > *On term-1, I ran the proxy:* > sri@PeriyaData:~$ . ~/.whirr/HadoopDemo/hadoop-proxy.sh > Running proxy to Hadoop cluster at > ec2-174-129-76-176.compute-1.amazonaws.com. Use Ctrl-c to quit. > Warning: Permanently added > 'ec2-174-129-76-176.compute-1.amazonaws.com,174.129.76.176' > (RSA) to the list of known hosts. > > > *On term-2, I exported conf-dir and did "hadoop fs - ls /"* > sri@PeriyaData:~$ export HADOOP_CONF_DIR=~/.whirr/JTVHadoopDemo/ > sri@PeriyaData:~$ hadoop fs -ls / > 11/12/07 13:43:18 WARN conf.Configuration: DEPRECATED: hadoop-site.xml > found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use > core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of > core-default.xml, mapred-default.xml and hdfs-default.xml respectively > Bad connection to FS. command aborted. exception: Call to > ec2-174-129-76-176.compute-1.amazonaws.com/174.129.76.176:8020 failed on > local exception: java.io.EOFException Try with Whirr 0.6.0 - I am not sure if 0.5.0 install the latest CDH release. > Attached: Namenode and Jobtracker logs. > > The reason why initially mentioned "mostly" is because I was able to run > this command successfully one time, but, since I was switching AMIs, I do > not remember. > The AMI should be fine. I suspect this is either a version mistmatch or a local environment issue. > Also, along the same lines, I am unable to use proxy on Firefox..even after > I ran the hadoop-proxy.sh and loaded the PAC file. Unable to view the > "browse the filesystem" link from the dfshealth.jsp page. Not sure if this > problem is a related one. > How does a broken link look like? > > Thanks, > PD. > >
