Troubleshooting errors when working with Amazon S3
When you use Hue with Amazon S3, you might encounter these errors. To view buckets, directories, and files that have been added to your S3 account, restart the Hue service.
Error Message | Example | Possible Solution |
---|---|---|
Failed to access path: | Failed to access path: "s3a://quakes". Check that you have access to read this bucket and that the region is correct. |
Check your bucket region:
|
The table could not be created. | The table could not be created. Error while compiling statement: FAILED: SemanticException com.cloudera.com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain. |
Set your S3 credentials in Hive
core-site.xml:
|
The target path is a directory. | - | Remove any directories or files that may have
been added to s3a://quakes/input/ (so that
all_month.csv is alone). |
Bad status for request TFetchResultsReq … Not a file | Bad status for request TFetchResultsReq(...): TFetchResultsResp (status=TStatus(errorCode=0, errorMessage='java.io.IOException: java.io.IOException: Not a file: s3a://Not a file: s3a://quakes/input/output' ... |
Remove any directories or files that may have
been added to |