Search code examples
mysqlhivewso2wso2-bam

Using a DataSource in WSO2 BAM 2.0


I´d like to use a MySQL database to store the results of Hive analytics scripts in BAM 2.0.1. Taking a look at the supplied examples, I can see that I have to pass connection information using a number of properties (mapred.jdbc.*).

Is there a way to use a Carbon datasource instead of direct jdbc connections ? My main concern is the use of cleartext passwords in a script, a big blocker in security-concerned organizations.

TIA


Solution

  • yes it is possible. You can use wso2.carbon.datasource.name parameter to pass the name of the carbon datasource.