0024-00000001

Updated at:

Problem description

OSS returns a 403 error when you perform operations related to OSS-HDFS.

Causes

OSS-HDFS is not enabled for the bucket.

Examples

The following command returns a 403 error when run against examplebucket, which has OSS-HDFS disabled:

hdfs dfs -put examplefile.txt oss://examplebucket.cn-hangzhou.oss-dls.aliyuncs.com/

Solutions

Enable OSS-HDFS for the bucket using the OSS console.

References

For more information, see Activate OSS-HDFS Service.