Just upgraded to R90 this morning and having some issues. The logs don’t tell me exactly what could be wrong. I added the master to our VPC group for redshift and also the Redshift Load Role. And updated configs as well of course (EMR + target configs). Also what --skip flags do i include for this new version to ONLY run storage loader through emr etl runner? i’ve tried a whole bunch of different combos and nothing works.
I, [2017-08-01T19:04:41.784000 #25727] INFO -- : ERROR: Data loading error Problems with establishing DB connection
[Amazon](600000) Error setting/closing connection: General SSLEngine problem.
Following steps completed: [Discover]
To run only RDB Loader step you need to skip following steps: staging,s3distcp,enrich,shred,elasticsearch,archive_raw,analyze,archive_enriched. Basically, everything except rdb_load.
Logs tell us that RDB Loader cannot establish connection to Redshift due “SSLEngine problem”. Unfortunately, it can mean both general unavailability (due firewall) and real SSL problem (we’ve changed JDBC driver to Redshift native in this release and I encountered many differences).
To diagnose why RDB Loader cannot establish connection I propose first to check if problem is in JDBC driver, by changing sslMode to DISABLE if it is possible. If it doesn’t help then there’s something in AWS security settings (can you confirm btw, roleArn has form of arn:aws:iam::719197435995:role/RedshiftLoadRole and not just RedshiftLoadRole?).
I think the “Error running EmrEtlRunner… StorageLoader not run” message comes from the simple orchestration shell script that used to be recommended for running StorageLoader after checking the return value of EmrEtlRunner.
Just a heads-up that if you’re still load Redshift via SSL - you may encounter problems after October 23rd as AWS is replacing certificates. To fix this this you’ll need to either use StorageLoader and use Redshift Certificate Authority Bundle as described in above link or use pre-released assets. For latter you’ll need to bump following properties in your config.yml: