amazon-web-services - How to connect to AWS EMR via AWS QuickSight
问题描述
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.
推荐阅读
- html - Ag-grid 表中实际行数
- java - iText 7提取的图像得到黑色背景
- json - Ansible 中的多行 var 声明
- flask - 将flask中的函数调用到Django屏幕中
- c++ - 如何在 Visual Studio C++ 中显示文本 2 秒
- python-3.x - 将多个值传递给python函数
- .htaccess - 使用 htaccess 更改文档路径
- python - 命令行参数接受 -SS 也正如预期的那样 -S 使用 argparse
- python - pandas dataframe groupby 索引并将行值转换为列
- c# - 测试资源管理器和测试输出窗口中不同数量的测试