Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
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.
1 ACCEPTED SOLUTION

avatar

This was fixed by modifying email version tag.

View solution in original post

1 REPLY 1

avatar

This was fixed by modifying email version tag.