Skip to content

2. OSGI and Karaf

Guilherme Raimundo edited this page Apr 1, 2020 · 7 revisions

Hitachi Vantara leverages the use of OSGI technology within the Pentaho suite and makes use of Apache karaf as an OSGI container in our tools.

The OSGi technology facilitates the componentization of software modules and applications and assures remote management and interoperability of applications and services over a broad variety of devices. Building systems from in-house and off-the-shelf OSGi modules increases development productivity and makes them much easier to modify and evolve.

From https://www.osgi.org

Apache Karaf

Pentaho's custom distributions of Apache Karaf are assembled here. Currently there are five flavors of the the Karaf distribution meant to be used by the tools that compose the Pentaho suite.

  • Client
  • Server
  • PME
  • PMR
  • PRD

Debugging Karaf

To gain access via SSH to Karaf perform the the following steps:

  1. Enable ssh on karaf/etc/org.apache.karaf.features.cfg by adding "ssh" to the featuresBoot if it's not already there.

  2. Find the Karaf port, it shows up in the startup log.

  3. ssh user@localhost -p <port>

    • For the server the login used is the same as the login to the web interface.
    • For other karaf flavors, user: karaf and pwd: karaf
  4. If ssh complains and offers ssh-dss add this to your .ssh/config file: HostkeyAlgorithms +ssh-dss

Clone this wiki locally