Forum Discussion
Time Out Incremental refresh importing data from AWS Athena using SIMBA Athena 64 bit ODBC
The personal gateway is hosted on my laptop , when I attempt to connect with standard gateway I get this error
| Activity ID: | 57e58ea1-4961-42a0-aa27-d7ec23970ca9 |
| Request ID: | c1d0fca0-4344-620e-6969-0e305f0d1777 |
| Cluster URI: | https://wabi-us-east2-c-primary-redirect.analysis.windows.net/ |
| Status code: | 400 |
| Error Code: | DMTS_PublishDatasourceToClusterErrorCode |
| Time: | Thu Feb 17 2022 12:48:27 GMT+0000 (Greenwich Mean Time) |
| Service version: | 13.0.17665.52 |
| Client version: | 2202.1.09931-train |
| OPRA: | Invalid connection credentials. |
| Underlying error code: | -2147467259 |
| Underlying error message: | The credentials provided for the Odbc source are invalid. (Source at dsn=Athena.) |
| DM_ErrorDetailNameCode_UnderlyingHResult: | -2147467259 |
| Microsoft.Data.Mashup.CredentialError.DataSourceKind: | Odbc |
| Microsoft.Data.Mashup.CredentialError.DataSourcePath: | dsn=Athena |
| Microsoft.Data.Mashup.CredentialError.Reason: | AccessUnauthorized |
| Microsoft.Data.Mashup.MashupSecurityException.DataSources: | [{"kind":"Odbc","path":"dsn=Athena"}] |
| Microsoft.Data.Mashup.MashupSecurityException.Reason: | AccessUnauthorized |
We can talk about the connection later, but the problem here is that you have a gateway in your laptop. You are downloading millions of rows to your laptop and then uploading all over again. That's why you need an EC2 in AWS to install the gateway. Otherwise it will take a long time even if you have an amazing bandwith.
I would strongly suggest moving this to have 24hours a day support for refreshing and way more faster than a laptop.
Regards,
- Pandadev3 years agoPost Prodigy
Hi I have added PowerBI desktop and aGateway to a server in the AWS EC2 environment.
I am using incremental refresh to bring in 15 million rows of data .
When used on my personal computer it took upto 4 hours to run on a premium account.
So I have managed to get the EC2 environemnt setup with a server spec - EC2 server (t3a.xlarge is limited to 5gpbs bandwitch,
I have managed to create a report using desktop , with 3 days of data , and an incremental refresh to store 3 months of data. 15 million rows of data.
I can publish this and can get the gateway to connect in the cloud , but this is timing out after 2hrs.
When I tested the same code using databricks as a connector , it only took 20 minutes.
So I think there must be something I am doing wrong in my EC2 server.
Any assistance on this would be much appreciated
Some messages I see in my logs are
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: duration to value: 240 <=====
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: AwsProfile to value: powerbi
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: timeout to value: 120 <=====
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: UseProxyForIdP to value: 0
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: LakeformationEnabled to value: 0
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: EnableResultReuse to value: 0
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: ReusedResultMaxAgeInMinutes to value: 60
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: VerifySSL to value: 1
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: SSL_Insecure to value: 0
2023-08-17 15:49:45: tid(5408): connection_settings.cpp(46): LogConnectionAttributes: Set attribute: S3ResultBlockSize to value: 67108864 <=====
2023-08-17 15:49:45: tid(5408): connection_settings.h(264): InitializeAuthenticationAndEncOptions: Log enter.
2023-08-17 15:49:45: tid(5408): connection_settings.h(278): Merge: Override parameter AuthenticationType
2023-08-17 15:49:45: tid(5408): connection_settings.h(278): Merge: Override parameter AwsProfile