2017-02-01 12 views
1

我想從S3到Redshift的紅移複製活動,並獲取下面的錯誤,當我運行它。AWS數據管道RedshiftCopy活動沒有合適的驅動程序

01 Feb 2017 04:08:38,467 [INFO] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.taskrunner.TaskPoller: Executing: [email protected] 
01 Feb 2017 04:08:38,962 [ERROR] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.database.ConnectionFactory: Unable to establish connection to postgresql:/redshiftHost:5439/trivusdev No suitable driver found for postgresql:/redshiftHost:5439/trivusdev 
01 Feb 2017 04:08:39,063 [ERROR] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.database.ConnectionFactory: Unable to establish connection to postgresql:/redshiftHost:5439/trivusdev No suitable driver found for postgresql:/redshiftHost:5439/trivusdev 
01 Feb 2017 04:08:39,265 [ERROR] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.database.ConnectionFactory: Unable to establish connection to postgresql:/redshiftHost:5439/trivusdev No suitable driver found for postgresql:/redshiftHost:5439/trivusdev 
01 Feb 2017 04:08:39,666 [ERROR] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.database.ConnectionFactory: Unable to establish connection to postgresql:/redshiftHost:5439/trivusdev No suitable driver found for postgresql:/redshiftHost:5439/trivusdev 
01 Feb 2017 04:08:40,468 [ERROR] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.database.ConnectionFactory: Unable to establish connection to postgresql:/redshiftHost:5439/trivusdev No suitable driver found for postgresql:/redshiftHost:5439/trivusdev 
01 Feb 2017 04:08:40,473 [INFO] (TaskRunnerService-resource:[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.taskrunner.HeartBeatService: Finished waiting for heartbeat thread @RedshiftLoadActivity_2017-02-01T03:43:47_Attempt=3 
01 Feb 2017 04:08:40,473 [INFO] (TaskRunnerService-resource:df-0657690R[email protected]_2017-02-01T03:43:47-0) df-0657690RH3EEUVGYXWE amazonaws.datapipeline.taskrunner.TaskPoller: Work RedshiftCopyActivity took 0:2 to complete 

我能夠看到有人建議使用postgresql驅動程序,而不是使用紅移驅動程序。

但是,當我嘗試用PostgreSQL的驅動程序,我得到的錯誤是:

No suitable driver found for postgresql://..... 

請建議我應該在哪裏進行更正?

回答

2

事實上沒有合適的驅動程序找到對PostgreSQL:/ redshiftHost:5439/trivusdev你確定這是正確的URL網址應該是這樣的:

jdbc:postgresql://redshiftHost:5439/trivusdev?OpenSourceSubProtocolOverride=true 

我想你錯過了jdbc:..和主機之前的/

您可以在這裏瞭解更多:Creating a custom Database connection

希望這可以幫助你。

+0

那是什麼失蹤,它現在創造的承諾。 – Sarang

+0

不用客氣@Sarang –

相關問題