Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1192291

Summary: [RFE][sahara]: Add a common HBase lib in hdfs on cluster start
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-saharaAssignee: Elise Gafford <egafford>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kbasil, markmc, matt, mimccune, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, OtherQA
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/sahara/+spec/edp-add-hbase-lib
Whiteboard: upstream_milestone_kilo-3 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-sahara-2015.1.0-2.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:21:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2015-02-13 05:01:13 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/sahara/+spec/edp-add-hbase-lib.

Description:

HBase applications written in Java require the Hbase classpath.  Typically, a Java program will be run this way using /usr/bin/hbase to get the classpath:

java -cp `hbase classpath`:MyHbaseApp.jar MyHBaseApp

Java jobs launched from EDP are Oozie actions, and there is no way to set an extra classpath value.  Instead, the Oozie solution to this problem is to create a shared library (a directory of JAR files) in hdfs and then set the "oozie.libpath" configuration property on the job to the location of the library. This causes Oozie to make all of the jars in the library available to the job.

Sahara currently supports setting the oozie.libpath configuration on a job.  However, in the case of HBase there is no existing collection of JARs to point to.  This blueprint proposes adding an option to create an HBase library in hdfs at cluster creation time for clusters that enable the HBase service.

Specification URL (additional information):

None

Comment 8 errata-xmlrpc 2015-08-05 13:21:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548