• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Error Running Job with tInfoBrightOutput

#1 2010-04-09 02:01:39

evdios
Member
Registered: 2009-08-23
Posts: 17

Error Running Job with tInfoBrightOutput

After figuring out how to install the tInfobrightOutput component and remote capability java program (infobright-core-3.0-remote.jar) in both TOS client and Infobright server, we created a very small job just to make sure that it works.  The job involves loading a dimension table of fiscal years from Oracle to a MySQL-Brighthouse table.  I will attach screenshots of the job.

Here is what TOS results in after running the job:
<<<<<<<<<<<<<<<<<
Starting job test at 19:41 08/04/2010.

[statistics] connecting to socket on port 3569
[statistics] connected
Exception in component tInfobrightOutput_2
java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:525)
    at java.net.Socket.connect(Socket.java:475)
    at java.net.Socket.<init>(Socket.java:372)
    at java.net.Socket.<init>(Socket.java:186)
    at com.infobright.io.ClientProxy.<init>(ClientProxy.java:55)
    at com.infobright.io.InfobrightNamedPipeLoader.<init>(InfobrightNamedPipeLoader.java:132)
    at infobrighttestproject.test_0_1.test.tOracleInput_1Process(test.java:1012)
    at infobrighttestproject.test_0_1.test.runJobInTOS(test.java:1802)
    at infobrighttestproject.test_0_1.test.main(test.java:1696)
[statistics] disconnected
Job test ended at 19:41 08/04/2010. [exit code=1]
>>>>>>>>>>>>>>>>>>>>>>>

Here are the relevant entries in the infobright/data/general_query.log:
<<<<<<<<<<<<<<<<<<<<<<<<<<
100408 18:41:15   60 Query    SET character_set_results = NULL
           60 Query    SET autocommit=1
           60 Query    SET sql_mode='STRICT_TRANS_TABLES'
           60 Query    SET autocommit=0
           60 Query    SHOW FULL TABLES FROM `lmdprototype_production` LIKE '%'
           60 Query    DROP TABLE `lmd_years`
           60 Query    CREATE TABLE `lmd_years`(`id` INT(10)  ,`fiscal_year` INT(10)  ,`fiscal_year_start_date` DATE ,`fiscal_year_end_date` DATE ,`plan_start_year` INT(10)  ,`plan_end_year` INT(10)  ) engine=brighthouse
>>>>>>>>>>>>>>>>>>>>>>>>>>

Can anyone help diagnose what we are doing wrong or what is causing the timeout?

Thanks.

Edmund


Uploaded Images

Last edited by evdios (2010-04-09 02:06:34)

Offline

#2 2010-07-29 16:24:29

gtfalk
Member
Company: Infobright Inc.
Registered: 1970-01-01
Posts: 16
Website

Re: Error Running Job with tInfoBrightOutput

Hi,

It appears that you didn't launch the agent on the Infobright server. Just run "java -jar infobright-core-3.0-remote.jar" on the remote server. Then it ought to work.

Geoffrey

Offline

#3 2011-07-21 13:39:34

sampath_IMI
Guest

Re: Error Running Job with tInfoBrightOutput

Hi,
     i've installed talend on the IB server. i've added tinfobrightoutput connection to the talend and it's showing in the palette databases mysql section. i've run the command  java -jar infobright-core-3.4.jar. i've added infobright_jni.dll to c:\windows folder. but when i try to import data to infobright server from a csv file it's throwing set of errors

1.module infobright-core-3.4.jar is required
2.exception in the component t_infobrightoutput_1 and more


can you help me with this?

thanks in advance.....

#4 2011-07-21 13:47:16

Sapath_IMI
Guest

Re: Error Running Job with tInfoBrightOutput

the exact error i mentioned about in the last post is

Starting job importintoSDH at 17:16 21/07/2011.

[statistics] connecting to socket on port 4079
[statistics] connected
Exception in component tInfobrightOutput_1
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'engine=brighthouse' at line 1
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    at com.mysql.jdbc.Util.getInstance(Util.java:384)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2562)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2512)
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:781)
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:624)
    at talenddemosjava.importintosdh_0_1.importintoSDH.tFileInputDelimited_1Process(importintoSDH.java:570)
    at talenddemosjava.importintosdh_0_1.importintoSDH.runJobInTOS(importintoSDH.java:1268)
    at talenddemosjava.importintosdh_0_1.importintoSDH.main(importintoSDH.java:1142)
[statistics] disconnected
Job importintoSDH ended at 17:16 21/07/2011. [exit code=1]

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Error Running Job with tInfoBrightOutput

Board footer

Powered by FluxBB