Hi Gareth, What is the exception that is thrown. The internet should be accesible from the sandbox. Thanks, Ted. ...
What is the exception that is thrown. The internet should be accesible from the sandbox.
I am trying to run a mapreduce job running on the hortonworks sandbox within which the following code is executed, in order to parse the text from a website. However an exception is being thrown when it tries to open the connection. Is internet access possible from the sandbox?
Thanks and regards
URL ipToLocation = new URL(“URL Required”);
URLConnection ic = ipToLocation.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader( ic.getInputStream()));
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world