Re: Please help me how and when to catch java.net.ConnectException in case hbase is not running as it goes on connecting with hbase

2013-06-06 Thread Olivier
gaurhari dass writes: > > 13/03/26 12:46:14 WARN zookeeper.ClientCnxn: Session 0x0 for server null, > unexpected error, closing socket connection and attempting reconnect > java.net.ConnectException: Connection refused > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at >

Re: HBase is not running.

2013-05-29 Thread Yves S. Garret
Seems like a part of it was cut off. On Tue, May 28, 2013 at 6:15 PM, Jay Vyas wrote: > Here's my config. This is for a different file system so it might provide > some insight compared with the examples online ( > http://hbase.apache.org/book/example_config.html) > > You need the fully qualif

Re: HBase is not running.

2013-05-28 Thread Jay Vyas
Here's my config. This is for a different file system so it might provide some insight compared with the examples online ( http://hbase.apache.org/book/example_config.html) You need the fully qualified name for the hbase.rootdir. hbase.master

Re: HBase is not running.

2013-05-28 Thread Yves S. Garret
Or, even better, if someone has a sample hbase-site.xml file that I can see, that would be even better :) . On Tue, May 28, 2013 at 6:05 PM, Yves S. Garret wrote: > Ok, I finally got HBase to work. With the current networking configs > and then just tried to run it with the default configs. I

Re: HBase is not running.

2013-05-28 Thread Yves S. Garret
Ok, I finally got HBase to work. With the current networking configs and then just tried to run it with the default configs. I didn't change the path to the directory, which I think I was messing up in hbase-site.xml. One more question, how should the syntax look like in this thing? If I want t

Re: HBase is not running.

2013-05-28 Thread Yves S. Garret
Ok, it's obvious that this is a networking issue. I'm running on CentOS and the hostname file is not in /etc, it's located in /etc/sysconfig/network instead. This is how that file looks like at the moment: NETWORKING=yes HOSTNAME=ysg.connect /etc/hosts is like this: 127.0.0.1 localhost ysg.c

Re: HBase is not running.

2013-05-28 Thread Yves S. Garret
Just curious, but what's zookeeper.sh in the bin directory of HBase? On Fri, May 24, 2013 at 10:27 PM, Jay Vyas wrote: > Yes that's a great post it helped me appreciate the complexity of the > whole thing to. There's gotta be a JIRA in here somewhere :) > > Sent from my iPhone > > On May 24, 20

Re: HBase is not running.

2013-05-24 Thread Jay Vyas
Yes that's a great post it helped me appreciate the complexity of the whole thing to. There's gotta be a JIRA in here somewhere :) Sent from my iPhone On May 24, 2013, at 7:08 PM, "Yves S. Garret" wrote: > I do want to know. Maybe that'll get my problem resolved. > > > On Fri, May 24, 2013

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
I do want to know. Maybe that'll get my problem resolved. On Fri, May 24, 2013 at 5:00 PM, Asaf Mesika wrote: > If you truly want to understand the weirdness behind what you witnessed, > then make a big cup of coffee, prepare a notebook with a pen and sit down > to read this: http://blog.devvi

Re: HBase is not running.

2013-05-24 Thread Asaf Mesika
If you truly want to understand the weirdness behind what you witnessed, then make a big cup of coffee, prepare a notebook with a pen and sit down to read this: http://blog.devving.com/why-does-hbase-care-about-etchosts/ My friend at devving.com had a fight like this with HBase pseudo mode, but dec

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
I can. I'll change /etc/sysconfig/network to localhost, for a hostname. In CentOS/Fedora/Red Hat, /etc/hostname does not exist and it's /etc/sysconfig/network :) . On Fri, May 24, 2013 at 4:25 PM, Jay Vyas wrote: > +1 for a VM on your own machine. That's how I do it because its easy to > con

Re: HBase is not running.

2013-05-24 Thread Jay Vyas
+1 for a VM on your own machine. That's how I do it because its easy to control and muck with network settings . Cant you just Edit etc/hostname file ? On May 24, 2013, at 4:03 PM, Jean-Daniel Cryans wrote: > This is a machine identity problem. HBase simply uses the normal Java > APIs and as

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
Hostname is "ysg.connect". I'm ok with not using it in distributed mode, for now. This is my ifconfig info: $ ifconfig eth0 Link encap:Ethernet HWaddr 00:1A:92:46:8C:66 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0

Re: HBase is not running.

2013-05-24 Thread Jean-Daniel Cryans
This is a machine identity problem. HBase simply uses the normal Java APIs and asks "who am I?". The answer it gets is ip72-215-225-9.at.at.cox.net. Changing this should only be a matter of DNS configs, starting with /etc/hosts. What is your machine's hostname exactly (run "hostname")? When you pin

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
The thing that gets me, really gets me, is that the only thing inside of /etc/hosts is this: 127.0.0.1localhost Also, I did a search for host.name and could not find it in any html files (which I presume is the documentation). On Fri, May 24, 2013 at 12:41 PM, Jean-Daniel Cryans wrote: > Ah

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
That seems to be the case. The thing that I don't get is if I missed any "global" setting in order to make everything turn towards localhost. What am I missing? I'll scour the HBase docs again. On Fri, May 24, 2013 at 1:17 PM, Jay Vyas wrote: > Yes ... get hostname and /etc/hosts synced up p

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
Here is what I don't get. Why doesn't _everything_ go through localhost? Is there a way to force this? Would I need to hack up some HBase code in order to force this? On Fri, May 24, 2013 at 12:41 PM, Jean-Daniel Cryans wrote: > Ah yeah the master advertised itself as: > > Attempting connect

Re: HBase is not running.

2013-05-24 Thread Jay Vyas
Yes ... get hostname and /etc/hosts synced up properly and i bet that will fix it On Fri, May 24, 2013 at 12:41 PM, Jean-Daniel Cryans wrote: > Ah yeah the master advertised itself as: > > Attempting connect to Master server at > ip72-215-225-9.at.at.cox.net,46122,1369408257140 > > So the region

Re: HBase is not running.

2013-05-24 Thread Jean-Daniel Cryans
Ah yeah the master advertised itself as: Attempting connect to Master server at ip72-215-225-9.at.at.cox.net,46122,1369408257140 So the region server cannot find it since that's the public address and nothing's reachable through that. Now you really need to fix your networking :) J-D On Fri, Ma

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
Ok, weird, it still seems to be looking towards Cox. Here is my hbase-site.xml file: http://bin.cakephp.org/view/628322266 On Thu, May 23, 2013 at 7:35 PM, Jean-Daniel Cryans wrote: > No, I meant hbase.master.ipc.address and > hbase.regionserver.ipc.address. See > https://issues.apache.org/jira

Re: HBase is not running.

2013-05-24 Thread Yves S. Garret
Ok, that's done. Now, when I go to either 127.0.0.1:60010 I get that a connection was reset or do "list" in the shell, it all just hangs for a while and I don't see a response, until I get a very long Java exception. Here are the contents of the log: http://bin.cakephp.org/view/105173437 On Th

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
Ok, didn't see that in hbase-0.94.7/docs/book.html, after doing a more thorough search, found it in here on line 293: hbase-0.94.7/docs/xref/org/apache/hadoop/hbase/master/HMaster.html I'll make the change in hbase-site.xml. On Thu, May 23, 2013 at 7:35 PM, Jean-Daniel Cryans wrote: > No, I mea

Re: HBase is not running.

2013-05-23 Thread Jean-Daniel Cryans
No, I meant hbase.master.ipc.address and hbase.regionserver.ipc.address. See https://issues.apache.org/jira/browse/HBASE-8148. J-D On Thu, May 23, 2013 at 4:34 PM, Yves S. Garret wrote: > Do you mean hbase.master.info.bindAddress and > hbase.regionserver.info.bindAddress? I couldn't find > anyt

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
Do you mean hbase.master.info.bindAddress and hbase.regionserver.info.bindAddress? I couldn't find anything else in the docs. But having said that, both are set to 0.0.0.0 by default. Also, I checked out 127.0.0.1:60010 and 0.0.0.0:60010, no web gui. On Thu, May 23, 2013 at 7:19 PM, Jean-Danie

Re: HBase is not running.

2013-05-23 Thread Jean-Daniel Cryans
It should only be a matter of network configuration and not a matter of whether you are a Hadoop expert or not. HBase is just trying to get the machine's hostname and bind to it and in your case it's given something it cannot use. It's unfortunate. IIUC your machine is hosted on cox.net? And it se

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
How weird. Admittedly I'm not terribly knowledgeable about Hadoop and all of its sub-projects, but I don't recall ever setting any networking info to something other than localhost. What would cause this? On Thu, May 23, 2013 at 6:26 PM, Jean-Daniel Cryans wrote: > That's your problem: > > Cau

Re: HBase is not running.

2013-05-23 Thread Jean-Daniel Cryans
That's your problem: Caused by: java.net.BindException: Problem binding to ip72-215-225-9.at.at.cox.net/72.215.225.9:0 : Cannot assign requested address Either it's a public address and you can't bind to it or someone else is using it. J-D On Thu, May 23, 2013 at 3:24 PM, Yves S. Garret wrote:

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
Here is my dump of the sole log file in the logs directory: http://bin.cakephp.org/view/2116332048 On Thu, May 23, 2013 at 6:20 PM, Jean-Daniel Cryans wrote: > On Thu, May 23, 2013 at 2:50 PM, Jay Vyas wrote: > > 1) Should hbase-master be changed to localhost? > > > > Maybe Try changing /etc/ho

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
On Thu, May 23, 2013 at 5:50 PM, Jay Vyas wrote: > 1) Should hbase-master be changed to localhost? > > Maybe Try changing /etc/hosts to match the actual non loopback ip of your > machine... (i.e. just run Ifconfig | grep 1 and see what ip comes out :)) > and make sure your /etc/hosts matches the

Re: HBase is not running.

2013-05-23 Thread Jean-Daniel Cryans
On Thu, May 23, 2013 at 2:50 PM, Jay Vyas wrote: > 1) Should hbase-master be changed to localhost? > > Maybe Try changing /etc/hosts to match the actual non loopback ip of your > machine... (i.e. just run Ifconfig | grep 1 and see what ip comes out :)) > and make sure your /etc/hosts matches the

Re: HBase is not running.

2013-05-23 Thread Jay Vyas
1) Should hbase-master be changed to localhost? Maybe Try changing /etc/hosts to match the actual non loopback ip of your machine... (i.e. just run Ifconfig | grep 1 and see what ip comes out :)) and make sure your /etc/hosts matches the file in my blog post, (you need hbase-master to be define

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
Here is the entire file: http://bin.cakephp.org/view/1159889135 On Thu, May 23, 2013 at 4:35 PM, Jay Vyas wrote: > depends on how you define hbase root in your hbase-site.xml ? > > Can you paste it here >

Re: HBase is not running.

2013-05-23 Thread Jay Vyas
depends on how you define hbase root in your hbase-site.xml ? Can you paste it here

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
This is how hbase is looking from / drwxr-xr-x. 2 user user 4096 May 23 14:37 hbase But, now that you mention it, would I need to have hdfs running as well? On Thu, May 23, 2013 at 2:57 PM, Jay Vyas wrote: > I think this is simply an issue, then, that /hbase has the wrong privileges > or

Re: HBase is not running.

2013-05-23 Thread Jay Vyas
I think this is simply an issue, then, that /hbase has the wrong privileges or is inaccessible . (1) Are you sure hdfs or whatever filesystem you are using is running and (2) has the /hbase directory in it with (3) liberal enough permissions?

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
gt; that older version. > > >> > > http://bin.cakephp.org/view/617939270 > > >> > > > > >> > > The other weird thing that I noticed with version on 0.92.2 is > this. > > >> I > > >> > > started > > >>

Re: HBase is not running.

2013-05-23 Thread Jay Vyas
version 0.92.2. This is the log > >> from > >> > > that older version. > >> > > http://bin.cakephp.org/view/617939270 > >> > > > >> > > The other weird thing that I noticed with version on 0.92.2 is this. > >> I &g

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
. This is the log >>> from >>> > > that older version. >>> > > http://bin.cakephp.org/view/617939270 >>> > > >>> > > The other weird thing that I noticed with version on 0.92.2 is this. >>> I >>> > > started >&

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
t I got: >> > > $ $HBASE_HOME/bin/start-hbase.sh >> > > starting master, logging to >> > > >> > >> /media/alternative-storage-do-not-touch/hbase-install/hbase-0.92.2/logs/hbase-ysg-master-ysg.connect.out >> > > >>

Re: HBase is not running.

2013-05-23 Thread Yves S. Garret
2 is this. I > > > started > > > HBase and this is the output that I got: > > > $ $HBASE_HOME/bin/start-hbase.sh > > > starting master, logging to > > > > > > /media/alternative-storage-do-not-touch/hbase-install/hbase-0.92.2/logs/hbase-ysg-ma

Re: HBase is not running.

2013-05-22 Thread Yves S. Garret
utput that I got: > > > $ $HBASE_HOME/bin/start-hbase.sh > > > starting master, logging to > > > > > > /media/alternative-storage-do-not-touch/hbase-install/hbase-0.92.2/logs/hbase-ysg-master-ysg.connect.out > > > > > > (pardon the annoyingly lon

Re: HBase is not running.

2013-05-22 Thread Jay Vyas
; > > /media/alternative-storage-do-not-touch/hbase-install/hbase-0.92.2/logs/hbase-ysg-master-ysg.connect.out > > > > (pardon the annoyingly long file name) > > > > Now, when I run JPS, this is what I see: > > $ $JAVA_HOME/bin/jps > > 14038 RunJar >

Re: HBase is not running.

2013-05-22 Thread Yves S. Garret
I run JPS, this is what I see: > $ $JAVA_HOME/bin/jps > 14038 RunJar > 2059 Jps > > HBase... is not running? What the heck? > > > On Tue, May 21, 2013 at 5:25 PM, Mohammad Tariq wrote: > >> Is this the only thing which appears on your screen?Could you please show >&g

Re: HBase is not running.

2013-05-22 Thread Yves S. Garret
-hbase.sh starting master, logging to /media/alternative-storage-do-not-touch/hbase-install/hbase-0.92.2/logs/hbase-ysg-master-ysg.connect.out (pardon the annoyingly long file name) Now, when I run JPS, this is what I see: $ $JAVA_HOME/bin/jps 14038 RunJar 2059 Jps HBase... is not running? What

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
No problem. This is hadoop-metrics.properties: http://bin.cakephp.org/view/697496673 This is hbase-env.sh: http://bin.cakephp.org/view/693824872 This is hbase-policy.xml: http://bin.cakephp.org/view/1578555029 This is hbase-site.xml: http://bin.cakephp.org/view/175451749 This is log4j.properti

Re: HBase is not running.

2013-05-21 Thread Jay Vyas
Here is my conf file.I wonder if maybe the problem is intercommunication between region servers? hbase.master hbase-master:6 The host and port that the HBase master runs at.

Re: HBase is not running.

2013-05-21 Thread Mohammad Tariq
Is this the only thing which appears on your screen?Could you please show me your config files? Warm Regards, Tariq cloudfront.blogspot.com On Wed, May 22, 2013 at 2:49 AM, Yves S. Garret wrote: > This is what happens when I start hbase. > > $ bin/start-hbase.sh > starting master, logging to >

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
This is what happens when I start hbase. $ bin/start-hbase.sh starting master, logging to /media/alternative-storage-do-not-touch/hbase-0.94.7/logs/hbase-ysg-master-ysg.connect.out No real problems or error or warnings... but it does not have the same output that you have in your blog... perhaps

Re: HBase is not running.

2013-05-21 Thread Mohammad Tariq
No issues. Are the HBase daemons running fine?Are you able to initiate anything from the shell? Warm Regards, Tariq cloudfront.blogspot.com On Wed, May 22, 2013 at 2:37 AM, Yves S. Garret wrote: > Hi, sorry, I thought I had more info than what was displayed in my > e-mail a little earlier toda

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
Hi, sorry, I thought I had more info than what was displayed in my e-mail a little earlier today that had the little list, but I did not. My biggest hangup is getting that Web GUI to work. That's really where I'm stuck. I followed your tutorial on the cloudfront blog and when it came time to go

Re: HBase is not running.

2013-05-21 Thread Mohammad Tariq
sure.. Warm Regards, Tariq cloudfront.blogspot.com On Wed, May 22, 2013 at 1:48 AM, Yves S. Garret wrote: > Hello, > > No, still having issues. I'll give you some more details in a second. > > > On Tue, May 21, 2013 at 4:07 PM, Mohammad Tariq > wrote: > > > Hey Yves, > > > > I am sorr

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
Hello, No, still having issues. I'll give you some more details in a second. On Tue, May 21, 2013 at 4:07 PM, Mohammad Tariq wrote: > Hey Yves, > > I am sorry for being unresponsive. I was travelling and was out of > reach. What's the current status?Are you good now? > > Warm Regards,

Re: HBase is not running.

2013-05-21 Thread Mohammad Tariq
Hey Yves, I am sorry for being unresponsive. I was travelling and was out of reach. What's the current status?Are you good now? Warm Regards, Tariq cloudfront.blogspot.com On Tue, May 21, 2013 at 11:15 PM, Asaf Mesika wrote: > Yes. > > On May 21, 2013, at 8:32 PM, "Yves S. Garret" >

Re: HBase is not running.

2013-05-21 Thread Asaf Mesika
Yes. On May 21, 2013, at 8:32 PM, "Yves S. Garret" wrote: > Do you mean this? > > http://blog.devving.com/hbase-quickstart-guide/ > > > On Tue, May 21, 2013 at 1:29 PM, Asaf Mesika wrote: > >> Devving.com has a good tutorial on HBase first setup >> >> On Tuesday, May 21, 2013, Yves S. Gar

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
Do you mean this? http://blog.devving.com/hbase-quickstart-guide/ On Tue, May 21, 2013 at 1:29 PM, Asaf Mesika wrote: > Devving.com has a good tutorial on HBase first setup > > On Tuesday, May 21, 2013, Yves S. Garret wrote: > > > Hi Mohammad, > > > > I was following your tutorial and when I g

Re: HBase is not running.

2013-05-21 Thread Asaf Mesika
Devving.com has a good tutorial on HBase first setup On Tuesday, May 21, 2013, Yves S. Garret wrote: > Hi Mohammad, > > I was following your tutorial and when I got to the part when you do > $ bin/start-hbase.sh, this is what I get: > http://bin.cakephp.org/view/428090088 > > I'll keep looking on

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
On Tue, May 21, 2013 at 10:00 AM, Yves S. Garret wrote: > Ok, it seems to be working now. I changed my environment variables > as a result. However, when I try to get the web GUI to work, it doesn't > work :) . That's where I'm stuck right now. > > > On Tue, May 21, 2013 at 9:21 AM, Yves S. Ga

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
Ok, it seems to be working now. I changed my environment variables as a result. However, when I try to get the web GUI to work, it doesn't work :) . That's where I'm stuck right now. On Tue, May 21, 2013 at 9:21 AM, Yves S. Garret wrote: > Also, I keep hearing that Java 6 is required. Curren

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
Also, I keep hearing that Java 6 is required. Currently I have Java 7 installed. Is this an issue or do I need to downgrade? On Tue, May 21, 2013 at 9:18 AM, Yves S. Garret wrote: > Hi Mohammad, > > I was following your tutorial and when I got to the part when you do > $ bin/start-hbase.sh, th

Re: HBase is not running.

2013-05-21 Thread Yves S. Garret
Hi Mohammad, I was following your tutorial and when I got to the part when you do $ bin/start-hbase.sh, this is what I get: http://bin.cakephp.org/view/428090088 I'll keep looking online for an answer, but was I supposed to do something else besides this? This is the contents of my bashrc: http:

Re: HBase is not running.

2013-05-03 Thread Yves S. Garret
Awesome, thanks. I'll look into it. On Fri, May 3, 2013 at 6:52 AM, Mohammad Tariq wrote: > Yes..You can do that. I would suggest you to start fresh and setup a single > node setup first. Once it is working fine, extending it to multiple > machines is just a matter of copying the config files.

Re: HBase is not running.

2013-05-03 Thread Mohammad Tariq
Yes..You can do that. I would suggest you to start fresh and setup a single node setup first. Once it is working fine, extending it to multiple machines is just a matter of copying the config files. I have explained the procedure here

Re: HBase is not running.

2013-05-02 Thread Yves S. Garret
Hi Tariq, can those two paths be one in the same? I'd like to just dump everything into one directory if that's possible. On Wed, May 1, 2013 at 10:15 PM, Mohammad Tariq wrote: > hbase.rootdir the directory HBase writes data to. I you are planning to > have a distributed HBase setup then set t

Re: HBase is not running.

2013-05-02 Thread Yves S. Garret
Hi Jean-Marc, I'm trying to get the UI to work. I went to this link and started following the instructions in order to get the UI to work: http://hbase.apache.org/book/trouble.tools.html The app began running, but I was getting errors outputted to the console, which are displayed below: http://b

Re: HBase is not running.

2013-05-01 Thread Mohammad Tariq
hbase.rootdir the directory HBase writes data to. I you are planning to have a distributed HBase setup then set this property to some a directory in your HDFS, like "hdfs://NN_MACHINE:9000/hbase". Otherwise point some dir on your local FS. And for hbase.zookeper.property.dataDir, create a separate

Re: HBase is not running.

2013-05-01 Thread Yves S. Garret
Forgot to add, out of the 3 files in logs: -rw-rw-r--. 1 ysg ysg 26439 May 1 22:04 hbase-ysg-master-ysg.connect.log -rw-rw-r--. 1 ysg ysg 0 May 1 22:04 hbase-ysg-master-ysg.connect.out -rw-rw-r--. 1 ysg ysg 0 May 1 22:04 SecurityAuth.audit Only the .log file has anything in it. Not sur

Re: HBase is not running.

2013-05-01 Thread Yves S. Garret
One more little update. I ran this command in HBASE_HOME [ $ bin/start-hbase.sh ], using these configuration settings: http://bin.cakephp.org/view/1134614486 After I rand it, I checked $HBASE_HOME/logs/hbase-ysg-master-ysg.connect.log and this is what I saw: http://bin.cakephp.org/view/823736802

Re: HBase is not running.

2013-05-01 Thread Yves S. Garret
Hi guys, one more question. I'm looking at this link in section 1.2.1 and where I have to modify conf/hbase-site.xml, for parts hbase.rootdir and hbase.zookeper.property.dataDir, to what should I set hbase.rootdir? At the moment, I have hbase.rootdir

Re: HBase is not running.

2013-05-01 Thread Yves S. Garret
Done. I'll go through the previously mentioned tutorial with this in mind. Thank you for your help. On Wed, May 1, 2013 at 4:39 PM, shashwat shriparv wrote: > Commment out everything in /etc/host file add 127.0.0.1 localhost and then > try. > > > *Thanks & Regards* > > ∞ > Shashwat Shripa

Re: HBase is not running.

2013-05-01 Thread Yves S. Garret
Hi Jean-Marc, I'll go back through this tutorial once more. http://hbase.apache.org/book/quickstart.html On Wed, May 1, 2013 at 4:27 PM, Jean-Marc Spaggiari wrote: > Hi Yves, > > Nice to see you back ;) > > The UI is http://192.168.x.x:60010/master-status > > If you don't have the master UI wo

Re: HBase is not running.

2013-05-01 Thread shashwat shriparv
Commment out everything in /etc/host file add 127.0.0.1 localhost and then try. *Thanks & Regards* ∞ Shashwat Shriparv On Thu, May 2, 2013 at 1:57 AM, Mohammad Tariq wrote: > Hello Yves, > >I think by that JM means that you should first make sure that all > you Hbase daemons are

Re: HBase is not running.

2013-05-01 Thread Mohammad Tariq
Hello Yves, I think by that JM means that you should first make sure that all you Hbase daemons are running fine. The webUI is a pretty convenient tool which allows you to monitor everything in a simpler way. If you are able to see the webUI properly, it means everything is in place and you

Re: HBase is not running.

2013-05-01 Thread Jean-Marc Spaggiari
Hi Yves, Nice to see you back ;) The UI is http://192.168.x.x:60010/master-status If you don't have the master UI working, there is no need to try the shell, it will not work. JM 2013/5/1 Yves S. Garret > Ok, I spoke too soon. I tried going from Nutch to Hive... not supported > (but adding

Re: HBase is not running.

2013-05-01 Thread Yves S. Garret
Ok, I spoke too soon. I tried going from Nutch to Hive... not supported (but adding support to it sounds like a fun side-project :) ). But, I can go to HBase. Jean-Marc, I do have a question for you. When you said that I should get the UI going before anything else, what did you mean? I'm gues

Re: HBase is not running.

2013-04-30 Thread Yves S. Garret
Hi Jean-Marc. Thanks for the tip. However, for the moment at least, I'm going to be abandoning my forays into HBase, I received direction to focus on Hive instead. Again, thank you. Should I need help in the near future, I'll be sure to send the mailing list an enquiry. On Tue, Apr 30, 2013 a

Re: HBase is not running.

2013-04-30 Thread Jean-Marc Spaggiari
Hi Yves, Your host file looks good. Don't even try the shell until you get the UI displayed correctly and the server logs saying that initialization is done. So what do you have on the logs when you are trying with this new host file? JM 2013/4/28 Asaf Mesika > Http://Devving.com has a good

Re: HBase is not running.

2013-04-28 Thread Asaf Mesika
Http://Devving.com has a good post on setting hosts file for stand alone hbase On Saturday, April 27, 2013, Yves S. Garret wrote: > Hi, but I don't understand what you mean. Did I miss a step > in the tutorial? > > > On Fri, Apr 26, 2013 at 4:26 PM, Leonid Fedotov > > >wrote: > > > Looks like

Re: HBase is not running.

2013-04-26 Thread Yves S. Garret
Hi, but I don't understand what you mean. Did I miss a step in the tutorial? On Fri, Apr 26, 2013 at 4:26 PM, Leonid Fedotov wrote: > Looks like your zookeeper configuration is incorrect in HBase. > > Check it out. > > Thank you! > > Sincerely, > Leonid Fedotov > Technical Support Engineer > >

Re: HBase is not running.

2013-04-26 Thread Leonid Fedotov
Looks like your zookeeper configuration is incorrect in HBase. Check it out. Thank you! Sincerely, Leonid Fedotov Technical Support Engineer On Apr 26, 2013, at 9:59 AM, Yves S. Garret wrote: > Hi, thanks for your reply. > > I did [ hostname ] in my linux OS and this is what I have for a > ho

Re: HBase is not running.

2013-04-26 Thread Yves S. Garret
Hi, thanks for your reply. I did [ hostname ] in my linux OS and this is what I have for a hostname [ ysg.connect ]. This is how my hosts file looks like. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost 192.168.1.6 ysg.connect ::1 local

Re: HBase is not running.

2013-04-26 Thread Jean-Marc Spaggiari
Hi Yves, You need to add an entry with your host name and your local IP. As an example, here is mine: 127.0.0.1 localhost 192.168.23.2buldo My host name is buldo. JM 2013/4/25 Yves S. Garret : > Hi Jean, this is my /etc/hosts. > > 127.0.0.1 localhost localhost.localdomain localhos

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Hi Jean, this is my /etc/hosts. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 On Thu, Apr 25, 2013 at 5:22 PM, Jean-Marc Spaggiari < jean-m...@spaggiari.org> wrot

Re: HBase is not running.

2013-04-25 Thread Mohammad Tariq
Hi JM :) Sorry about the previous mail. I didn't notice that. @Yves : I agree with Jean. Please make sure you have proper name resolution, which is vital for a proper Hbase setup. To make things simple you could just make use of 127.0.0.1, since you are running in standalone mo

Re: HBase is not running.

2013-04-25 Thread Jean-Marc Spaggiari
Hi Yves, You seems to have some network configuration issue with your installation. "java.net.BindException: Cannot assign requested address" and "ip72-215-225-9.at.at.cox.net/72.215.225.9:0" How is your host file configured? You need to have your host name pointing to you local IP (and not 127.

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
My mistake. I thought I had all of those logs. This is what I currently have: http://bin.cakephp.org/view/2112130549 I have $JAVA_HOME set to this: /usr/java/jdk1.7.0_17 I have extracted 0.94 and ran bin/start-hbase.sh Thanks for your help! On Thu, Apr 25, 2013 at 4:42 PM, Jean-Marc Spaggiar

Re: HBase is not running.

2013-04-25 Thread Jean-Marc Spaggiari
Hi Mohammad, He is running standalone, so no need to update the zookeeper qorum yet. Yes, can you share the entire hbase-ysg-master-ysg.connect.log file? Not just the first lines. Or what you sent is already all? So what have you done yet? Downloaded 0.94, extracted it, setup the JAVA_HOME and r

Re: HBase is not running.

2013-04-25 Thread Mohammad Tariq
Hello Yves, The log seems to be incomplete. Could you please the complete logs?Have you set the "hbase.zookeeper.quorum "property properly?Is your Hadoop running fine? Warm Regards, Tariq https://mtariq.jux.com/ cloudfront.blogspot.com On Fri, Apr 26, 2013 at 2:00 AM, Yves S. Garret wrot

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Hi again. I have 3 log files and only one of them had anything in them, here are the file names. I'm assuming that you're talking about the directory ${APACHE_HBASE_HOME}/logs, yes? Here are the file names: -rw-rw-r--. 1 user user 12465 Apr 25 14:54 hbase-ysg-master-ysg.connect.log -rw-rw-r--. 1

Re: HBase is not running.

2013-04-25 Thread Jean-Marc Spaggiari
There is no stupid question ;) Are the log truncated? Anything else after that? Or that's all what you have? For the UI, you can access it with http://192.168.X.X:60010/master-status Replace the X with your own IP. You should see some information about your HBase cluster (even in Standalone mode

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Here are the logs, what should I be looking for? Seems like everything is fine for the moment, no? http://bin.cakephp.org/view/2144893539 The web UI? What do you mean? Sorry if this is a stupid question, I'm a Hadoop newb. On Thu, Apr 25, 2013 at 3:19 PM, Jean-Marc Spaggiari < jean-m...@spagg

Re: HBase is not running.

2013-04-25 Thread Jean-Marc Spaggiari
Before trying the shell, can you look at the server logs and see if everything is fine? Also, is the web UI working fine? 2013/4/25 Yves S. Garret : > Ok, spoke too soon :) . > > I ran this command [ create 'test', 'cf' ] and this is the result that I > got: > http://bin.cakephp.org/view/16892601

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Ok, spoke too soon :) . I ran this command [ create 'test', 'cf' ] and this is the result that I got: http://bin.cakephp.org/view/168926019 This is after running help and having this run just fine. On Thu, Apr 25, 2013 at 1:23 PM, Jean-Marc Spaggiari < jean-m...@spaggiari.org> wrote: > Hi Yves

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Hi, I have a small update. The stable build seems to be working. Thanks again for your help. On Thu, Apr 25, 2013 at 1:23 PM, Jean-Marc Spaggiari < jean-m...@spaggiari.org> wrote: > Hi Yves, > > 0.95.0 is a developer version. If you are starting with HBase, I will > recommend you to choose a m

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Ah, my mistake. I'll re-try with the more stable version. On Thu, Apr 25, 2013 at 1:23 PM, Jean-Marc Spaggiari < jean-m...@spaggiari.org> wrote: > Hi Yves, > > 0.95.0 is a developer version. If you are starting with HBase, I will > recommend you to choose a more stable version like 0.94.6.1. >

Re: HBase is not running.

2013-04-25 Thread Jean-Marc Spaggiari
Hi Yves, 0.95.0 is a developer version. If you are starting with HBase, I will recommend you to choose a more stable version like 0.94.6.1. Regarding the 3 choices you are listing below. 1) This one is HBase 0.95 running over Hadoop 1.0 2) This one is HBase 0.95 running over Hadoop 2.0 3) This on

Re: HBase is not running.

2013-04-25 Thread Yves S. Garret
Hi, I'm trying to run 0.95.0. I've tried both and nothing worked. I do have another question. When I go to download hbase, I get the following 3 choices: http://www.bizdirusa.com/mirrors/apache/hbase/hbase-0.95.0/ The 3 choices: - hbase-0.95.0-hadoop1-bin.tar.gz (what I'm using) - hbase-0.95.0-

Re: HBase is not running.

2013-04-25 Thread Jean-Marc Spaggiari
Hi Yves, Which version of HBase are you trying with? It should be working with Java 1.7. To start HBase, are you trying "bin/start-hbase.sh start" as you said below? On only "bin/start-hbase.sh"? The later is the correct one while the former as an extra "start" not required at the end. JM 2013

HBase is not running.

2013-04-25 Thread Yves S. Garret
Hi all, I'm having an issue with getting HBase to run. I'm following this tutorial: http://hbase.apache.org/book.html#start_hbase When I run that command [ bin/start-hbase.sh start ], nothing happens. At all. My question is why. I have Java 1.7 on this machine, do I _need_ to get 1.6?

Re: Please help me how and when to catch java.net.ConnectException in case hbase is not running as it goes on connecting with hbase

2013-03-31 Thread gaurhari dass
Please hep me in resolving this issue ,above is the log On Mon, Apr 1, 2013 at 10:11 AM, gaurhari dass wrote: > 3/04/01 10:09:15 INFO zookeeper.ClientCnxn: Opening socket connection to > server localhost/127.0.0.1:2181. Will not attempt to authenticate using > SASL (unknown error) > 13/04/01 10:

Re: Please help me how and when to catch java.net.ConnectException in case hbase is not running as it goes on connecting with hbase

2013-03-31 Thread gaurhari dass
3/04/01 10:09:15 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 13/04/01 10:09:15 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting

  1   2   >