Comments (3)
Hi @yyie - do you see any errors or warnings in the Metabase server logs? You can find these in the Admin --> Troubleshooting section of Metabase. Please also let me know which version of Metabase and the Athena driver you're using.
from metabase-athena-driver.
Hi, thanks for your answer.
I'm using:
- Metabase: 0.36.4
- Athena driver: 1.1.0
I found that the problem was the missing permissions for Athena. Additionally, the IAM policy reports some warnings because there are several athena permissions that doesn't exist. With those changes Metabase is working ok.
This is the AIM policy that i'm using ....
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"athena:GetTableMetadata",
"athena:StartQueryExecution",
"athena:ListDataCatalogs",
"glue:GetTableVersions",
"glue:GetPartitions",
"athena:GetQueryResults",
"athena:GetDatabase",
"athena:GetDataCatalog",
"athena:ListWorkGroups",
"athena:GetNamedQuery",
"athena:ListQueryExecutions",
"athena:GetWorkGroup",
"glue:GetTableVersion",
"athena:StopQueryExecution",
"athena:GetQueryResultsStream",
"glue:GetTables",
"glue:BatchGetPartition",
"glue:GetDatabases",
"athena:ListTagsForResource",
"glue:GetTable",
"athena:ListNamedQueries",
"glue:GetDatabase",
"glue:GetPartition",
"athena:ListDatabases",
"athena:GetQueryExecution",
"athena:BatchGetNamedQuery",
"athena:ListTableMetadata",
"athena:BatchGetQueryExecution"
],
"Resource": ""
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::xxxxxxxxxxxxx",
"arn:aws:s3:::xxxxxxxxxxxxx/"
]
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:AbortMultipartUpload",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::xxxxxxxxxxxxx",
"arn:aws:s3:::xxxxxxxxxxxxx/*"
]
}
]
}
from metabase-athena-driver.
Thanks, @yyie! That makes sense - I think the main one is athena:ListDataCatalogs
but there may be others.
This is related to #56 where the upgraded JDBC driver requires additional permissions and I need to update the readme.
from metabase-athena-driver.
Related Issues (20)
- How to set time zone in driver properly HOT 1
- Metabase in Athena: The Percentile function doesn't work. HOT 3
- Athena data source continuously trigger unexpected queries HOT 4
- Glue availability check failed due to missing permission HOT 4
- The character 'ß' leads to a JDBC error when using it in a local SQL Query HOT 11
- Compatibility with Metabase v.0.44.2 HOT 1
- Error message not found: ATHENA_CLIENT_ERROR HOT 12
- Driver doesn't work anymore on latest metabase version 0.44.3 HOT 3
- Getting no fields found for an athena table HOT 12
- field filter issue when using default database to connect to HOT 3
- Chart do not work while selecting date range in days/weeks/months HOT 7
- Have multiple sets of permissions using different roles HOT 3
- Athena Query Result feature not working HOT 3
- No fields found with dynamoDB HOT 3
- Metabase v0.45 with native Athena support HOT 5
- Managed Tables are Not Synced in Metabase HOT 2
- v0.41 Compatibility HOT 1
- How to query Databases/Tables from a catalog different from the default one (AwsDefaultCatalog) HOT 4
- connection timeout HOT 3
- IAM Policy Changes - Athena HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metabase-athena-driver.