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

Sean Mackrory commented on BIGTOP-811:
--------------------------------------

After taking a closer look at the various components that would benefit from 
this, it appears that they all expect the JAR to already be in a specific 
location (<component>_HOME/lib). I propose that bigtop-detect-javahome start 
looking in likely locations for any extra artifacts (just mysql-connector-java 
at first) and create symlinks to them in /var/lib/bigtop (unless valid symlinks 
already exist). Any package that can use those artifacts can then ship with 
symlinks to the appropriate file in /var/lib/bigtop. Thoughts?
                
> Auto-detect MySQL-Java connector
> --------------------------------
>
>                 Key: BIGTOP-811
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-811
>             Project: Bigtop
>          Issue Type: New Feature
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>
> For components that require the installation of additional artifacts that 
> Bigtop cannot distribute (due to license incompatability or other issues), 
> Bigtop should provide both a standardized location to which the artifacts can 
> be installed, and the ability to auto-detect the locations to which they may 
> already be installed.
> Specifically, Sqoop and Hive (and possibly other components) require the 
> installation of the MySQL-Java connector when using MySQL for imports, 
> exports, or metadata storage. This needs to be done by copying the JAR to a 
> directory that is already in the classpath for those components (such as 
> /usr/lib/sqoop/lib and /usr/lib/hive/lib). Some repositories distribute 
> packages that install the jar to /usr/share/java.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to