Skip to main content
kelpye
Silver ⭐️⭐️
April 26, 2024
Question

EBCDICRecordReader 1.0.0.2.1.6.1001-2

Hi there!

I am trying to use this processor. I have found a very useful guide: https://docs.cloudera.com/cdf-datahub/7.2.18/mainframe-ebcdic-nifi/topics/cfm-create-mainframe-ebcdic-recordreader.html?

I am following the same steps but I am encontering this error:
"Copybook Path" validated against #{hdfs.output.raw-input-files}TGSS/copybook.cbl is invalid because The specified resource do not exist or could not be accessed: [#{hdfs.output.raw-input-files}TGSS/copybook.cbl]
Is anybody having this issue?
How can I solve it?

Thanks in advance

6 replies

kelpye
kelpyeAuthor
Silver ⭐️⭐️
April 26, 2024

Of course I do have in HDFS in the route the copybook.cbl file.

Translate
kelpye
kelpyeAuthor
Silver ⭐️⭐️
April 26, 2024

kelpye_0-1714128894102.png

 

Translate
MattWho
Titanium ⭐️⭐️⭐️
Titanium ⭐️⭐️⭐️
April 26, 2024

@kelpye 

While I am not familiar with this specific processor, maybe the following suggestions will help since the exception shared states that NiFi is unable to validate against the configured property value in the "CopybookPath" property :

1. The following string in your copybook path is a NiFi Parameter reference:

#{hdfs.output.raw-input-files}

When NiFi enables this processor it resolves the above the value configured to it in the parameter context list.  If you replace above with the absolute local path instead of using a parameter, does it validate?

2. Also keep in mind that all components executing on the canvas are executed as the NiFi service user and not as the authenticated user who added those components to the canvas.  So make sure that the NiFi service user is able to navigate the resolved path to your copybook.cbl file and has proper OS permissions to read that file.

Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

Translate
kelpye
kelpyeAuthor
Silver ⭐️⭐️
May 22, 2024

Thanks for the replay and my apologies in  my late response. The first sugestion does not work, the error is not related to it. In any case I tried both and get the same error.
The second sugestion, it is right we firstly had problems to reaching the route but at the moment it is solved.

Anyway I still couldnt solve my problem.

Translate
DianaTorres
Community Manager
Community Manager
May 8, 2024

@kelpye Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.

Translate
Regards, Diana Torres, Senior Community Moderator