Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validator fails with "Unexpected character" #19

Open
arnold-jr opened this issue Feb 23, 2017 · 0 comments
Open

Validator fails with "Unexpected character" #19

arnold-jr opened this issue Feb 23, 2017 · 0 comments

Comments

@arnold-jr
Copy link

arnold-jr commented Feb 23, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant