Excerpt |
---|
!Common Images^new-icon.png!Helpful Scripts, Commands, etc. for Working with Hadoop Configurations |
...
. |
Setting the current shim for all your pentaho applications with 1 command.
This linux shell command finds all plugin.properties files from the current directory and lower and sets active.hadoop.configuration to the provided argument
...
. The argument is the name of the hadoop configuration to use.
Code Block |
---|
find . -wholename "*pentaho-big-data-plugin/plugin.properties" -exec sed -i "s/\(active.hadoop.configuration=\)\(.*\)/\1$1/g" {} \; |
...
Printing the
...
current shim configured for all your pentaho applications with 1 command.
This linux shell command finds all plugin.properties
...
files from the current directory and lower and prints the value of active.
...
hadoop.configuration
...
Code Block |
---|
find . -wholename "*pentaho-big-data-plugin/plugin.properties" -exec ls {} \; -exec grep -o "active\.hadoop\.configuration=[0-9A-Za-z\-]*" {} \; | cut -f2 -d= |
...