I have setup a default template from Kylo installation directory for 'data_ingest' on kylo UI - http://localhost:8400
Using the template I created a Feed to fetch data from database (MySQL) specifying database / table / columns in Feed details.
The database was selected from a dropdown, I have given all configurations inside /opt/kylo/kylo-services/application.properties
spring.datasource.username=root
spring.datasource.password=cloudera
..
hive.metastore.datasource.username=root
hive.metastore.datasource.password=cloudera
Despite this the job is failing for me with following error -
GetTableData[id=a3eb6450-1f53-3e1e-a523-01db02f0b625] Unable to execute SQL select from table due to StandardFlowFileRecord[uuid=27219d8a-9bef-40be-a413-63d4d8663ebe,claim=,offset=0,name=32633830193154,size=0]; routing to failure: org.apache.nifi.processor.exception.ProcessException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not connect: Access denied for user 'root'@'localhost' (using password: NO))
Is there any configuration that I am missing causing this error?
To resolve this, provide the credentials for connecting to the database via the controller service. The steps are below: