Gaojinchao 2011-10-25, 04:33
Gaojinchao 2011-10-25, 10:14
-Re: A requirement to change time of the Hbase cluster.
Michel Segel 2011-10-25, 19:54
Maybe I'm missing something...
The purpose of using an ntp server is that your machines all have the same time. Also you would sync your ntp server clock to one of the global ntp servers so that you have an accurate clock for your network...
You shouldn't have to restart your cluster unless your clocks are all way off...
Sent from a remote device. Please excuse any typos...
On Oct 25, 2011, at 5:14 AM, Gaojinchao <[EMAIL PROTECTED]> wrote:
> Perhaps we should. add a choice of supporting incremental meta-data. All the timestamp is incremental, These data do not rely on the system time.
> 发件人: Gaojinchao [mailto:[EMAIL PROTECTED]]
> 发送时间: 2011年10月25日 12:33
> 收件人: [EMAIL PROTECTED]
> 主题: A requirement to change time of the Hbase cluster.
> Hi all,
> We have a requirement to change time of the Hbase cluster.
> The scene is the cluster changes the ntp server(my customer may do this),
> We are ready to do this:
> 1. stop the cluster
> 2. change the ntp server
> 3. start the cluster.
> But the cluster may move to one ntp server which system is slower.
> we find the meta data can't update becuase newly added record is covered by old record and the cluster don't run normal.
> I have a way to deal with this situation. before we update the meta data ,we can get it firstly and then compare the timestamp with the system time.
> if system time is lower than timestamp, updating metadata can use as timestamp +1.
Gaojinchao 2011-10-26, 02:36
Doug Meil 2011-10-26, 13:22
Stack 2011-10-26, 16:02
Gary Helmling 2011-10-26, 18:39
Doug Meil 2011-10-26, 19:00