Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Issues adding RegionServers to datanodes

avatar
New Member

Hello, I just installed Hbase RegionServers to 2 of my datanodes. I'm getting the following error when I start them on HDP 3.0:

esource_management.core.exceptions.ExecutionFailed: Execution of '/usr/hdp/current/hbase-regionserver/bin/hbase-daemon.sh --config /usr/hdp/current/hbase-regionserver/conf start regionserver' returned 127. -bash: /usr/hdp/current/hbase-regionserver/bin/hbase-daemon.sh: No such file or directory

What am I missing?

I installed them through Ambari.

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Daniel Zafar

In ambari UI --> Hosts (Tab) --> Specific Host link --> Install Clients button should install the clients.

However you can try the following command manually on the problematic host to see if it fixes your issue:

# yum reinstall hbase* -y

.

After the reinstall you should see the following Symlink & Directories:

# ls -l /usr/hdp/current/hbase-regionserver
lrwxrwxrwx. 1 root root 27 Jul 21 08:14 /usr/hdp/current/hbase-regionserver -> /usr/hdp/3.0.0.0-1634/hbase

.

and

# ls -l /usr/hdp/3.0.0.0-1634/hbase
total 20
drwxr-xr-x. 4 root root  4096 Aug 14 23:21 bin
lrwxrwxrwx. 1 root root    25 Jul 21 08:15 conf -> /etc/hbase/3.0.0.0-1634/0
drwxr-xr-x. 2 root root    61 Jul 21 08:14 doc
drwxr-xr-x. 3 root root    18 Jul 21 08:14 etc
drwxr-xr-x. 7 root root    80 Jul 21 08:14 hbase-webapps
drwxr-xr-x. 3 root root    20 Jul 21 08:14 include
drwxr-xr-x. 6 root root 12288 Jul 21 08:16 lib
drwxr-xr-x. 2 root root    19 Jul 21 08:14 logs
drwxr-xr-x. 3 root root    18 Jul 21 08:14 man
drwxr-xr-x. 2 root root    19 Jul 21 08:14 pids

.

View solution in original post

11 REPLIES 11

avatar
New Member
@Jay Kumar SenSharma

I think the issue is with a bad hbase-client install. What is the yum install arg to reinstall that?

avatar
Master Mentor

@Daniel Zafar

In ambari UI --> Hosts (Tab) --> Specific Host link --> Install Clients button should install the clients.

However you can try the following command manually on the problematic host to see if it fixes your issue:

# yum reinstall hbase* -y

.

After the reinstall you should see the following Symlink & Directories:

# ls -l /usr/hdp/current/hbase-regionserver
lrwxrwxrwx. 1 root root 27 Jul 21 08:14 /usr/hdp/current/hbase-regionserver -> /usr/hdp/3.0.0.0-1634/hbase

.

and

# ls -l /usr/hdp/3.0.0.0-1634/hbase
total 20
drwxr-xr-x. 4 root root  4096 Aug 14 23:21 bin
lrwxrwxrwx. 1 root root    25 Jul 21 08:15 conf -> /etc/hbase/3.0.0.0-1634/0
drwxr-xr-x. 2 root root    61 Jul 21 08:14 doc
drwxr-xr-x. 3 root root    18 Jul 21 08:14 etc
drwxr-xr-x. 7 root root    80 Jul 21 08:14 hbase-webapps
drwxr-xr-x. 3 root root    20 Jul 21 08:14 include
drwxr-xr-x. 6 root root 12288 Jul 21 08:16 lib
drwxr-xr-x. 2 root root    19 Jul 21 08:14 logs
drwxr-xr-x. 3 root root    18 Jul 21 08:14 man
drwxr-xr-x. 2 root root    19 Jul 21 08:14 pids

.