neils-dev opened a new pull request #2153: URL: https://github.com/apache/ozone/pull/2153
## What changes were proposed in this pull request? Added maven build dependency _jaxb-runtime_ to each _pom.xml_ file in ozone build that requires _jaxb-api_ dependency. Changes made to compile and run with Java 11 see _**https://javaee.github.io/jaxb-v2/doc/user-guide/ch03.html#deployment-maven-coordinates**_. In summary, `If client application needs to include the runtime, e.g. running standalone on JavaSE jaxb-runtime should be also included. ` Fixes java 11 compile issues for unit testing ie. _hadoop-ozone/tools_ as well as ozone runtime commands such as _getconf_. Made small changes to fix unit test: _hadoop-hdds/container-service/TestContainerData.Yaml_. With java 11 compile, unit test fails due to comparison between expected and actual container date/time. Failure occurs because time in date/time is truncated (precision error) in comparison. Change _to use_ timestamp epochs in milliseconds. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-5068 ## How was this patch tested? Build without errors : `mvn clean install -Phdds -DskipTests=true -Dmaven.javadoc.skip=true -Pdist -Dtar -DskipShade` and, `hadoop-ozone/dev-support/checks/unit.sh` with clean hadoop-hdds/container-service tests after patch for TestContainerDataYaml **Note:** observed _intermittent errors_ associated with _hdds-container-service_: _TestSchemaOneBackwardsCompatibility_ (problem due to thread-pool dispatching a non-blocking thread when testcase expects a blocking thread; thread is not finished when test checks condition hence intermittent error).  with fixed errors :  **Also** tested with ozone getconf command (passes with patch, see jira for error reported by **@elek** ):  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
