Hierarchical Stage is terminated while calling REST Service
Posted: Mon Jan 02, 2017 6:33 am
Hi Team
I have created a Server job for calling a REST POST service and capturing the response.
This thread is a part of this issue but posting here if someone can help me with this server job.
Design:
transformer Stg ---> Hierarchical Stage ---> Seq File
a) transformer stage - generating a single dummy record to passing the payload file name into Hierarchical Stage
b) Hierachical Stage - ( Input Step, REST Step and Output Step)
i - Input Step - Reading the single row passed by transformer stage which have payload file name
ii- REST step - HTTP method - POST
URL - Service URL
Security -- None
Request - A file whole path is set in Mappings as bodyFilePath
Response - A text node named body in the Output Schema
Mappings - Mapped the input fileName (payload) to bodyFilePath
iii- Output Step - Mapped the Service response to output columns
c) Seq File - Load the response into file
When I am running this job, my job is aborting with below error -
Abnormal termination of stage jobName..xfm detected
DataStage is indicating that error is in transformer stage but it is working fine if I removed the HIerarchical Stage.
Help me to debug this server job as I am new to this Oldest job
Thanks for your time !!
I have created a Server job for calling a REST POST service and capturing the response.
This thread is a part of this issue but posting here if someone can help me with this server job.
Design:
transformer Stg ---> Hierarchical Stage ---> Seq File
a) transformer stage - generating a single dummy record to passing the payload file name into Hierarchical Stage
b) Hierachical Stage - ( Input Step, REST Step and Output Step)
i - Input Step - Reading the single row passed by transformer stage which have payload file name
ii- REST step - HTTP method - POST
URL - Service URL
Security -- None
Request - A file whole path is set in Mappings as bodyFilePath
Response - A text node named body in the Output Schema
Mappings - Mapped the input fileName (payload) to bodyFilePath
iii- Output Step - Mapped the Service response to output columns
c) Seq File - Load the response into file
When I am running this job, my job is aborting with below error -
Abnormal termination of stage jobName..xfm detected
DataStage is indicating that error is in transformer stage but it is working fine if I removed the HIerarchical Stage.
Help me to debug this server job as I am new to this Oldest job
Thanks for your time !!