Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have the following Cloudera Hadoop namenode: Hbase and HBaseRegion are installed along the processes listed below. Now when I try to install Hive Server or Hive Metastore I'm getting the following error:

ubuntu@ip-10-191-113-109:~$ sudo jps
8335 NameNode
7438 QuorumPeerMain
8484 SecondaryNameNode
8650 JobTracker
9145 HMaster
11543 Jps
8901 HRegionServer
5592 ResourceManager
ubuntu@ip-10-191-113-109:~$ sudo apt-get install hive-metastore
Reading package lists... Done
Building dependency tree       
Reading state information... Done
hive-metastore is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up hive-metastore (0.10.0+259-1.cdh4.7.0.p0.19~precise-cdh4.7.0) ...
 * Starting Hive Metastore (hive-metastore): 
invoke-rc.d: initscript hive-metastore, action "start" failed.
dpkg: error processing hive-metastore (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up hive-server (0.10.0+259-1.cdh4.7.0.p0.19~precise-cdh4.7.0) ...
 * Starting Hive Server (hive-server): 
invoke-rc.d: initscript hive-server, action "start" failed.
dpkg: error processing hive-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

The Hive Server and Hive Metastore installs work nicely in another machine that doesn't have HBase installed. What could be the problem? What's wrong in the --configure step? How can I analise the problem deeply?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.