Peter Somogyi created HBASE-22732:
-------------------------------------
Summary: XML verification fails in precommit
Key: HBASE-22732
URL: https://issues.apache.org/jira/browse/HBASE-22732
Project: HBase
Issue Type: Bug
Affects Versions: 1.5.0
Reporter: Peter Somogyi
When XML files are modified the precommit job fails on branch-1 with {{script
engine for language js can not be found}}. Precommit job uses JDK7 on branch-1
where JavaScript engine is not available.
[~busbey] mentioned the following solutions:
{quote}
We could fix the script engine problem with any of:
Switching to a jdk7 that has a JavaScript engine still (I do not know what JDK
is freely available, updated, and has a JavaScript engine)
Disabling the check entirely
Make the existing check only run when we're using jdk8 (so currently nightly
only)
Replacing the check with one based on xmllint (and installing xmllint in our
docker image)
{quote}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)