Quantcast
Channel: Teradata Downloads - Connectivity
Viewing all 445 articles
Browse latest View live

issue to install ODBC Driver (64x) -CLIv2 (64x) not recognized

$
0
0

 

HI, 

I am having issue to install ODBC Driver (64x)

The CLIv2 - Suite 15.10.04.00 for Windows (X64) after been installed is not been recognized when I installed  the X64 from the ODBC Driver Suite 15.10.04 for Windows.

 

Any advise is helpfull 

Forums: 

MAC ODBC does not handle Unicode

$
0
0

MAC ODBC doesn't handle UNICODE correctly.  It just removed none plain text character. Does anybody have a trick to fix it?

 

Below are conducted test:

 

MAC terminal handle . For example, can display the Euro sign:

 

$ echo -e '\xe2\x82\xac'

 

Moreover, locale reveals that everything is set to en_US.UTF-8 and iterm2 has the character encoding set to Unicode (UTF-8).

 

One of the Unicode value that creates the problem is  U+2011, a non breaking hyphen. Oct/dec/hex 
 

020021

8209

0x2011

‑

This is just one example. Everything that is not plain ASCII appears to be missing.

 

Window ODBC display correct string that I see in Alation or SQL Assistant is 

 

TI‑84 Plus C Silver Edition Graphing Calculator Color Display Brand New!

 

When I attempt to validate my ODBC installation with tdxodbc, the hyphen does not display correctly:   

 

dmasterov @ /Library/Application Support/teradata/client/15.10/bin

 

 

 

Connecting with SQLDriverConnect("Driver=Teradata; DBCNAME=mozart; UID=dmasterov; PWD=*; CharacterSet=UTF8")...

 

.....ODBC connection successful.

 

ODBC version        = -03.52.0000-

DBMS name           = -Teradata-

DBMS version        = -14.10.0603  14.10.06.03-

Driver name         = -tdata.dylib-

Driver version      = -15.10.01.00-

Driver ODBC version = -03.51-

 

(type quit to terminate adhoc)

Enter SQL string : SELECT auct_titl FROM access_views.dw_lstg_item_cold WHERE item_id = 301142510864;

 

Executing SQLExecDirect("SELECT auct_titl FROM access_views.dw_lstg_item_cold WHERE item_id = 301142510864;")...

 

SQL Statement [1]: 1 rows affected.

 

AUCT_TITL

TI84 Plus C Silver Edition Graphing Calculator Color Display Brand New! 

 

See Hyphen was removed between TI and 84

 

 

Forums: 

.NET Data Provider and Utilities

$
0
0

Good day, I'm new to the forums, how are you all?
I'm working on a new project for a client, studying the feasibility of making Teradata calls and exeuting tools from the .NET provider (it'll be part of a REST service). As part of this, my client has asked me to check whether these tools can be called/executed in any way from the .NET provider, be it directly or through its equivalent (even if performance is not the same):

  • Fastload
  • Multiload
  • BTEQ
  • Fastexport
  • SQL

If it's not possible to execute utilities like Fastload or Multiload directly through the provider, is there a way of wrapping them in a stored procedure in Teradata so that we just have to call those procedures? Or alternatively, are there any executables we could pass parameters on to do the execution? I've read something about "plink.exe" but I can't find any relevant information for my case.
I hope you can help me and I apologise for dumping this giant request on your lap, but I haven't found anything on my own and the deadline is quite tight.
Thank you all in advance for your time,
Kkutlesa

Forums: 

Unix ODBC not returning Unicode value

$
0
0

One Analyst here can't see Unicode character using a statistics package called Stata that can only connect to TD using unixODBC.
He has been working with Strata developpers on this problem. Strata beleives that there is something special about "How Teradata compiles the unixODBC library".  Can someone at Teradata shares what switches were used for Linux and for Mac?
Is there a way I could organize a call between Strata and TD linux ODBC developper?
If yes contact me at Patrice.berube@teradata.com
 

Forums: 

Teradata login timeout

$
0
0

Hi there,
I try to connect to Teradata via JDBC connection pool (Apache Commons BasicDataSource) using following jdbc connection string

jdbc:teradata://teradataserverip/LOG=INFO,TYPE=FASTEXPORT,ENCRYPTDATA=ON
BasicDataSource cannot set login timeout. And according to my understanding, if login timeout is not set then by default teradata won't timeout login. Any suggestion why following error would happen?

2016-02-11.09:17:08.829 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Login time remaining is 349 ms
2016-02-11.09:17:08.829 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Hostname lookup for 10.15.9.10 took 0 ms and found 1 address(es)
2016-02-11.09:17:08.830 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Login time remaining is 348 ms
2016-02-11.09:17:08.830 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Login time remaining is 348 ms
2016-02-11.09:17:08.831 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Attempting connection 1 to /10.15.9.10:1025
2016-02-11.09:17:08.938 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Connection attempt to /10.15.9.10:1025 with timeout 348 ms took 41 ms and succeeded, waiting for thread took 0 ms
2016-02-11.09:17:08.939 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Wrote Config request message, 106 bytes, time: 0 ms
2016-02-11.09:17:08.939 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Login time remaining is 239 ms
2016-02-11.09:17:08.970 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Read Config response message 1, 1046 bytes, time: 30 ms
2016-02-11.09:17:09.011 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 TdgssManager initialization took 0 ms, TdgssConfigApi initialization took 0 ms
2016-02-11.09:17:09.031 TERAJDBC4 INFO [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 tdgss version: 14.10.0.1
2016-02-11.09:17:09.060 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 TdgssContext.initSecContext took 26 ms
2016-02-11.09:17:09.060 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Wrote Assign request message, 238 bytes, time: 0 ms
2016-02-11.09:17:09.060 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Login time remaining is 118 ms
2016-02-11.09:17:09.098 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Read Assign response message 1, 1110 bytes, time: 38 ms
2016-02-11.09:17:09.148 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 TdgssContext.initSecContext took 49 ms
2016-02-11.09:17:09.148 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Wrote SSO request message, 332 bytes, time: 0 ms
2016-02-11.09:17:09.148 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Login time remaining is 30 ms
2016-02-11.09:17:09.179 TERAJDBC4 TIMING [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Read SSO request message 1, 0 bytes, time: 31 ms
2016-02-11.09:17:09.179 TERAJDBC4 INFO [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Read message 1, 0 bytes, timed out: java.net.SocketTimeoutException: Read timed out

2016-02-11.09:17:09.186 TERAJDBC4 ERROR [PollingCluster-akka.actor.default-dispatcher-5] com.teradata.jdbc.jdk6.JDK6_SQL_Connection@29d627a4 Packet receive Thu Feb 11 09:17:09 EST 2016 socket orig=10.15.9.10 local=/10.94.148.229:50569 remote=/10.15.9.10:1025 keepalive=false nodelay=false receive=65156 send=65156 linger=10 traffic=0 concurrent=3 contimeout=10000 conwait=1000 connecttime=41 connecttotaltime=109 connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=1c01f855 sess=272801 java.net.SocketTimeoutException: Read timed out  at java.net.SocketInputStream.socketRead0(Native Method)  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  at java.net.SocketInputStream.read(SocketInputStream.java:170)  at java.net.SocketInputStream.read(SocketInputStream.java:141)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:697)  at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:773)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:486)  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.ManagerConnectionBase.<init>(ManagerConnectionBase.java:47)  at com.teradata.jdbc.jdbc.fastexport.FastExportManagerConnection.<init>(FastExportManagerConnection.java:61)  at com.teradata.jdbc.jdk6.JDK6_FastExportManager_Connection.<init>(JDK6_FastExportManager_Connection.java:28)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructFastExportManagerConnection(JDK6ConnectionFactory.java:43)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:210)  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 org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)  at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205)  at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2162)  at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2148)  at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1903)  at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1413)  at services.connector.JDBCConnectionPool$class.getConnection(JDBCConnectionPool.scala:22)  at services.connector.TeradataConnectionPool$.getConnection(TeradataConnectionPool.scala:12)  at services.connector.TeradataPollingDBConnector$.<init>(TeradataPollingDBConnector.scala:21)  at services.connector.TeradataPollingDBConnector$.<clinit>(TeradataPollingDBConnector.scala)  at services.connector.AkkaPollingFactory$.getPollingConnector(AkkaPollingFactory.scala:39)  at services.connector.AkkaPollingUtility$.getLargestTimeByTablename(AkkaPollingUtility.scala:145)  at services.connector.AkkaPollingUtility$.getSqlParamList(AkkaPollingUtility.scala:52)  at services.akka.SourceTablePoller$$anonfun$receive$1.applyOrElse(SourceTablePoller.scala:32)  at akka.actor.Actor$class.aroundReceive(Actor.scala:467)  at services.akka.SourceTablePoller.aroundReceive(SourceTablePoller.scala:16)  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)  at akka.actor.ActorCell.invoke(ActorCell.scala:487)  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)  at akka.dispatch.Mailbox.run(Mailbox.scala:220)  at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Exception type: class java.sql.SQLException
Exception message: Cannot create PoolableConnectionFactory ([Teradata JDBC Driver] [TeraJDBC 15.00.00.20] [Error 1277] [SQLState 08S01] Login timeout for Packet receive Thu Feb 11 09:17:09 EST 2016 socket orig=10.15.9.10 local=/10.94.148.229:50569 remote=/10.15.9.10:1025 keepalive=false nodelay=false receive=65156 send=65156 linger=10 traffic=0 concurrent=3 contimeout=10000 conwait=1000 connecttime=41 connecttotaltime=109 connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=1c01f855 sess=272801 java.net.SocketTimeoutException: Read timed out  at java.net.SocketInputStream.socketRead0(Native Method)  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  at java.net.SocketInputStream.read(SocketInputStream.java:170)  at java.net.SocketInputStream.read(SocketInputStream.java:141)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:697)  at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:773)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:486)  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.ManagerConnectionBase.<init>(ManagerConnectionBase.java:47)  at com.teradata.jdbc.jdbc.fastexport.FastExportManagerConnection.<init>(FastExportManagerConnection.java:61)  at com.teradata.jdbc.jdk6.JDK6_FastExportManager_Connection.<init>(JDK6_FastExportManager_Connection.java:28)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructFastExportManagerConnection(JDK6ConnectionFactory.java:43)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:210)  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 org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)  at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205)  at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2162)  at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2148)  at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1903)  at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1413)  at services.connector.JDBCConnectionPool$class.getConnection(JDBCConnectionPool.scala:22)  at services.connector.TeradataConnectionPool$.getConnection(TeradataConnectionPool.scala:12)  at services.connector.TeradataPollingDBConnector$.<init>(TeradataPollingDBConnector.scala:21)  at services.connector.TeradataPollingDBConnector$.<clinit>(TeradataPollingDBConnector.scala)  at services.connector.AkkaPollingFactory$.getPollingConnector(AkkaPollingFactory.scala:39)  at services.connector.AkkaPollingUtility$.getLargestTimeByTablename(AkkaPollingUtility.scala:145)  at services.connector.AkkaPollingUtility$.getSqlParamList(AkkaPollingUtility.scala:52)  at services.akka.SourceTablePoller$$anonfun$receive$1.applyOrElse(SourceTablePoller.scala:32)  at akka.actor.Actor$class.aroundReceive(Actor.scala:467)  at services.akka.SourceTablePoller.aroundReceive(SourceTablePoller.scala:16)  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)  at akka.actor.ActorCell.invoke(ActorCell.scala:487)  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)  at akka.dispatch.Mailbox.run(Mailbox.scala:220)  at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) )
java.sql.SQLException: Cannot create PoolableConnectionFactory ([Teradata JDBC Driver] [TeraJDBC 15.00.00.20] [Error 1277] [SQLState 08S01] Login timeout for Packet receive Thu Feb 11 09:17:09 EST 2016 socket orig=10.15.9.10 local=/10.94.148.229:50569 remote=/10.15.9.10:1025 keepalive=false nodelay=false receive=65156 send=65156 linger=10 traffic=0 concurrent=3 contimeout=10000 conwait=1000 connecttime=41 connecttotaltime=109 connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=1c01f855 sess=272801 java.net.SocketTimeoutException: Read timed out  at java.net.SocketInputStream.socketRead0(Native Method)  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  at java.net.SocketInputStream.read(SocketInputStream.java:170)  at java.net.SocketInputStream.read(SocketInputStream.java:141)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:697)  at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:773)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:486)  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.ManagerConnectionBase.<init>(ManagerConnectionBase.java:47)  at com.teradata.jdbc.jdbc.fastexport.FastExportManagerConnection.<init>(FastExportManagerConnection.java:61)  at com.teradata.jdbc.jdk6.JDK6_FastExportManager_Connection.<init>(JDK6_FastExportManager_Connection.java:28)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructFastExportManagerConnection(JDK6ConnectionFactory.java:43)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:210)  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 org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)  at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205)  at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2162)  at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2148)  at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1903)  at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1413)  at services.connector.JDBCConnectionPool$class.getConnection(JDBCConnectionPool.scala:22)  at services.connector.TeradataConnectionPool$.getConnection(TeradataConnectionPool.scala:12)  at services.connector.TeradataPollingDBConnector$.<init>(TeradataPollingDBConnector.scala:21)  at services.connector.TeradataPollingDBConnector$.<clinit>(TeradataPollingDBConnector.scala)  at services.connector.AkkaPollingFactory$.getPollingConnector(AkkaPollingFactory.scala:39)  at services.connector.AkkaPollingUtility$.getLargestTimeByTablename(AkkaPollingUtility.scala:145)  at services.connector.AkkaPollingUtility$.getSqlParamList(AkkaPollingUtility.scala:52)  at services.akka.SourceTablePoller$$anonfun$receive$1.applyOrElse(SourceTablePoller.scala:32)  at akka.actor.Actor$class.aroundReceive(Actor.scala:467)  at services.akka.SourceTablePoller.aroundReceive(SourceTablePoller.scala:16)  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)  at akka.actor.ActorCell.invoke(ActorCell.scala:487)  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)  at akka.dispatch.Mailbox.run(Mailbox.scala:220)  at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) )
at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2152)
at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1903)
at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1413)
at services.connector.JDBCConnectionPool$class.getConnection(JDBCConnectionPool.scala:22)
at services.connector.TeradataConnectionPool$.getConnection(TeradataConnectionPool.scala:12)
at services.connector.TeradataPollingDBConnector$.<init>(TeradataPollingDBConnector.scala:21)
at services.connector.TeradataPollingDBConnector$.<clinit>(TeradataPollingDBConnector.scala)
at services.connector.AkkaPollingFactory$.getPollingConnector(AkkaPollingFactory.scala:39)
at services.connector.AkkaPollingUtility$.getLargestTimeByTablename(AkkaPollingUtility.scala:145)
at services.connector.AkkaPollingUtility$.getSqlParamList(AkkaPollingUtility.scala:52)
at services.akka.SourceTablePoller$$anonfun$receive$1.applyOrElse(SourceTablePoller.scala:32)
at akka.actor.Actor$class.aroundReceive(Actor.scala:467)
at services.akka.SourceTablePoller.aroundReceive(SourceTablePoller.scala:16)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 15.00.00.20] [Error 1277] [SQLState 08S01] Login timeout for Packet receive Thu Feb 11 09:17:09 EST 2016 socket orig=10.15.9.10 local=/10.94.148.229:50569 remote=/10.15.9.10:1025 keepalive=false nodelay=false receive=65156 send=65156 linger=10 traffic=0 concurrent=3 contimeout=10000 conwait=1000 connecttime=41 connecttotaltime=109 connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=1c01f855 sess=272801 java.net.SocketTimeoutException: Read timed out  at java.net.SocketInputStream.socketRead0(Native Method)  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  at java.net.SocketInputStream.read(SocketInputStream.java:170)  at java.net.SocketInputStream.read(SocketInputStream.java:141)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:697)  at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:773)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:486)  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.ManagerConnectionBase.<init>(ManagerConnectionBase.java:47)  at com.teradata.jdbc.jdbc.fastexport.FastExportManagerConnection.<init>(FastExportManagerConnection.java:61)  at com.teradata.jdbc.jdk6.JDK6_FastExportManager_Connection.<init>(JDK6_FastExportManager_Connection.java:28)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructFastExportManagerConnection(JDK6ConnectionFactory.java:43)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:210)  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 org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)  at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205)  at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2162)  at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2148)  at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1903)  at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1413)  at services.connector.JDBCConnectionPool$class.getConnection(JDBCConnectionPool.scala:22)  at services.connector.TeradataConnectionPool$.getConnection(TeradataConnectionPool.scala:12)  at services.connector.TeradataPollingDBConnector$.<init>(TeradataPollingDBConnector.scala:21)  at services.connector.TeradataPollingDBConnector$.<clinit>(TeradataPollingDBConnector.scala)  at services.connector.AkkaPollingFactory$.getPollingConnector(AkkaPollingFactory.scala:39)  at services.connector.AkkaPollingUtility$.getLargestTimeByTablename(AkkaPollingUtility.scala:145)  at services.connector.AkkaPollingUtility$.getSqlParamList(AkkaPollingUtility.scala:52)  at services.akka.SourceTablePoller$$anonfun$receive$1.applyOrElse(SourceTablePoller.scala:32)  at akka.actor.Actor$class.aroundReceive(Actor.scala:467)  at services.akka.SourceTablePoller.aroundReceive(SourceTablePoller.scala:16)  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)  at akka.actor.ActorCell.invoke(ActorCell.scala:487)  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)  at akka.dispatch.Mailbox.run(Mailbox.scala:220)  at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
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.read(TDNetworkIOIF.java:889)
at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:773)
at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:486)
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.ManagerConnectionBase.<init>(ManagerConnectionBase.java:47)
at com.teradata.jdbc.jdbc.fastexport.FastExportManagerConnection.<init>(FastExportManagerConnection.java:61)
at com.teradata.jdbc.jdk6.JDK6_FastExportManager_Connection.<init>(JDK6_FastExportManager_Connection.java:28)
at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructFastExportManagerConnection(JDK6ConnectionFactory.java:43)
at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:210)
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 org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)
at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205)
at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2162)
at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2148)
... 21 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.read(TDNetworkIOIF.java:697)
... 39 more
Exception stack: ()

 

Forums: 

Getting this "unknown error occurred in terasso library" -when I try to setup in the ODBC

$
0
0

 

HI ,

I am getting this  "unknown error occurred in terasso library"

-when I try to setup in the ODBC in 64bit... an also try the 32bit version  (After installed it ..to test )

 

both are register under

 

c:\>c:\windows\system32\regsvr32.exe c:\windows\system32\scrrun.dll

 

c:\>c:\windows\syswow64\regsvr32.exe c:\windows\syswow64\scrrun.dll

 

 

I have admin right and installed with admin rights, the system OS win8.1x64

Forums: 

JavaDoc for JDBC Driver

$
0
0

Does anyone know where I can find the Javadoc for the JDBC Driver version 15?

Forums: 

ODBC ts time stamp for now()

$
0
0

Hi there,
 
I am fairly a newby in dev space. I have a piece of code (VBA) that runs a query to export data from SQL database into excel via Ms query (ODBC). The code works fine when having static time stamp like this:
"WHERE (vwTransactionData.CreateDateTime={ts '2016-01-01 00:00:00'}-0.375)")....0.375=9hrs and it work great with this 
But i would like the code to fire up the query at 7 in the morning and to pull data backwards to 9 hrs e.g 
"WHERE (vwTransactionData.CreateDateTime={ts 'now()'}-0.375)"), however the sysntax is not correct as the query can not run.
 
Please help

Forums: 

Parameters in JDBC Connector for Kereberos Connection

All Connections to Teradata fail with Receive Operation Timed Out

$
0
0

I am working on .Net applications that utilize the .Net data provider and I have lost ability to connect to Teradata, whether I am in custom code or using the SQL Assistant.  When I try to connect, no matter what I put in the connection timeout setting, it waits that long and gives: [115003] The receive operation timed out.  This occurs if I type an incorrect password or my correct one.  I have tried to reinstall the Teradata software and tried the repair option as well.  I have re-booted my machine, nothing helps with this issue.  I have tried using WireShark to look at the packets, but can't find issues that would assist me.  My co worker can use my login successfully, so I have elimininated it being a user issue.  It seems to be machine specific, it's become very frustrating as this happened 2 weeks ago and I had to restore my VM from a backup.  I am very concerned that is has happened again and cannot find a cause, restoring is a time consuming process and I have no reason all connections would fail on a given machine.

Forums: 

Getting an error when trying to connect using Teradata Hadoop Connector for Sqoop

$
0
0

Hi,
 
I'm trying to do a Sqoop import into local File system from Teradata and I get the following error.
I'm tried using the following import statement
import -fs file://// --connect
import -fs local --connect
Warning: /usr/hdp/2.3.2.0-2950/accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. 16/02/23 14:24:19 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.3.2.0-2950 16/02/23 14:24:19 WARN fs.FileSystem: "local" is a deprecated filesystem name. Use "file:///" instead. 16/02/23 14:24:19 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead. 16/02/23 14:24:19 INFO manager.SqlManager: Using default fetchSize of 1000 16/02/23 14:24:19 INFO tool.CodeGenTool: The connection manager declares that it self manages mapping between records & fields and rows & columns. No class will will be generated. 16/02/23 14:24:19 INFO teradata.TeradataConnManager: Importing from Teradata Table:PDCR_INFO_LOG 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting input file format in TeradataConfiguration to textfile 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Table name to import PDCR_INFO_LOG 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting job type in TeradataConfiguration to hdfs 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting input file format in TeradataConfiguration to textfile 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting number of mappers in TeradataConfiguration to 4 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting input batch size in TeradataConfiguration to 1000 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting input separator in TeradataConfiguration to \u0021 16/02/23 14:24:19 INFO teradata.TeradataSqoopImportHelper: Setting source table to : PDCR_INFO_LOG SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Seehttp://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 16/02/23 14:24:19 INFO common.ConnectorPlugin: load plugins in jar:file:/usr/hdp/2.3.2.0-2950/sqoop/lib/teradata-connector-1.4.1-hadoop2.jar!/teradata.connector.plugins.xml 16/02/23 14:24:19 INFO processor.TeradataInputProcessor: input preprocessor com.teradata.connector.teradata.processor.TeradataSplitByHashProcessor starts at: 1456259059883 16/02/23 14:24:20 INFO utils.TeradataUtils: the input database product is Teradata 16/02/23 14:24:20 INFO utils.TeradataUtils: the input database version is 14.10 16/02/23 14:24:20 INFO utils.TeradataUtils: the jdbc driver version is 15.0 16/02/23 14:24:22 INFO processor.TeradataInputProcessor: the teradata connector for hadoop version is: 1.4.1 16/02/23 14:24:22 INFO processor.TeradataInputProcessor: input jdbc properties are jdbc:teradata://172.19.7.22/database=BIGDATA_POC_WORK_TABLES 16/02/23 14:24:23 INFO processor.TeradataInputProcessor: the number of mappers are 4 16/02/23 14:24:23 INFO processor.TeradataInputProcessor: input preprocessor com.teradata.connector.teradata.processor.TeradataSplitByHashProcessor ends at: 1456259063699 16/02/23 14:24:23 INFO processor.TeradataInputProcessor: the total elapsed time of input preprocessor com.teradata.connector.teradata.processor.TeradataSplitByHashProcessor is: 3s 16/02/23 14:24:24 INFO impl.TimelineClientImpl: Timeline service address: http://xxxx.xxxx.com:8188/ws/v1/timeline/ 16/02/23 14:24:24 INFO client.RMProxy: Connecting to ResourceManager atxxx.xxxx.com/172.19.26.26:8050 16/02/23 14:24:24 INFO processor.TeradataInputProcessor: input postprocessor com.teradata.connector.teradata.processor.TeradataSplitByHashProcessor starts at: 1456259064288 16/02/23 14:24:24 INFO processor.TeradataInputProcessor: input postprocessor com.teradata.connector.teradata.processor.TeradataSplitByHashProcessor ends at: 1456259064288 16/02/23 14:24:24 INFO processor.TeradataInputProcessor: the total elapsed time of input postprocessor com.teradata.connector.teradata.processor.TeradataSplitByHashProcessor is: 0s 16/02/23 14:24:24 ERROR teradata.TeradataSqoopImportHelper: Exception running Teradata import job com.teradata.connector.common.exception.ConnectorException: java.io.FileNotFoundException: File file:/hdp/apps/2.3.2.0-2950/mapreduce/mapreduce.tar.gz does not exist at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:609) at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:822) at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:599) at org.apache.hadoop.fs.DelegateToFileSystem.getFileStatus(DelegateToFileSystem.java:125) at org.apache.hadoop.fs.AbstractFileSystem.resolvePath(AbstractFileSystem.java:467) at org.apache.hadoop.fs.FilterFs.resolvePath(FilterFs.java:157) at org.apache.hadoop.fs.FileContext$25.next(FileContext.java:2193) at org.apache.hadoop.fs.FileContext$25.next(FileContext.java:2189) at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90) at org.apache.hadoop.fs.FileContext.resolve(FileContext.java:2189) at org.apache.hadoop.fs.FileContext.resolvePath(FileContext.java:601) at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:457) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:142) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287) 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:1657) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:134) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:56) at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:370) at org.apache.sqoop.teradata.TeradataConnManager.importTable(TeradataConnManager.java:504) at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497) at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605) at org.apache.sqoop.Sqoop.run(Sqoop.java:148) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235) at org.apache.sqoop.Sqoop.main(Sqoop.java:244) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:140) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:56) at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:370) at org.apache.sqoop.teradata.TeradataConnManager.importTable(TeradataConnManager.java:504) at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497) at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605) at org.apache.sqoop.Sqoop.run(Sqoop.java:148) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235) at org.apache.sqoop.Sqoop.main(Sqoop.java:244) 16/02/23 14:24:24 INFO teradata.TeradataSqoopImportHelper: Teradata import job completed with exit code 1 16/02/23 14:24:24 ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: Exception running Teradata import job at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:373) at org.apache.sqoop.teradata.TeradataConnManager.importTable(TeradataConnManager.java:504) at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497) at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605) at org.apache.sqoop.Sqoop.run(Sqoop.java:148) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235) at org.apache.sqoop.Sqoop.main(Sqoop.java:244) Caused by: com.teradata.connector.common.exception.ConnectorException: java.io.FileNotFoundException: File file:/hdp/apps/2.3.2.0-2950/mapreduce/mapreduce.tar.gz does not exist at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:609) at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:822) at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:599) at org.apache.hadoop.fs.DelegateToFileSystem.getFileStatus(DelegateToFileSystem.java:125) at org.apache.hadoop.fs.AbstractFileSystem.resolvePath(AbstractFileSystem.java:467) at org.apache.hadoop.fs.FilterFs.resolvePath(FilterFs.java:157) at org.apache.hadoop.fs.FileContext$25.next(FileContext.java:2193) at org.apache.hadoop.fs.FileContext$25.next(FileContext.java:2189) at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90) at org.apache.hadoop.fs.FileContext.resolve(FileContext.java:2189) at org.apache.hadoop.fs.FileContext.resolvePath(FileContext.java:601) at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:457) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:142) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287) 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:1657) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:134) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:56) at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:370) at org.apache.sqoop.teradata.TeradataConnManager.importTable(TeradataConnManager.java:504) at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497) at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605) at org.apache.sqoop.Sqoop.run(Sqoop.java:148) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235) at org.apache.sqoop.Sqoop.main(Sqoop.java:244) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:140) at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:56) at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:370) ... 9 more

Forums: 

Program hangs when I close connection to teradata db

$
0
0

Hi
When I close connection to teradata db, my program hangs. This is happening randomly not every time. When I collected dump I found it hangs in tdata32.dll file which is teradata odbc driver file.
tdata32.dll file version is '14.10.0.0'
Below is call stack trace where program hangs.
ntdll.dll!_NtWaitForSingleObject@12

Forums: 

How to block all client connections to teradata database from a particular server/IP

$
0
0

Hello,,, we  need restrict all client connection  connecting from a perticular IP address/server to Teradata Database .  Is there a way I can enable it in  TASM ?

Forums: 

Bteq: Running bteq scripts located at local unix machine from remote linux admin box

$
0
0

Hi All,
 
I wanted to run bteq scripts located on my local mac by connecting to a remote Linux server which is used to connect to Teradata db.
How this can be any, any insights will be very helpful.
 
Thank you.
 

Tags: 
Forums: 

LDAP authentication - lockout and expiry

$
0
0

Hi,
I have few questions wrt LDAP. We use LDAP tp login to sql assist which is our windows id.
1. If there is more than 3 times of wrong password attempt using ldap on sql assistant, does it lock the id on ldap/windows ? The number of attempts for lock out is controlled at LDAP/TD level ?
2. The LDAP passord expiry is controlled at LDAP level and nothing to take with TD on the profile level ?
Please let me know if there is any link to manuls that disuss more on this.
Thanks !
Samir Singh

Tags: 
Forums: 

SSRS Parameters

$
0
0

Hi,
I'm trying to create SSRS report with report builder, connected to teradata DB with .NET provider.
There any way to use more than one parameter in a query?
Thanks,
Elazar

Tags: 
Forums: 

Excel 2016 VBA Connection

$
0
0

We use Excel 2010 VBA connections to run Teradata scripts (both inserts of data from Excel to user tables and selects to populate excel from teradata tables).  The VBA is like this:
Public Function Teradata_Connection()
Dim constr
pwd = frmTDconnection.txtPwd.Text
uid = frmTDconnection.txtUsr.Text
On Error GoTo Invalid
constr = "Driver={Teradata};DBCNAME=oneview;UID="& uid & ";PWD="& pwd & ";"
Set Cn = New ADODB.Connection
Set rs = New ADODB.Recordset
If Cn.State <> 1 Then
    Cn.ConnectionTimeout = 60
    Cn.CommandTimeout = 3600
    Cn.Open constr
End If
Teradata_Connection = True
Exit Function
Invalid:
MsgBox ("There was error number "& Err.Number & ".  This is "& Err.Description & ".")
Exit Function
End Function
 
Since my Office 2016 upgrade, it no longer works.  I get the error message:
"There was error number -214217843.  This is [Teradata][ODBC Teradata Driver] Not enough information to log on."
Any ideas on how to fix it?

Forums: 

Query not working ODBC driver 15.10

$
0
0

The following query works using the ODBC 15.00 drivers but not using the new 15.10 ODBC drivers. The error  "Select failed 3706  Syntax error: expected something between '(' and the 'trim' keyword"
 
I am not a Teradata developer I am jsut helpign an enduser try and reslove the issue. 
 

select a.month_key,

a.ossc_rc,

a.mecontext,

a.ossc_rc as osscrc,

b.subnetwork2,

a.mecontext as mecontext1,

a.eutrancellfdd as eutrancellfdd1,

a.mecontext AS EnodeB,

a.enodebtype,

'Ericsson' AS OEM,

c.region,

c.marketname,

c.cascadeid,

c.sector,

c.carrier,

C.enodebid,

b.band,

b.cellid,

a.mecontext as mecontext2,

a.eutrancellfdd as eutrancellfdd2,

a.kpi_connection_drop_rate_n,

a.kpi_connection_drop_rate_d

from 

F74_LTE_ERICSSON_VIEW.VFLE801_FDDCELL_MONTHLY_AGRT a

inner join F74_LTE_ERICSSON_VIEW.vDLE001_FDDCELL b 

on  a.fddcell_key = b.fddcell_key

inner join F74_LTE_ERICSSON_VIEW.VDLE051_ORGANIZATIONALDATA c 

on  b.mecontext = c.mecontext 

and b.sector= c.sector

and b.carrier = c.carrier

where a.Month_key >= concat(trim(year(current_date-365)),trim(case when td_month_of_year(current_date-365) > 9 then  trim(td_month_of_year(current_date-365))  else '0'|| trim(td_month_of_year(current_date-365) ) end))

Forums: 

Connect to TD Express for VMWare Player from local visual studio

$
0
0

Hi,
I am new to teradata and I am trying to connect to the teradata express that is installed in VMWare player. I have the following versions:
TDExpress14.0.5_Sles10_40GB - VMWare Workstation Player, Visual Studio 2013 professional, Teradata.Client.Provider 14.11.0.1
Here is my connectionstring - Data Source=192.168.116.2;Database=financial;User ID=dbc;Password=dbc; - using the samples dbs
I am able to run sql statements in teradata express on VMWare player, but am not able to connect to it from my local program. Also, I tried to change the network connection to 'Bridged' mode. No luck. Any help is really appreciated!
Thanks!

Forums: 

UserID/Password failure when attempting a connection

$
0
0

I'm used to having to trap for run-time issues when trying to connect to databases. In Oracle, if I fat-finger a password and try to use it to connect, I'd get a run-time error with an Exception.Number value of 1017. There doesn't seem to be like procedure in Teredata even though I find references to an 8017 run-time error somewhere (in the Message to be sure but I'd rather not have to parse that).
What is the recommended method of trapping invalid userID/password attempts at connecting to a Teradata database?
Thanks in advance.

Forums: 
Viewing all 445 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>