Usage: tachyon COMMAND
where COMMAND is one of:
format [-s] 格式化Format Tachyon (如果指定 -s 参数,表示在 underfs 不存在时进行)
bootstrap-conf 生成一个配置文件,如果不存在
tfs 命令行客户端
loadufs 加载三、Tachyon命令行操作现有的底层文件系统到Tachyon
runTest 运行一个终端到终端的测试中的Tachyon集群
runTests 运行所有的终端到终端的测试中的Tachyon集群上
killAll <WORD> 杀死包WORD进程
copyDir <PATH> 复制PATH到所有节点
clearCache 清除操作系统缓存
thriftGen 生成所有 thrift 代码
version 打印Tachyon版本

命令行操作

1.创建文件夹

tachyon tfs mkdir /test

2.创建文件

tachyon tfs touch /test/test.txt

3.上传本地文件

tachyon tfs copyFromLocal /etc/passwd /test/passwd

4.查看目录

tachyon tfs ls /test
tachyon tfs lsr /test

5.查看文件信息

tachyon tfs fileinfo /test/passwd

6.查看文件内容

tachyon tfs cat /test/passwd |head -n
tachyon tfs tail /test/passwd |head -n

7.查看目录下文件个数

tachyon tfs count /test

8.在内存注册和取消注册文件和文件夹

tachyon tfs pin /test
tachyon tfs unpin /test

9.移动文件

tachyon tfs mv/test/passwd /test/admln/passwd

10.下载文件到本地

tachyon tfs copyToLocal /test/passwd /tmp/tachyon.txt

11.删除文件

tachyon tfs rm /test/two

删除文件和删除文件夹都是这个命令


tachyon 命令行接口的更多相关文章

  1. 《SPARK/TACHYON:基于内存的分布式存储系统》-史鸣飞(英特尔亚太研发有限公司大数据软件部工程师)

    史鸣飞:大家好,我是叫史鸣飞,来自英特尔公司,接下来我向大家介绍一下Tachyon.我事先想了解一下大家有没有听说过Tachyon,或者是对Tachyon有没有一些了解?对Spark呢? 首先做一个介 ...

  2. hadoop+tachyon+spark的zybo cluster集群综合配置

    1.zybo cluster 架构简述: 1.1 zybo cluster 包含5块zybo 开发板组成一个集群,zybo的boot文件为digilent zybo reference design提 ...

  3. Spark入门实战系列--10.分布式内存文件系统Tachyon介绍及安装部署

    [注]该系列文章以及使用到安装包/测试数据 可以在<倾情大奉送--Spark入门实战系列>获取 .Tachyon介绍 1.1 Tachyon简介 随着实时计算的需求日益增多,分布式内存计算 ...

  4. tachyon of zybo cluster

    把Tachyon层加入spark和hadoop之间,以加速集群 官网:http://tachyon-project.org/ github:https://github.com/amplab/tach ...

  5. 大数据之tachyon(未完版)

    1.内存文件存储系统 Tachyon是一个开源分布式存储系统,拥有高性能.高容错等优点.并具有类Java的文件API.插件式的底层文件系统.兼容Hadoop MapReduce和 Apache Spa ...

  6. Tachyon框架的Worker心跳及Master高可用性分析

    0 概述 分布式框架中的Master-Slave类型,Slave节点负责工作的具体执行,Master负责任务的分发或者相关元数据的存储等.一般情况下,一个Master节点都会对应多个Slave节点,M ...

  7. tachyon with spark

    spark1.2.0  tachyon0.5.0 jdk1.7 scala2.10.4 1.装好spark.tachyon.jdk.scala 2.修改spark-env.sh添加Tachyon客户端 ...

  8. tachyon with hadoop

    hadoop2.2.0 jdk1.7 tachyon0.5.0 无zookeeper tachyon和hadoop都是伪分布式模式 1.修改core-site.xml文件 <property&g ...

  9. tachyon 集群容错

    集群容错就是HA.这次顺带也练一下hadoop的HA 环境: centos6.5+jdk1.7+hadoop2.2.0+tachyon0.5.0+zookeeper3.4.6 hadoop 192.1 ...

随机推荐

  1. html5 canvas图片翻转

    <!doctype html> <html> <head> <meta charset="utf-8"> <title> ...

  2. dom 侧栏分享

    <!doctype html> <html> <head> <meta charset="utf-8"> <title> ...

  3. 40 个顶级 jQuery 图片、内容滑块和幻灯片(转)

    在这个快速发展的网络世界中,我们使用图片.内容滑块和幻灯片来给网站实现良好.有吸引力的外观.你可以吸引浏览者借助图像滑块让网站更加具有活力.使用 JavaScript 可以轻松实现轻量级的图片和内容滑 ...

  4. maven缺少依赖包,强制更新命令

    mvn clean install -e -U -e详细异常,-U强制更新

  5. oracle 的行级触发器

    create or replace trigger tri_insertAcceptList after insert on STDOC.DEVELOPER for each row DECLARE ...

  6. JSP文件下载时文件名在ie和firefox下面文件名不一致极其超链接中文乱码的问题的改进

    response.setContentType("application/octet-stream;charset=UTF-8"); fileName=java.net.URLEn ...

  7. effective c++ (一)

    条款01:把C++看作一个语言联邦 C++是一种多重范型编程语言,一个同时支持过程(procedural),面向对象(object-oriented),函数形式(functional),泛型形式(ge ...

  8. WPF中的ControlTemplate(控件模板)(转)

    原文地址 http://www.cnblogs.com/zhouyinhui/archive/2007/03/28/690993.html WPF中的ControlTemplate(控件模板)     ...

  9. 【转】【Android测试技巧】01. root后adb shell默认不是root用户时,如何将文件放入手机系统中

    http://blog.csdn.net/wirelessqa/article/details/8624208 有些机器root后通过adb shell 后,默认不是root用户,需要输入 su才能切 ...

  10. Lazy Loading Images

    Use a blank.gif as the src of images, and include the width and height of the final image. HTML: < ...