Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution

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

Explorer
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

Accepted Solutions

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

Explorer

This was fixed by modifying email version tag.

1 REPLY 1

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

Explorer

This was fixed by modifying email version tag.

Don't have an account?
Coming from Hortonworks? Activate your account here