cm_ext icon indicating copy to clipboard operation
cm_ext copied to clipboard

Validator fails with "Unexpected character"

Open arnold-jr opened this issue 8 years ago • 0 comments

Hi,

I successfully built the cm_csds from the root with maven. I also built cm_ext from the root but am getting this error:

[foo@bar target]$ $JAVA_HOME/bin/java -jar $VALIDATOR -s KAFKA-5.8.0.jar 
Validating: KAFKA-5.8.0.jar
==> Unexpected character ('P' (code 80)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: [B@76e992d; line: 1, column: 2]

This occurs for at least ECHO and KAFKA.

I'm using Cloudera's java,

[foo@bar target]$ echo $JAVA_HOME
/usr/java/jdk1.7.0_67-cloudera

using my hand-built validator,

[foo@bar target]$ echo $VALIDATOR
$HOME/cloudera/cm_ext/validator/target/validator.jar

and using a fresh yum install of maven

[foo@bar target]$ mvn -v
Apache Maven 3.0.5 (Red Hat 3.0.5-16)
Maven home: /usr/share/maven
Java version: 1.7.0_67, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_67-cloudera/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.36.3.el7.x86_64", arch: "amd64", family: "unix"

I searched but didn't find any issues, and I'm fairly green using maven, so I apologize if this is something obvious/general.

Thanks!

arnold-jr avatar Feb 23 '17 18:02 arnold-jr