We have a Snowflake Loader job that is failing with EMR error:
Unhandled runtime exception. Failed to access remote file: token expired. Please check your credentials
The transformer job is running correctly. Loader version is 0.6.0.
Any suggestion how to fix this issue?
Here is the playbook.json file:
{
"schema":"iglu:com.snowplowanalytics.dataflowrunner/PlaybookConfig/avro/1-0-1",
"data":{
"region":"eu-west-1",
"credentials":{
"accessKeyId":xxxxxxxxxxxxx,
"secretAccessKey":xxxxxxxxxxxxxxxxxxxxx
},
"steps":[
{
"type":"CUSTOM_JAR",
"name":"Snowflake Transformer",
"actionOnFailure":"CANCEL_AND_WAIT",
"jar":"command-runner.jar",
"arguments":[
"spark-submit",
"--deploy-mode",
"cluster",
"--class",
"com.snowplowanalytics.snowflake.transformer.Main",
"s3://snowplow-hosted-assets/4-storage/snowflake-loader/snowplow-snowflake-transformer-0.6.0.jar",
"--config",
"{{base64File "./snowflake-loader.json"}}",
"--resolver",
"{{base64File "./resolver.json"}}"
]
},
{
"type":"CUSTOM_JAR",
"name":"Snowflake Loader",
"actionOnFailure":"CANCEL_AND_WAIT",
"jar":"s3://snowplow-hosted-assets/4-storage/snowflake-loader/snowplow-snowflake-loader-0.6.0.jar",
"arguments":[
"load",
"--base64",
"--config",
"{{base64File "./snowflake-loader.json"}}",
"--resolver",
"{{base64File "./resolver.json"}}"
]
}
],
"tags":[ ]
}
}