Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Starting Abnormally After Shutting Down For Some Time


Copy link to this message
-
Re: Starting Abnormally After Shutting Down For Some Time
Jean-Daniel,

I changed dfs.data.dir and dfs.name.dir to new paths in the hdfs-site.xml.

I really cannot figure out why the HBase/Hadoop got a problem after a
couple of days of shutting down. If I use it frequently, no such a master
problem happens.

Each time, I have to reinstall not only HBase/Hadoop but also Ubuntu for
the problem. It wasted me a lot of time.

Thanks so much!

Bing

On Wed, Mar 28, 2012 at 4:46 AM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote:

> Hi Bing,
>
> Two questions:
>
> - Can you look at the master log and see what's preventing the master
> from starting?
>
> - Did you change dfs.data.dir and dfs.name.dir in hdfs-site.xml? By
> default it writes to /tmp which can get cleaned up.
>
> J-D
>
> On Tue, Mar 27, 2012 at 12:52 PM, Bing Li <[EMAIL PROTECTED]> wrote:
> > Dear all,
> >
> > I got a weird problem when programming on the pseudo-distributed mode of
> > HBase/Hadoop.
> >
> > The HBase/Hadoop were installed correctly. It also ran well with my Java
> > code.
> >
> > However, if after shutting down the server for some time, for example,
> four
> > or five days, I noticed that HBase/Hadoop got a problem. I got an ERROR
> > when typing "status" in the shell of HBase.
> >
> >    ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7
> > times
> >
> > Such a problem had happened for three times in the three weeks.
> >
> > The HBase/Hadoop are installed on Ubuntu 10.
> >
> > Have you encountered such a problem? How to solve it?
> >
> > Thanks so much!
> >
> > Best regards,
> > Bing
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB