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

option to specify the socket file location #15

Closed eadjudeanu closed 6 years ago

eadjudeanu commented 6 years ago

We need to be able to run the tool in daemon mode with a specific socket file path. Can we have a parameter passed to the startup script that will override the default socket file location? In the code the path is defined as: socket.filepath=/var/tmp/hdfs-shell.sock.

Thank you!

Vity01 commented 6 years ago

Simply setup enviroment variable: export socket_filepath=yourpath or launch hdfs shell with system variable -Dsocket.filepath=yourpath