[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425918#comment-13425918
 ] 

Alejandro Abdelnur edited comment on MAPREDUCE-4498 at 7/31/12 4:54 PM:
------------------------------------------------------------------------

It looks like we are including hsqldb in hadoop lib JARs only because of an 
example. This seems wrong, the right thing to do would be to have a 
lib-examples/ directory where hsqldb should live and the example should be run 
using the hadoop -libjars option. By doing this we don't pollute Hadoop 
classpath with unneeded runtime JARs and we don't create conflicts for projects 
that use/require other versions of hsqldb.
                
      was (Author: tucu00):
    It seems looks we are including hsqldb in hadoop lib JARs only because of 
an example. This seems wrong, the right thing to do would be to have a 
lib-examples/ directory where hsqldb should live and the example should be run 
using the hadoop -libjars option. By doing this we don't pollute Hadoop 
classpath with unneeded runtime JARs and we don't create conflicts for projects 
that use/require other versions of hsqldb.
                  
> 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

        

Reply via email to