I am trying to connect to AWS QuickSight with AWS EMR via Spark JDBC.
I gave hostname of AWS EMR Master node and Port 18080, but I am not sure about the username and password.
https://i.stack.imgur.com/66Acv.png
Even when i click on validate i am getting the below error:
[Simba]SparkJDBCDriver Error initialized or created
transport for authentication: javax.net.ssl.SSLException: Unrecognized
SSL message, plaintext connection?.
Couldnt find anywhere on what needs to be inputted in the fields. Any help would be appreciated.
I figured out. here are the steps:
Start thriftserver in EMR server.
sudo /usr/lib/spark/sbin/start-thriftserver.sh
The port for Spark Thriftserver will be : 10001
Either enable this port in EMR inbound setting or use SSH Tunnel to connect to spark via JDBC.
Username and password could be anything.
SSL needs to be unchecked in QuickSight to connect.
Related
I just need help here,
I'm just getting started into AWS RDS, I have web application and I have deployed into AWS Through AWS EBS
and now I wanted to connect my DB, for that I attached RDS to my application in beanstalk. When testing the connection, I am Getting this error
This is my ENDPOINT:
Here are my RDS DB Configuration:
and SID is:
please help me sort this, I got stuck here from 2 days.
Thank You.... :)
Please, in your connection setup in SQL Developer, in the Hostname field, just remove the literal :3306 at the end of your hostname string: this value is in fact the port in which the database is listening.
In order to complete your connection setup, enter the value 3306 in the Port field instead of the 1521 you indicated in your image.
We Have recently updated the SSL for AWS rds from rds-ca-2015 to rds-ca-2019. Now application working and connected with SSL, but we couldn't able confirm the rds now using rds-ca-2019. Anyone, please update, how to confirm AWS RDS SSL using rds-ca-2019? Below the steps, we followed to renew the SSL.
1. Download the PEM file from https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
2. mysql -h testdb.xxxxxxxxxx.eu-central-1.rds.amazonaws.com --ssl-ca rds-combined-ca-bundle.pem --ssl-mode=VERIFY_IDENTITY -u username -p
3. In AWs console, In the Network & Security section, changed from rds-ca-2015 to rds-ca-2019, Rebooted.
Maybe you can find an answer here by checking which Mysql user is using ssl for connection and how to check ca in rds and steps to update ca 2019 in rds.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/ssl-certificate-rotation-mysql.html
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html
In order to check the certificate authority currently used by your RDS instance, you can follow the steps below.
Navigate to the RDS service from the AWS console.
Click on Databases in the navigation panel on the left side.
Click on the RDS instance that you need to check.
The Certificate authority listed in the Connectivity & security tab shows the certificate authority currently used by the RDS instance.
I'm running an analytical application on an Azure VM and need to connect to a Redshift database.
Both of these softwares have complex company security policies that I've tried to unravel. All necessary ports are open, accepting incoming and outgoing. But when I try to connect to Redshift using the ODBC Administrator on the Azure, I get this error:
[Amazon][Amazon Redshift] (10) Error occurred while trying to connect: [SQLState HY000] fe_sendauth: no password supplied
I have supplied a password to the ODBC connection, why is this happening?
Also, when clearing IP addresses to connect to the Azure, which IP do I use for the Redshift? All the IPs associated with the compute nodes, or the IP that comes back when I check the IP address of the Redshift endpoint?
Thanks!
I am stuck on making a AWS Data Pipeline which takes data from RDS Mysql to s3.
I ahve tried Template but failed alot. Then I made this self configured pipeline but still no success. Can anyone point out the problem by seeing the architect?
Here are the RDS MySQL Details -> NOTE <- that username in picture is different because I am using a separate user and the username in picture is administrator
This is the Data Pile Line Architect
Below are the settings of first block i.e Configuration
Below are the settings of RDS MySQL DataBase
Below are settings of EC2 Machine
Below are the Settings of SQL Data node - which i guess gets data from RDS
Below are the Settings of Copy Activity
Below are the settings of S3 Data Node - which i guess puts data on S3
Here is the ERROR LOG
I read that it could be an error due to VPC (Virtual Private Cloud) permissions but I am not sure how to add these settings as the server is a Production Server and I am afraid to perform this test. Can any one provide a solid solution please?
As previously mentioned, your ec2 instance is not able to contact the Database endpoint. Please use the link to configure the security groups correctly http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Scenarios.html
To test this, spin up a ec2 instance in the subnet and telnet to the database endpoint to ensure the connection is fine. You can then resume the activation of your pipeline.
Commands
sudo yum install telnet
telnet hostname port
I'm new to AWS and I'm having trouble connecting to my RDS instance from my EC2 instance. I think both are sitting within the same VPC. I can use SSH2 from putty to connect to my EC2 instance and I can use eclipse to connect to my RDS instance. However, I can't see to connect to the RDS from the EC2. When I try the following command:
ec2 command prompt> mysql -h endpoint -P 3306 -u user -p password
I get the following error:
Enter password:
ERROR 1049 (42000): Unknown database 'password'
Any ideas what I'm doing wrong? Also, why is it asking me for my password again? I've already specified it in my connection string.
Any help would be appreciated - thanks!
Okay - I was able to figure out what was wrong. It seems that I should be using the following to connect to the RDS:
mysql -u username -p -h endpoint databaseName
This prompts me to enter in my password, which then connects me to my database above in the RDS instance that I have set up. Evidently, you have to specify the database that you want to connect to and the port number is optional. I was able to connect both with it and without it. The documentation on AWS that I've read has never actually had the database name, which is what was throwing me off. Hope this can help someone else.