avast / hdfs-shell

HDFS Shell is a HDFS manipulation tool to work with functions integrated in Hadoop DFS
Apache License 2.0
150 stars 33 forks source link

Use gradle installDist to generate starter script #20

Open jmercier-lbi opened 5 years ago

jmercier-lbi commented 5 years ago

Dear,

This pull request allow gradle to generate starter script using the command

$ gradle installDist

The generated starter script can now take custom configuration by the use of $HADOOP_CONF_DIR and $HADOOP_CLASS_PATH.

Fixes: fix #19 and fix #18

Note:

  1. The windows starter script is untested
  2. The hdfs-shell script can be run as deamon by providing the flag -d or --daemon
jmercier-lbi commented 5 years ago

Thanks @Vity01 you are right this commit should fix this

jmercier-lbi commented 5 years ago

Hi @Vity01 , did you think this request provides enough satisfaction to be merged ?

Thanks,

Have a nice day