![]() | Can't execute HBase commands |
|
10 Jun 2012, 16:54
Nathan Le Ray (12 posts) |
Hello, When I try to execute a command in the HBase Shell, I get the following error: Do you know where this error comes from and how I can fix it? Thanks. |
|
13 Jun 2012, 18:28
Jim R. Wilson (14 posts) |
Hi Nathan, Are you running a single stand-alone node, or trying to boot up a cluster? What version of HBase are you using? —Jim |
|
06 Jul 2012, 20:34
Nathan Le Ray (12 posts) |
Hello, I’m using the one provided by Apache on their website. Thanks. |
|
02 Aug 2012, 03:45
Jim R. Wilson (14 posts) |
Hi Nathan, I looked around on the web and dug through the source code a bit. There’s not a single obvious answer from what I can tell. Something is stopping your HMaster from getting to the line Maybe there’s something more telling in the logs? If you paste more of them maybe something will jump out? Thanks in advance, —Jim |
|
14 Dec 2012, 12:03
Prem Kurian Philip (1 post) |
Nathan, I am guessing you don’t need this information anymore. But I hope this helps someone else. I checked my hbase log files and noticed that hbase wasn’t able to connect to the localhost on the IP 127.0.0.1. This was what was causing the problem. I have had this problem occur when using Ubuntu. In the /etc/hosts file in Ubuntu, the IP 127.0.1.1 is mapped to the localhost and the machine name. However, Hbase expects the IP 127.0.0.1 to be mapped to the localhost and the machine name. On my computer, I had the following lines in /etc/hosts 127.0.0.1 localhost I modified this file to look like this: 127.0.0.1 localhost I restarted hbase after this change and the problem was solved. |
| You must be logged in to comment |

