Re: Table can't disable

2011-05-08 Thread Gaojinchao
I See. It seems like a bug. This is my analysis. // disable table and master sent Close message to region server, Region state was set PENDING_CLOSE 2011-05-08 17:44:25,745 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Sent CLOSE to serverName=C4C4.site,60020,1304820199467, load=(requ

Table can't disable

2011-05-08 Thread Gaojinchao
Today I test Hbase verison 0.90.3 I seems like some bugs 1, if node exists and node state is RS_ZK_REGION_CLOSED We should call ClosedRegionHandle to close region. In that case the reigon has closed by region server case PENDING_CLOSE: LOG.info("Region has been PENDING_CLOSE f

A question about Unit Test

2011-05-08 Thread Gaojinchao
private static final HServerAddress HSA = new HServerAddress("example.org:1234"); In my machine , It always failed because of DNS error. The example.org is hard code. If we can add a function to get hostname. It likes: public static String gethostname() { String hostName = nul