hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Lewis <lordjoe2...@gmail.com>
Subject Problems talking to the cluster over VPN
Date Thu, 06 Oct 2011 21:19:37 GMT
I have code to talk to a remote cluster where host = "myhost:" and port =
9000

       String connectString =   "hdfs://" + host + ":" + port + "/";
        try {
            Configuration config = new Configuration();

            config.set("fs.default.name",connectString);

            m_DFS = FileSystem.get(config);
        }
        catch (IOException e) {
            throw new RuntimeException("Failed to connect on " +
connectString + " because " + e.getMessage() +
               " exception of class " + e.getClass(),e);
        }

The code runs properly if I  run at work but at home over the VPN it times
out

IT assures me that no ports are blocked on the VPN

in the browser http://myhost:50075/browseDirectory.jsp?dir=/<http://glados2:50075/browseDirectory.jsp?dir=/>

shows the hdfs file system when I an connected on the VPN

I am on Windows 7 at home and at work and turning off the firewall does not
help

Any Bright Ideas

-- 
Steven M. Lewis PhD
4221 105th Ave NE
Kirkland, WA 98033
206-384-1340 (cell)
Skype lordjoe_com

Mime
View raw message