Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ImportItems is not working in commandline in deployment process- Talend

I'm new to Talend and trying to export & import a job using Command line. 

 

export process has completed and created the job.zip file at destination folder

 

but import is not happening.......import process got stuck once it logged on to project.......

 

Below command lines are used to do import:

----------------------------------------------------------------------

initRemote adminURL
listProject
logonProject -pn TargetProject -ul "userID" -up "password"
importItems "/destination/path/TESTJOB.zip" -o -s -sl
logoffProject

-------------------------------------------------------------------------

 

Logs:

-----------

!ENTRY org.talend.platform.logging 1 #Day and Timestamp#
!MESSAGE 2018-05-18 14:34:08,973 INFO org.talend.core.repository.model.ProxyRepositoryFactory - user, userlogged on TargertProject

COMPLETED at #Day and Timestamp#


!ENTRY org.talend.commandline #Day and Timestamp#
!MESSAGE logonProject

!ENTRY org.talend.commandline #Day and Timestamp#
!MESSAGE COMPLETED at Fri May 18 14:34:08 CDT 2018   ####### This is last line in log file and didn't write anything further.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Sabrina,

 

There was no error message in commandline log. But after multiple random attempts, job was deployed successfully. Also I'm running into different issue in import process in commandline.

 

Change I did: 

Removed the flag -sl (stats and Logs) from importItems command. 

 

Appreciate your response. Thanks.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hello,

Is there any more error message in your commandline log?

You can find the log of Commandline in this path: <Talend Commandline install dir>/commandline-workspace/.metadata/.log

Note:Talend forbid import of items from an upper version.

Best regards

Sabrina

 

Anonymous
Not applicable
Author

Sabrina,

 

There was no error message in commandline log. But after multiple random attempts, job was deployed successfully. Also I'm running into different issue in import process in commandline.

 

Change I did: 

Removed the flag -sl (stats and Logs) from importItems command. 

 

Appreciate your response. Thanks.