In Oracle Loader For Hadoop job , mapred.JobClient fails with 'IO Error: The Network Adapter could not establish the connection'
(Doc ID 1475995.1)
Last updated on FEBRUARY 03, 2022
Applies to:
Oracle Loader for Hadoop - Version 1.1.0 and laterLinux x86-64
Symptoms
Running a job with Oracle Loader for Hadoop and mapred.JobClient fails with the following exception:
12/07/17 21:26:56 INFO mapred.JobClient: Running job: job_201206270622_0110
12/07/17 21:26:57 INFO mapred.JobClient: map 0% reduce 0%
12/07/17 21:27:04 INFO mapred.JobClient: map 100% reduce 0%
12/07/17 21:27:11 INFO mapred.JobClient: map 100% reduce 33%
12/07/17 21:27:14 INFO mapred.JobClient: Task Id : attempt_201206270622_0110_r_000000_0, Status : FAILED
java.io.IOException: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.hadoop.loader.lib.output.JDBCOutputFormat.getRecordWriter(JDBCOutputFormat.java:117)
at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:559)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:414)
at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157)
at org.apache.hadoop.mapred.Child.main(Child.java:264)
Caused by: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
at oracle.jdbc.driver.T4
12/07/17 21:26:57 INFO mapred.JobClient: map 0% reduce 0%
12/07/17 21:27:04 INFO mapred.JobClient: map 100% reduce 0%
12/07/17 21:27:11 INFO mapred.JobClient: map 100% reduce 33%
12/07/17 21:27:14 INFO mapred.JobClient: Task Id : attempt_201206270622_0110_r_000000_0, Status : FAILED
java.io.IOException: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.hadoop.loader.lib.output.JDBCOutputFormat.getRecordWriter(JDBCOutputFormat.java:117)
at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:559)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:414)
at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157)
at org.apache.hadoop.mapred.Child.main(Child.java:264)
Caused by: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
at oracle.jdbc.driver.T4
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |