Skip to content

Commit

Permalink
+xscript command
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitasek committed Jan 4, 2018
1 parent d3611e1 commit 1ff982c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ There are 3 possible usecases:
- It's working on both Windows/Linux Hadoop 2.6.0

#### Download
- [Download binary](https://github.com/avast/hdfs-shell/releases/download/v1.0.4/hdfs-shell-1.0.4.zip)
- [Download binary](https://github.com/avast/hdfs-shell/releases/download/v1.0.5/hdfs-shell-1.0.5.zip)

#### Configuring launch script(s) for your environment
HDFS-Shell is a standard Java application. For its launch you need to define 2 things on your classpath:
Expand All @@ -54,6 +54,7 @@ Pre-defined launch scripts are located in the zip file. You can modify it locall
- for CLI UI run ```hdfs-shell.sh``` (without parameters) otherwise:
- HDFS Shell can be launched directly with the command to execute - after completion, hdfs-shell will exit
- launch HDFS with ```hdfs-shell.sh script <file_path>``` to execute commands from file
- launch HDFS with ```hdfs-shell.sh xscript <file_path>``` to execute commands from file but ignore command errors (skip errors)

#### Possible commands inside shell

Expand All @@ -63,6 +64,7 @@ Pre-defined launch scripts are located in the zip file. You can modify it locall
- for calling system command type ```! <command>``` , eg. ```! echo hello``` will call the system command echo
- type (hdfs) command only without any parameters to get its parameter description, eg. ```ls``` only
- ```script <file_path>``` to execute commands from file
- ```xscript <file_path>``` to execute commands from file but ignore command errors (skip errors)

##### Additional commands
For our purposes we also integrated following commands:
Expand Down

0 comments on commit 1ff982c

Please sign in to comment.