bin/alluxio fs mount --option fs.cos.access.key=<COS_SECRET_ID> \\--option fs.cos.secret.key=<COS_SECRET_KEY> \\--option fs.cos.region=<COS_REGION> \\--option fs.cos.app.id=<COS_APP_ID> \\/cos cos://<COS_BUCKET>/
--option
.Configuration Item | Description |
fs.cos.access.key | The COS secret ID |
fs.cos.secret.key | The COS secret key |
fs.cos.region | The COS region name, such as ap-beijing |
fs.cos.app.id | Your AppID |
COS_BUCKET | The COS bucket name without the AppID suffix |
cos://bucket/xxx
to the /cos
directory in Alluxio.`bin/alluxio fs mount /hdfs hdfs://data`
/data
directory of HDFS to the /hdfs
subdirectory of Alluxio.
After the mount is successful, the mounted content can be viewed by running the alluxio fs ls
command.mount
alluxio fs mount \\--option alluxio.underfs.hdfs.configuration=/usr/local/service/hadoop/etc/hadoop/core-site.xml \\/chdfs ofs://f4modr7kmvw-wMqw.chdfs.ap-chongqing.myqcloud.com
Was this page helpful?