Vincent: Can you pastebin region server log around the time of crash ? Cheers
> On Nov 19, 2015, at 12:15 AM, Vincent.Gong <[email protected]> wrote: > > Hi All, > I have also found a similar problem. > If the regionserver and client's version was not match, the regionserver > would crash . > > the crash case: regionserver's version is 1.0 and client's version is 1.1.0. > > > >> 在 2015年11月19日 14:53, Yu Li 写道: >> Second Enis and Heng, suggest to dig deeper into RS log and find the real >> reason causing RS crash. >> >> Best Regards, >> Yu >> >>> On 19 November 2015 at 03:18, Enis Söztutar <[email protected]> wrote: >>> >>> It is highly unlikely that a client to cause the server side to abort. It >>> is possible that due to some other problem the regionservers are aborting. >>> The regionservers will reject client connection requests if there is an RPC >>> version mismatch. >>> >>> 1.x and 0.98 client and servers have been tested to be rolling upgrade >>> compatible (meaning that older clients can work with newer server versions >>> or vice versa). >>> >>> Enis >>> >>>> On Wed, Nov 18, 2015 at 10:47 AM, Ted Yu <[email protected]> wrote: >>>> >>>> HBaseAdmin has this method: >>>> >>>> public ClusterStatus getClusterStatus() throws IOException { >>>> >>>> where ClusterStatus has: >>>> >>>> public String getHBaseVersion() { >>>> >>>> return hbaseVersion; >>>> >>>> FYI >>>> >>>>> On Wed, Nov 18, 2015 at 8:58 AM, 聪聪 <[email protected]> wrote: >>>>> >>>>> Ted: >>>>> >>>>> >>>>> Because a lot of development is the use of the wrong client, I think >>>> about >>>>> how to avoid.For example, we even upgrade to 1.0 but they may use 2.0 >>>>> version. >>>>> >>>>> >>>>> >>>>> >>>>> ------------------ 原始邮件 ------------------ >>>>> 发件人: "Ted Yu";<[email protected]>; >>>>> 发送时间: 2015年11月18日(星期三) 晚上7:37 >>>>> 收件人: "[email protected]"<[email protected]>; >>>>> >>>>> 主题: Re: HBase client and server version is not compatible >>>> leadregionserver >>>>> down >>>>> >>>>> >>>>> >>>>> See http://hbase.apache.org/book.html#hbase.rolling.upgrade >>>>> >>>>> For example, in Rolling upgrade from 0.98.x to HBase 1.0.0, we state >>> that >>>>> it is possible to do a rolling upgrade between hbase-0.98.x and >>>>> hbase-1.0.0. >>>>> >>>>> Cheers >>>>> >>>>>> On Wed, Nov 18, 2015 at 12:22 AM, 聪聪 <[email protected]> wrote: >>>>>> >>>>>> We recently found that regionserver down.Later, we found that because >>>> the >>>>>> client and server version is not compatible.The client version is >>>>>> 1.0,server version is 0.98.6.I want to know why this is, and whether >>>>> there >>>>>> is a better protection mechanism.How to avoid this problem, because >>>> some >>>>>> development will appear this kind of mistake operation. >
