Reply
Explorer
Posts: 9
Registered: ‎02-05-2016
Accepted Solution

Unable to send email attachement from Oozie Hue Browser on 4.1.0-cdh5.5.1

[ Edited ]
I am trying to send an email attachment from Hue browser on CDH 5.5 I am getting error for not recognizing attachment tag. I know OOZIE-2160 has fixed this issue on CDH5.5. Error re-running workflow 0000006-160921134749647-oozie-oozi-W.E0701: XML schema error, cvc-complex-type.2.4.d: Invalid content was found starting with element 'attachment'. No child element is expected at this. I also tried running the job outside Hue still get the same error: Oozie client build version: 4.1.0-cdh5.5.1

<action name="email-b5ff">
<email xmlns="uri:oozie:email-action:0.1">
<to>test@abc.com</to>
<subject>attachment email</subject>
<body>Email is available</body>
<attachment>hdfs://xxx:8020/user/eng//mergeConsolidatedReport.text</attachment>
</email>
<ok to="End"/>
 
Anything I add I after body tag I am getting error Error: E0701 : E0701: XML schema error, cvc-complex-type.2.4.d: Invalid content was found starting with element 'content_type'. No child element is expected at this point.
Highlighted
Explorer
Posts: 9
Registered: ‎02-05-2016

Re: Unable to send email attachement from Oozie Hue Browser on 4.1.0-cdh5.5.1

This was fixed by modifying email version tag.

Announcements