@@ -51,17 +51,36 @@ The **Tachyon** interpreter accepts the following commands.
| Syntax |
Description |
+
+ | cat |
+ cat "path" |
+ Print the content of the file to the console. |
+
+
+ | chgrp |
+ chgrp "group" "path" |
+ Change the group of the directory or file. |
+
+
+ | chmod |
+ chmod "permission" "path" |
+ Change the permission of the directory or file. |
+
+
+ | chown |
+ chown "owner" "path" |
+ Change the owner of the directory or file. |
+
| copyFromLocal |
copyFromLocal "source path" "remote path" |
- Copy the specified file specified by "source path" to the path specified by "remote path".
+ | Copy the specified file specified by "source path" to the path specified by "remote path".
This command will fail if "remote path" already exists. |
| copyToLocal |
copyToLocal "remote path" "local path" |
- Copy the specified file from the path specified by "remote source" to a local
- destination. |
+ Copy the specified file from the path specified by "remote path" to a local destination. |
| count |
@@ -74,35 +93,35 @@ The **Tachyon** interpreter accepts the following commands.
Display the size of a file or a directory specified by the input path. |
- | fileinfo |
- fileinfo "path" |
+ fileInfo |
+ fileInfo "path" |
Print the information of the blocks of a specified file. |
| free |
free "path" |
- Free a file or all files under a directory from Tachyon. If the file/directory is also
+ | Free a file or all files under a directory from Alluxio. If the file/directory is also
in under storage, it will still be available there. |
| getCapacityBytes |
getCapacityBytes |
- Get the capacity of the TachyonFS. |
+ Get the capacity of the AlluxioFS. |
| getUsedBytes |
getUsedBytes |
- Get number of bytes used in the TachyonFS. |
+ Get number of bytes used in the AlluxioFS. |
| load |
load "path" |
- Load the data of a file or a directory from under storage into Tachyon. |
+ Load the data of a file or a directory from under storage into Alluxio. |
| loadMetadata |
loadMetadata "path" |
- Load the metadata of a file or a directory from under storage into Tachyon. |
+ Load the metadata of a file or a directory from under storage into Alluxio. |
| location |
@@ -115,24 +134,19 @@ The **Tachyon** interpreter accepts the following commands.
List all the files and directories directly under the given path with information such as
size. |
-
- | lsr |
- lsr "path" |
- Recursively list all the files and directories under the given path with information such
- as size. |
-
| mkdir |
- mkdir "path" |
- Create a directory under the given path, along with any necessary parent directories. This
- command will fail if the given path already exists. |
+ mkdir "path1" ... "pathn" |
+ Create directory(ies) under the given paths, along with any necessary parent directories.
+ Multiple paths separated by spaces or tabs. This command will fail if any of the given paths
+ already exist. |
| mount |
mount "path" "uri" |
- Mount the underlying file system path "uri" into the Tachyon namespace as "path". The "path"
+ | Mount the underlying file system path "uri" into the Alluxio namespace as "path". The "path"
is assumed not to exist and is created by the operation. No data or metadata is loaded from under
- storage into Tachyon. After a path is mounted, operations on objects under the mounted path are
+ storage into Alluxio. After a path is mounted, operations on objects under the mounted path are
mirror to the mounted under storage. |
@@ -141,6 +155,11 @@ The **Tachyon** interpreter accepts the following commands.
| Move a file or directory specified by "source" to a new location "destination". This command
will fail if "destination" already exists. |
+
+ | persist |
+ persist "path" |
+ Persist a file or directory currently stored only in Alluxio to the underlying file system. |
+
| pin |
pin "path" |
@@ -152,22 +171,15 @@ The **Tachyon** interpreter accepts the following commands.
report "path" |
Report to the master that a file is lost. |
-
- | request |
- request "path" "dependency ID" |
- Request the file for a given dependency ID. |
-
| rm |
rm "path" |
- Remove a file. This command will fail if the given path is a directory rather than a
- file. |
+ Remove a file. This command will fail if the given path is a directory rather than a file. |
- | rmr |
- rmr "path" |
- Remove a file, or a directory with all the files and sub-directories that this directory
- contains. |
+ setTtl |
+ setTtl "time" |
+ Set the TTL (time to live) in milliseconds to a file. |
| tail |
@@ -182,35 +194,40 @@ The **Tachyon** interpreter accepts the following commands.
| unmount |
unmount "path" |
- Unmount the underlying file system path mounted in the Tachyon namespace as "path". Tachyon
- objects under "path" are removed from Tachyon, but they still exist in the previously mounted
+ | Unmount the underlying file system path mounted in the Alluxio namespace as "path". Alluxio
+ objects under "path" are removed from Alluxio, but they still exist in the previously mounted
under storage. |
| unpin |
unpin "path" |
- Unpin the given file to allow Tachyon to evict this file again. If the given path is a
+ | Unpin the given file to allow Alluxio to evict this file again. If the given path is a
directory, it recursively unpins all files contained and any new files created within this
directory. |
+
+ | unsetTtl |
+ unsetTtl |
+ Remove the TTL (time to live) setting from a file. |
+