博客
关于我
Ozone作为Hadoop FileSystem的配置使用
阅读量:397 次
发布时间:2019-03-05

本文共 1776 字,大约阅读时间需要 5 分钟。

Ozone FileSystem?Hadoop??????????

??Hadoop???????????Ozone?????K-V?????????????????????Hadoop??????Ozone???Hadoop???????HCFS????????????Job?Spark????FileSystem????????Ozone???K-V????????????????????Ozone??????????????Ozone FileSystem????????????

Ozone FileSystem??????????namespace???????bucket???????OzoneFileSystem???????bucket???????????????????Key????????

  • ??????bucket?????Key??Value??????Key?
  • ??????bucket?????Key??Value???Key?
  • ??????????Key??????????testdir/????????testdir/testfile?

???????Ozone FileSystem???Hadoop FileSystem??????????????????????

???????????????????

  • ??Hadoop????Hadoop-2.7???

  • ??Hadoop???

    • ??core-site.xml??????????
      fs.o3fs.impl
      org.apache.hadoop.fs.ozone.BasicOzoneFileSystem
      fs.AbstractFileSystem.o3fs.impl
      org.apache.hadoop.fs.ozone.OzFs
      fs.defaultFS
      o3fs://buckettest.volumetest
    • ??hadoop-env.sh?????ClassPath???
      export HADOOP_CLASSPATH=/home/hdfs/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-legacy-0.5.0-SNAPSHOT.jar:$HADOOP_CLASSPATH
  • ???Ozone?????????volume?volumetest??bucket?buckettest?

  • ?????????????

    • ?????
      hadoop fs -put testfile o3fs://buckettest.volumetest.lyq-m2-xx.xx.xx.xx/testdir/
    • ?????
      hadoop fs -mkdir o3fs://buckettest.volumetest.lyq-m2-xx.xx.xx.xx/testdir/subdir
    • ?????
      hadoop fs -mv o3fs://buckettest.volumetest.lyq-m2-xx.xx.xx.xx/testfile o3fs://buckettest.volumetest.lyq-m2-xx.xx.xx.xx/testfile2
      hadoop fs -rm o3fs://buckettest.volumetest.lyq-m2-xx.xx.xx.xx/testfile2

    ???????Ozone FileSystem???????????????chown?setquota????????????

    ??????Ozone FileSystem???????????????????????????????

    转载地址:http://ckng.baihongyu.com/

    你可能感兴趣的文章
    PostMan怎样携带登录信息请求后台接口防止出现无法访问资源问题
    查看>>
    Postman接口传参案例
    查看>>
    postman接口功能测试
    查看>>
    Postman接口测试
    查看>>
    Postman接口测试
    查看>>
    Postman接口测试/接口自动化实战教程
    查看>>
    Postman接口测试之POST、GET请求方法
    查看>>
    Postman接口测试之Post、Get请求方法
    查看>>
    Postman接口测试之:添加Cookie伪造请求
    查看>>
    Postman接口测试企业级实战
    查看>>
    PostMan接口测试实战
    查看>>
    Postman接口测试实战讲解
    查看>>
    Postman接口测试工具安装部署与快速入门
    查看>>
    postman接口测试常见问题
    查看>>
    Qkeras量化模型-直接搭建模型的量化感知训练
    查看>>
    postman接口测试,1个参数有好几个值的时候如何测试比较简单快速?
    查看>>
    Postman接口测试:配置token为全局变量,配置测试环境
    查看>>
    Postman接口测试:配置token为全局变量,配置测试环境
    查看>>
    Postman接口自动化测试之——批量参数化(参数文件)
    查看>>
    Postman接口自动化测试之——批量执行(集合操作)
    查看>>