Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

unable to re-install hbase

avatar
Expert Contributor

As you can see in this Question, Hbase is not installed correctly in one of Masters nodes , so I decide to remove it and then install it again,

this is what I do:

yum remove hbase\*

and

I removed from Ambari : hosts>>MAster Node >>HBase Master>> Delete

Now I can see that the HBase Master is not figured in My Hbase Service.

so I can say that the remove of hbase master is done, now I can re-install it.

then I do the following: in Ambari >> Hbase >>service action >> add Hbase master,

I choose the same node, but the installation is failled and this is the error I got :

resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install hbase_2_5_0_0_1245' returned 1. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
Error unpacking rpm package hbase_2_5_0_0_1245-1.1.2.2.5.0.0-1245.el6.noarch
error: unpacking of archive failed on file /usr/hdp/2.5.0.0-1245/hbase/conf: cpio: rename failed - Is a directory

it seems Like there is some files of the last install still not removed yet.

what Should I do in this case??

1 ACCEPTED SOLUTION

avatar
Super Guru

@yassine sihi,

Try removing the file manually and install hbase

rm -rf /usr/hdp/2.5.0.0-1245/hbase/conf

Thanks,

Aditya

View solution in original post

1 REPLY 1

avatar
Super Guru

@yassine sihi,

Try removing the file manually and install hbase

rm -rf /usr/hdp/2.5.0.0-1245/hbase/conf

Thanks,

Aditya