Hello there,
We want to utilise Latest Version functionalities from Tac and we are having some issues. When we are increasing the version in the studio and we have a Cron-Quartz schedule job, the commandline failed to compile.
Configuration:
Talend 6.2.1 Data Fabric
Centos 7.1 - 64bits (replicated on RHEL 7)
8Gb of Ram
Java 1.8u102 (the RHEL is on 1.8u61)
Public GitHub (the RHEL is on a different GH)
The scenario to replicate is minimal.
New DI job
put a tJAva with System.out.println("this is version 1");
save run in Studio - it is fine
go to TAC, add a new normal task referring to the job from Git, choose Latest as version
add a CRON schedule to run every 5 min
run the first job manually, it works
go to the studio, increase the version from 0.1 to 0.2, open the job and change the tJava to "This is version 2" and save
wait for the TAC to rerun
commandline failed at compilation with some Git issue (while, if I am compiling manually in TAC or from Studio, it works)
This is the logtrace:
Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: java.lang.Exception: Unable to access Git. Please check Git login in user settings in TAC.
at org.talend.repository.gitprovider.core.GitBaseRepositoryFactory.beforeLogon(GitBaseRepositoryFactory.java:291)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:365)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:312)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:252)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1828)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:69)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:128)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Unable to access Git. Please check Git login in user settings in TAC.
at org.talend.repository.gitprovider.core.GitHandler.getUser(GitHandler.java:336)
at org.talend.repository.gitprovider.core.GitHandler.<init>(GitHandler.java:193)
at org.talend.repository.gitprovider.core.GitHandlerFactory.createHandler(GitHandlerFactory.java:46)
at org.talend.repository.gitprovider.core.GitBaseRepositoryFactory.beforeLogon(GitBaseRepositoryFactory.java:191)
... 12 more
org.talend.gwtadministrator.client.module.dashboard.commandline.model.CommandLineBean.executeGroupCommand(CommandLineBean.java:270)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.executeGroupCommand(JobGenerator.java:319)
org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:151)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:483)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.runTaskUnit(ExecutionTaskHandler.java:1132)
org.talend.administrator.scheduler.jobs.RemoteTaskExecution.executeRemoteJob(RemoteTaskExecution.java:472)
org.talend.administrator.scheduler.jobs.RemoteTaskExecution.execute(RemoteTaskExecution.java:248)
org.talend.administrator.scheduler.jobs.RemoteExecutionSwitcher.execute(RemoteExecutionSwitcher.java:50)
org.quartz.core.JobRunShell.run(JobRunShell.java:199)
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Caused by: org.talend.commons.exception.PersistenceException: java.lang.Exception: Unable to access Git. Please check Git login in user settings in TAC.
at org.talend.repository.gitprovider.core.GitBaseRepositoryFactory.beforeLogon(GitBaseRepositoryFactory.java:291)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:365)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:312)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:252)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1828)
at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:69)
at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:128)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:54)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Unable to access Git. Please check Git login in user settings in TAC.
at org.talend.repository.gitprovider.core.GitHandler.getUser(GitHandler.java:336)
at org.talend.repository.gitprovider.core.GitHandler.<init>(GitHandler.java:193)
at org.talend.repository.gitprovider.core.GitHandlerFactory.createHandler(GitHandlerFactory.java:46)
at org.talend.repository.gitprovider.core.GitBaseRepositoryFactory.beforeLogon(GitBaseRepositoryFactory.java:191)
... 12 more
Is it a mis-config or a bug?
Thanks for your assistance,
Hi,
With your
Talend 6.2.1 Data Fabric product, could you please report a ticket on talend support portal so that we can give you a remote assistance on your Git issue through support cycle with priority?
Best regards
Sabrina