Before you begin
You have previously created a complete pipeline.
You have executed your pipeline and the execution failed.
Open the pipeline that failed on the pipeline Designer.
Here, this pipeline contains a customers database table, a Python processor and a HDFS topic to store the processed data.
To display the error message that informs you about the execution status, click
the icon on the top
From that window, you can expand the error message by clicking on it.
To get more detailed and categorized information about your
error, either click the VIEW LOGS link
from the Notification window, or go to the Metrics tab of the Pipeline
Details panel and click the VIEW
By default, all INFO logs are displayed.
To sort the logs and only read the error messages, select the
Error check box.
You can see that the error is linked to an incorrect operator used in the Python processor.
Now that you have spotted the error, select the Python processor to edit its
Here the year 2017 is surrounded by unnecessary operators that cause the pipeline to fail. Edit the line as follows:
output['number_year_registrated'] = 2017 - int(year)and save your changes.
- Click the run icon on the top toolbar to execute your pipeline again.