[
https://issues.apache.org/jira/browse/MAPREDUCE-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425944#comment-13425944
]
Alejandro Abdelnur commented on MAPREDUCE-4498:
-----------------------------------------------
It seems it is not that simple. The DBCountPageView example starts/shutdowns
HSQLDB server if the driver is for HSQLDB. This means that the HSQLDB JAR must
be in the bootstrap classloader. A way to address this is to do all the
start/shutdown of HSQL via reflection in the context of the
*Thread.currentThread().getContextClassLoader()* classloader.
> Downgrade hsqldb dependency to 1.8
> ----------------------------------
>
> Key: MAPREDUCE-4498
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4498
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: build, examples
> Affects Versions: 2.2.0-alpha
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Priority: Critical
> Fix For: 2.2.0-alpha
>
> Attachments: MAPREDUCE-4498.patch
>
>
> The hsqldb jar is included in hadoop for the DBCountPageView example only.
> Currently the example is using hsqldb version 2.x; however, 2.x is
> incompatible with 1.8.x -- having this jar in the hadoop class path conflicts
> with dependent projects like Oozie, Hive, and Pig which still use 1.8.x. As
> there are no features hsqldb 2.x that are used by the example, we should
> downgrade to 1.8.x to avoid conflicts for the other projects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira