• Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Special Offers
Business Intelligence Info
  • Business Intelligence
    • BI News and Info
    • Big Data
    • Mobile and Cloud
    • Self-Service BI
  • CRM
    • CRM News and Info
    • InfusionSoft
    • Microsoft Dynamics CRM
    • NetSuite
    • OnContact
    • Salesforce
    • Workbooks
  • Data Mining
    • Pentaho
    • Sisense
    • Tableau
    • TIBCO Spotfire
  • Data Warehousing
    • DWH News and Info
    • IBM DB2
    • Microsoft SQL Server
    • Oracle
    • Teradata
  • Predictive Analytics
    • FICO
    • KNIME
    • Mathematica
    • Matlab
    • Minitab
    • RapidMiner
    • Revolution
    • SAP
    • SAS/SPSS
  • Humor

[Useful Tips] Set the active bigdata shim in the Pentaho stack

January 28, 2015   Pentaho



I’m starting a new series on this blog, called Useful Tips, where I… hum… will try to give what I consider to be… useful tips? (damn, I’m really bad at words).

This one I’m stealing from an email I just got from Doug Moran, our big data buddy at pentaho, and it provides a way to configure the big data shim throughout one or many platforms

——-

Hey guys,

You may find this little script useful for setting shims. It will look in all folders below the folder it is running in and set the shim to to a specific value.  I have several versions of Pentaho and sometimes only want to set one at a time so I added a directory flag.  Other than that, it’s just stuff I ripped off from Matt B.  

Works on the Mac, should work on linux.  Windows users are out of luck (but you knew that already, unless they use something like cygwin, that makes windows at least bearable…)

Sets or displays the value for shims from folder on down


 setshim.sh [-h] [-d folder] [shim]

 -h    display usage help
 -d    the directory path to use or current if not set
 shim  the shim to set as active hadoop config.  If not set, display which shim is active

 setshim.sh              – Displays the current value for all shims in current folder and below
 setshim.sh hdp20        – sets hdp20 as active shim from the current folder and below
 setshim.sh -d 5.1 cdh50 – sets cdh50 as active shim from the folder named “5.1” and below
 setshim.sh -d 5.1       – Displays the current value for all shims in folder named “5.1” and below

 setshim.sh -d /         – Displays the current value for all shims on the entire filesystem




And here’s the scrip. Have fun!

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Pedro Alves on Business Intelligence

active, bigdata, Pentaho, shim, stack, Tips, Useful
  • Recent Posts

    • Database version control: Getting started with Flyway
    • Support CRM with New Dynamics 365 Field Service Mobile App
    • 6 Strategies for Achieving Your Business Goals in the New Year
    • Researchers propose using the game Overcooked to benchmark collaborative AI systems
    • Oracle Launches Version 21c
  • Categories

  • Archives

    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
© 2021 Business Intelligence Info
Power BI Training | G Com Solutions Limited