com.teradata.connector.common.exception.ConnectorException

java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 15.00.00.20] [Error 1000] [SQLState 08S01] Login failure for Connection to SLES11SP1 Wed Nov 19 05:19:14 PST 2014 socket orig=SLES11SP1 cid=408bb8f3 sess=0 java.net.UnknownHostException: SLES11SP1  at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)  at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)  at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)  at java.net.InetAddress.getAllByName0(InetAddress.java:1246)  at java.net.InetAddress.getAllByName(InetAddress.java:1162)  at java.net.InetAddress.getAllByName(InetAddress.java:1098)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$Lookup.<init>(TDNetworkIOIF.java:199)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.connectToHost(TDNetworkIOIF.java:299)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:147)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.<init>(TDNetworkIOIF.java:133)  at com.teradata.jdbc.jdbc.GenericTeradataConnection.getIO(GenericTeradataConnection.java:113)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:98)  at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:205)  at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)  at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232)  at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158)  at java.sql.DriverManager.getConnection(DriverManager.java:571)  at java.sql.DriverManager.getConnection(DriverManager.java:215)  at com.teradata.connector.teradata.db.TeradataConnection.connect(TeradataConnection.java:386)  at com.teradata.connector.teradata.utils.TeradataUtils.openOutputConnection(TeradataUtils.java:86)  at com.teradata.connector.teradata.processor.TeradataOutputProcessor.outputPreProcessor(TeradataOutputProcessor.java:34)  at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:95)  at com.teradata.connector.common.tool.ConnectorExportTool.run(ConnectorExportTool.java:59)  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)  at com.teradata.connector.common.tool.ConnectorExportTool.main(ConnectorExportTool.java:720)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:606)  at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:55)  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:38)  at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:36)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:606)  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:225)  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430)  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)  at java.security.AccessController.doPrivileged(Native Method)  at javax.security.auth.Subject.doAs(Subject.java:415)  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557)  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)

Samebug tips1

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web618

  • via GitHub by samarism
    ,
  • Stack trace

    • com.teradata.connector.common.exception.ConnectorException: java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 15.00.00.20] [Error 1000] [SQLState 08S01] Login failure for Connection to SLES11SP1 Wed Nov 19 05:19:14 PST 2014 socket orig=SLES11SP1 cid=408bb8f3 sess=0 java.net.UnknownHostException: SLES11SP1  at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)  at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)  at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)  at java.net.InetAddress.getAllByName0(InetAddress.java:1246)  at java.net.InetAddress.getAllByName(InetAddress.java:1162)  at java.net.InetAddress.getAllByName(InetAddress.java:1098)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$Lookup.<init>(TDNetworkIOIF.java:199)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.connectToHost(TDNetworkIOIF.java:299)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:147)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.<init>(TDNetworkIOIF.java:133)  at com.teradata.jdbc.jdbc.GenericTeradataConnection.getIO(GenericTeradataConnection.java:113)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:98)  at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:205)  at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)  at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232)  at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158)  at java.sql.DriverManager.getConnection(DriverManager.java:571)  at java.sql.DriverManager.getConnection(DriverManager.java:215)  at com.teradata.connector.teradata.db.TeradataConnection.connect(TeradataConnection.java:386)  at com.teradata.connector.teradata.utils.TeradataUtils.openOutputConnection(TeradataUtils.java:86)  at com.teradata.connector.teradata.processor.TeradataOutputProcessor.outputPreProcessor(TeradataOutputProcessor.java:34)  at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:95)  at com.teradata.connector.common.tool.ConnectorExportTool.run(ConnectorExportTool.java:59)  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)  at com.teradata.connector.common.tool.ConnectorExportTool.main(ConnectorExportTool.java:720)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:606)  at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:55)  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:38)  at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:36)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:606)  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:225)  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430)  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)  at java.security.AccessController.doPrivileged(Native Method)  at javax.security.auth.Subject.doAs(Subject.java:415)  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557)  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162) at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:94) at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:69) at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeIoJDBCException(ErrorFactory.java:207) at com.teradata.jdbc.jdbc_4.util.ErrorAnalyzer.analyzeIoError(ErrorAnalyzer.java:59) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:154) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.<init>(TDNetworkIOIF.java:133) at com.teradata.jdbc.jdbc.GenericTeradataConnection.getIO(GenericTeradataConnection.java:113) at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:98) at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:205) at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35) at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25) at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179) at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169) at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232) at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at com.teradata.connector.teradata.db.TeradataConnection.connect(TeradataConnection.java:386) at com.teradata.connector.teradata.utils.TeradataUtils.openOutputConnection(TeradataUtils.java:86) at com.teradata.connector.teradata.processor.TeradataOutputProcessor.outputPreProcessor(TeradataOutputProcessor.java:34) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:95) at com.teradata.connector.common.tool.ConnectorExportTool.run(ConnectorExportTool.java:59) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at com.teradata.connector.common.tool.ConnectorExportTool.main(ConnectorExportTool.java:720) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:55) at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:38) at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:225) at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162) Caused by: java.net.UnknownHostException: SLES11SP1 at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293) at java.net.InetAddress.getAllByName0(InetAddress.java:1246) at java.net.InetAddress.getAllByName(InetAddress.java:1162) at java.net.InetAddress.getAllByName(InetAddress.java:1098) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$Lookup.<init>(TDNetworkIOIF.java:199) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.connectToHost(TDNetworkIOIF.java:299) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:147) ... 40 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    raytestraytest
    3 times, last one
    Михайло ТітовМихайло Тітов
    465 times, last one
    Unknown UserUnknown User
    2 times, last one
    113 more bugmates