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.

Custom Service Descriptors

Highlighted

Custom Service Descriptors

New Contributor

Hi,

 

I have created a CSD but the problem is when i try to build the CSD jar it fails at the validation step with the following error:

 

[INFO] --- schema-validator-maven-plugin:5.12.0:validate (validate-schema) @ SPARK2_THRIFT1 ---
[ERROR] Validating: /root/from-NewClouderaSpark2.0/parcels/spark-spark2-with-ts-2.0.0-cloudera2/csd_thrift1/src/descriptor/service.sdl
Invalid service dependencies:
==> service.serviceDependencies[1].name "SPARK2_ON_YARN" must be a valid service type
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.658 s
[INFO] Finished at: 2017-12-21T15:40:59+05:30
[INFO] Final Memory: 28M/205M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.cloudera.enterprise:schema-validator-maven-plugin:5.12.0:validate (validate-schema) on project SPARK2_THRIFT1: Encountered 1 errors -> [Help 1]

 

The reason for the failure is that in src/descriptor/service.sdl file I have declared SPARK2_ON_YARN as a service dependancy.

My question is does the CSD validator doesn't support validation of other CSD's created in this case SPARK2_ON_YARN?

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