Comment 4 for bug 1365127

Revision history for this message
Mahesh Waidande (mahesh-waidande1248) wrote :

I encounter below error while deploying Hbase charm on ubuntu trusty.

“ INFO unit.hbase/0.install logger.go:40 E: Unable to locate package hbase
unit-hbase-0[7203]: 2015-12-29 ERROR juju.worker.uniter.operation runhook.go:103 hook "install" failed: exit status 100 “

Above error indicates that hbase charm was failed due to unavailability of ‘hbase’ package on ubuntu trusty

For installing hbase and pig packages ‘hbase-common’ script add ppa ‘ppa:hadoop-ubuntu/stable’ to existing repository using ‘add-apt-repository ‘ command.

‘add-apt-repository ppa:hadoop-ubuntu/stable’ command add ‘http://ppa.launchpad.net/hadoop-ubuntu/stable/ubuntu’ repository which included to install hbase and pig packages but this newly added repository does not contain package/binary for hbase that is the reason we are encounter ‘Unable to locate package hbase’ error while deploying hbase charm.

I gone through the hook scripts and collect a list of packages required by hbase charm to deploy and check their availability on ubuntu trusty. Below is list of package names and their availability status on trusty.

hbase - Not available
dotdee - Available
pig - Available through PPA (ppa:hadoop-ubuntu/stable)
amulet - Available through PPA ( ppa:juju/stable )
python3-requests - Available

By looking above data if ‘hbase’ package made available on ubuntu trusty then it would be easy to port hbase charm on trusty. There might be other challenges but at least we have set of all the required packages. I already raise a bug against trusty distribution on launchpad https://bugs.launchpad.net/ubuntu/+bug/1530289 describing unavailability of hbase package on trusty. I am continue to work on porting activity and keep posting my findings/comments here.