IllegalArgumentException 必须指定 bucketName 参数。 com.amazonaws.services.s3.AmazonS3Client.rejectNull
IllegalArgumentException The bucketName parameter must be specified. com.amazonaws.services.s3.AmazonS3Client.rejectNull
运行 AWS-EMR 集群上的 Clojure jar
使用 (hfs-textline)
并获得:
IllegalArgumentException The bucketName parameter must be specified. com.amazonaws.services.s3.AmazonS3Client.rejectNull`.
经过多次不同的尝试,本例中的解决方案是 'AWS_ACCESS_KEY' 和 'AWS_SECRET_KEY' 值错误。
就我而言,这确实是关于 bucketname 的。我输错了 s3:///mkay4242
(3 个斜杠)而不是 s3://mkay4242
。
就我而言,我尝试了不同的解决方案,但我的区域名称不正确。
请select下面给出的区域名称
以前我使用 US East(Ohio) 作为区域,但在将其更新为 us-east-2 之后属性文件我的代码 运行 成功。
在application.properties文件中
#aws.s3.region=US East(Ohio)
aws.s3.region=us-east-2
public enum Regions {
GovCloud("us-gov-west-1", "AWS GovCloud (US)"),
US_GOV_EAST_1("us-gov-east-1", "AWS GovCloud (US-East)"),
US_EAST_1("us-east-1", "US East (N. Virginia)"),
US_EAST_2("us-east-2", "US East (Ohio)"),
US_WEST_1("us-west-1", "US West (N. California)"),
US_WEST_2("us-west-2", "US West (Oregon)"),
EU_WEST_1("eu-west-1", "EU (Ireland)"),
EU_WEST_2("eu-west-2", "EU (London)"),
EU_WEST_3("eu-west-3", "EU (Paris)"),
EU_CENTRAL_1("eu-central-1", "EU (Frankfurt)"),
EU_NORTH_1("eu-north-1", "EU (Stockholm)"),
EU_SOUTH_1("eu-south-1", "EU (Milan)"),
AP_EAST_1("ap-east-1", "Asia Pacific (Hong Kong)"),
AP_SOUTH_1("ap-south-1", "Asia Pacific (Mumbai)"),
AP_SOUTHEAST_1("ap-southeast-1", "Asia Pacific (Singapore)"),
AP_SOUTHEAST_2("ap-southeast-2", "Asia Pacific (Sydney)"),
AP_NORTHEAST_1("ap-northeast-1", "Asia Pacific (Tokyo)"),
AP_NORTHEAST_2("ap-northeast-2", "Asia Pacific (Seoul)"),
SA_EAST_1("sa-east-1", "South America (Sao Paulo)"),
CN_NORTH_1("cn-north-1", "China (Beijing)"),
CN_NORTHWEST_1("cn-northwest-1", "China (Ningxia)"),
CA_CENTRAL_1("ca-central-1", "Canada (Central)"),
ME_SOUTH_1("me-south-1", "Middle East (Bahrain)"),
AF_SOUTH_1("af-south-1", "Africa (Cape Town)")
;
聚会迟到了,但请检查您发送到 AWS 的参数。
就我而言,我正在使用存储的 S3 视频开始重新识别任务,我正在发送:
Video: {
S3Object: {
Bucket: BUCKET_KEY,
Name: filename //<- this was null
}
}
运行 AWS-EMR 集群上的 Clojure jar
使用 (hfs-textline)
并获得:
IllegalArgumentException The bucketName parameter must be specified. com.amazonaws.services.s3.AmazonS3Client.rejectNull`.
经过多次不同的尝试,本例中的解决方案是 'AWS_ACCESS_KEY' 和 'AWS_SECRET_KEY' 值错误。
就我而言,这确实是关于 bucketname 的。我输错了 s3:///mkay4242
(3 个斜杠)而不是 s3://mkay4242
。
就我而言,我尝试了不同的解决方案,但我的区域名称不正确。 请select下面给出的区域名称
以前我使用 US East(Ohio) 作为区域,但在将其更新为 us-east-2 之后属性文件我的代码 运行 成功。
在application.properties文件中
#aws.s3.region=US East(Ohio)
aws.s3.region=us-east-2
public enum Regions {
GovCloud("us-gov-west-1", "AWS GovCloud (US)"),
US_GOV_EAST_1("us-gov-east-1", "AWS GovCloud (US-East)"),
US_EAST_1("us-east-1", "US East (N. Virginia)"),
US_EAST_2("us-east-2", "US East (Ohio)"),
US_WEST_1("us-west-1", "US West (N. California)"),
US_WEST_2("us-west-2", "US West (Oregon)"),
EU_WEST_1("eu-west-1", "EU (Ireland)"),
EU_WEST_2("eu-west-2", "EU (London)"),
EU_WEST_3("eu-west-3", "EU (Paris)"),
EU_CENTRAL_1("eu-central-1", "EU (Frankfurt)"),
EU_NORTH_1("eu-north-1", "EU (Stockholm)"),
EU_SOUTH_1("eu-south-1", "EU (Milan)"),
AP_EAST_1("ap-east-1", "Asia Pacific (Hong Kong)"),
AP_SOUTH_1("ap-south-1", "Asia Pacific (Mumbai)"),
AP_SOUTHEAST_1("ap-southeast-1", "Asia Pacific (Singapore)"),
AP_SOUTHEAST_2("ap-southeast-2", "Asia Pacific (Sydney)"),
AP_NORTHEAST_1("ap-northeast-1", "Asia Pacific (Tokyo)"),
AP_NORTHEAST_2("ap-northeast-2", "Asia Pacific (Seoul)"),
SA_EAST_1("sa-east-1", "South America (Sao Paulo)"),
CN_NORTH_1("cn-north-1", "China (Beijing)"),
CN_NORTHWEST_1("cn-northwest-1", "China (Ningxia)"),
CA_CENTRAL_1("ca-central-1", "Canada (Central)"),
ME_SOUTH_1("me-south-1", "Middle East (Bahrain)"),
AF_SOUTH_1("af-south-1", "Africa (Cape Town)")
;
聚会迟到了,但请检查您发送到 AWS 的参数。
就我而言,我正在使用存储的 S3 视频开始重新识别任务,我正在发送:
Video: {
S3Object: {
Bucket: BUCKET_KEY,
Name: filename //<- this was null
}
}