Making framework-configure.sh script more robust
Few suggestions:
-
Passing the parameters to the script with flags:
-
-f
for framework name -
-t
for configuration template -
-d
for destination of framework configuration
-
-
Making framework names explicit. No one should be able to pass any value other than
spark
,kafka
,hadoop
,flink
. This will avoid unnecessary errors produced by users.
Edited by Apurv Deepak Kulkarni