The method .map in the type AbstractJavaRDDLike<<>> is not applicable for the arguments - tsql

I am getting an error in talend. PFA.
Please find more details of the mapping.
Can you please help me here?.
Thank You
Tom

This was an issue with code generation of Talend Bigdata version.
There were 5 subjobs in my job.
I was testing the functionality of last three subjobs.(Off late i have added 3 extra tSql components into my 4th subjob , which you can see in the screenshot).
For that i have de-activated the first two subjobs.(I have de-activated the first two subjobs earlier as well and unit tested which was fine)
I assumed this was the issue with code generation of talend.
(Earlier also I faced similar issue with .map() function of tSql component. That time i deleted tSql component and created it again and issue went away.)
I proceeded with the following trial and error method.
I closed the job and reopened again ( issue exists)
I restarted Talend tool and reopened again (issue exists)
I deleted the tSql components and created them again (issue exists)
I activated the de-activated subjobs and then checked again(ISSUE DISAPPEARED)

Related

How to remove Routine Group error from workbench?

I'm using MySQL Workbench and I am trying to create a routine. However, At the time of creating routine some error comes,then i deleted that routine. Now I synchronize the model with the existing database, the Routine group error is coming, though i remove that routine group. Can anyone help me how to remove this error from Model?
The _SYNTAX_ERROR suffix is added by MySQL Workbench to indicate that it found a syntax error in your routine code. Once you fixed that the name will change back to what you gave it. And then you can also synchronize your model.
I faced the same issue, cause i copy&pasted some c# code into a routine group, and it immediately became invisible by workbench. Synchronization now always reporte errors, even after deleting the whole routine group. The faulty code was stuck somewhere, inaccessible through the Workbench UI.
Just found a solution atm:
Do a regular synchronization and tell Workbench to change the sync-direction on the error entries. This will remove the faulty lines of code, even if they are not accessible through the Workbench UI.

SEVERE:NULL Preferences during startup Oracle SQL Developer

While I compile and debug every procedure I'm getting error SEVERE: NULL Preferences during startup And oracle SQL developer getting hung.
I faced this issue yesterday. As I was looking for an answer, I came across this unanswered question of yours - !
However by going through how some queries of the stored procedure were written, I realized that:
There was another way of writing it with the same result set.
I was missing single quotation for a query assigned to a variable.
Thus, making those corrections, I found the problem gone - !
keep the backup by renaming the system_cache folder at below path:
C:\Users\{username}\AppData\Roaming\SQL Developer\system17.4.0.355.2349
The error will be gone.

Talend Force run order of joblets

My company has a couple of joblets that we put in new jobs to do things like initialization of variables, get system information from the database and sending out error / warning emails. The issue we are running into is that if we go ahead and start creating the components of a job and realize that we forgot to include these 3 joblets, we have to basically re-create the job to ensure that the joblets are added first so they run first.
Is there any way to force these joblets to run first and possibly also in a certain order before moving on to the contents of the job being created? Please let me know if there is any information you may need that I'm missing as I have only been using Talend for a few days. The rest of the team has not been using it too much longer than I have, so they do not have the answer I'm looking for either. Thanks in advance!
In Joblets you can use the components Trigger_Input and Trigger_Output as connection-points for on subjob OK triggers. So you can connect joblets and other components in a job with triggers. Thus enforcing execution order.
But you cannot get a on subjob OK trigger from a tPreJob. I am thinking on triggering from a tPreJob to a tWarn (on component OK) and then from tWarn to the joblet (on subjob OK).

Talend Subjobs and Sundry

Trying to troubleshoot an existing Talend job with many iterations and sub-jobs created by a developer who is no longer with the company. Ran into an issue with subjobs and hoping someone here can answer.
I know by reading the documentation that OnSubjobOk10 indicates that the job will execute after #10 is complete. But in a workflow with no names, how I do know which is Subjob#10? Can I assume it is the one from where the job-job connection is made?
Thanks in advance,
Bee
OnSubJobOK will make te next subjob work if the previous subjob finished without error, from help.talend:
OnSubjobOK (previously Then Run): This link is used to trigger the
next subjob on the condition that the main subjob completed without
error. This connection is to be used only from the start component of
the Job.
These connections are used to orchestrate the subjobs forming the Job
or to easily troubleshoot and handle unexpected errors.

Strange ORA-06508 error

While working on one of the production issue I came across one error in oracle.
ORA-06508: PL/SQL: could not find program unit being called
When i checked in the database i can't found any invalid objects using below query.
select * from user_objects where status <> 'VALID';
Once all the packages are recompiled by me and then tried there was no error. This is occurring in Database from sometime. Did anyone faced any such issues in past.
Can you please help me finding the RCA for this issue.