Skip to content

Commands cassandra fs supports

zjffdu edited this page Sep 14, 2010 · 1 revision
  • ls | // list detail information of the files under the or the specified
  • cd // change the current working directory to
  • pwd // print the current working directory on cassandra-fs
  • copyToLocal // copy file or folder from cassandra-fs to local
  • copyFromLocal // copy file or folder from local to cassandra-fs
  • touch // create empty file
  • rm <file | folder> // remove the file or folder on cassandra-fs, the folder must be an empty folder
  • rmr <file | folder> // force remove the folder or file no matter the folder is empty or not
  • newfile // make a new file on cassandra-fs with the contents of the second argument
  • cat … // print the file content in console
  • copyFromHDFS // copy file or folder from HDFS to cassandra-fs
  • copyToHDFS // copy file or folder from Cassandra-fs to HDFS
  • mkdir // make directory on cassandra-fs including the parent directory