Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Helpful Commands for Working with Hadoop Configurations:
Set your shim (finds plugin.properties and sets active.hadoop.configuration to the provided argument):
find . -wholename "pentaho-big-data-plugin/plugin.properties" -exec sed -i "s/(active.hadoop.configuration=)(.)/\1$1/g" {} \;
Find the active shim (find plugin.properties and print the value of active.hadooop.configuration):
find . -wholename "pentaho-big-data-plugin/plugin.properties" -exec ls {} \; -exec grep -o "active\.hadoop\.configuration=0-9A-Za-z-" {} \; | cut -f2 -d=
Alias to find the shims directory and change your current directory to it:
alias goshims="cd \`find . -wholename \"*pentaho-big-data-plugin/hadoop-configurations\"\`"