【问题标题】:Datapipeline can't connect to RedshiftDatapipeline 无法连接到 Redshift
【发布时间】:2015-12-10 20:26:56
【问题描述】:

我已将 Redshift 集群从 VPC 中的快照恢复到 EC2 Classic。我已经转移了我的旧数据管道并使用我的新集群的 JDBC 连接更新了它们的管道定义。

但是,当我尝试重新运行管道时,会出现以下错误:

df-041104839VS05ZRRF9GE amazonaws.datapipeline.database.ConnectionFactory: Unable to establish connection to jdbc:postgresql://adops-etl.cxp7sr869idv.us-east-1.redshift.amazonaws.com:5439/staging?tcpKeepAlive=true Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

现在我需要使用此集群和管道从 VPC 迁移到 EC2 Classic 的其他配置吗?

【问题讨论】:

    标签: amazon-ec2 amazon-redshift amazon-vpc


    【解决方案1】:

    检查安全组和组中的规则。 确保您的 IP 允许使用正确的端口号连接到 Redshift。 如果您的连接基于 SSL,则端点会发生变化。

    【讨论】:

    • 我认为我的问题最终无关紧要,但感谢@Paladin 的帮助!
    【解决方案2】:

    我最终通过从现有管道复制管道定义并将其详细信息替换为我的新管道的详细信息来解决此问题。在某些时候,亚马逊改变了他们构建管道定义 JSON 的方式,格式上的差异不知何故导致了这个错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-11-19
      • 2017-11-04
      • 1970-01-01
      • 1970-01-01
      • 2022-08-22
      • 2020-08-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多