Hi Stack yes the tablename is AcContact. The tableName variable was wrong. Fixed it now but I still get the same error. Schema is just something created by parsing an XML file which has stuff like column family name, compression type etc so I guess it doesn't have much to do with version. Except that I had to change the bloom filter variable to String ( used to be boolean in 0.20.6). I will paste the stack trace asap
hari On Monday, March 28, 2011, Stack <[email protected]> wrote: > Can I see more of the stack track please Hari and is AcContact the > table you are creating? Is the schema you've saved aside one you > created with 0.20 hbase? I don't think it matters but asking just in > case. > St.Ack > > On Mon, Mar 28, 2011 at 6:29 AM, Hari Sreekumar > <[email protected]> wrote: >> Hi, >> >> I am trying to create table in hbase v0.90.1 and I get the following error: >> >> 11/03/28 18:39:52 INFO zookeeper.ClientCnxn: Opening socket connection to >> server hadoop2/192.168.1.111:2181 >> 11/03/28 18:39:52 INFO zookeeper.ClientCnxn: Socket connection established >> to hadoop2/192.168.1.111:2181, initiating s >> ession >> 11/03/28 18:39:52 INFO zookeeper.ClientCnxn: Session establishment complete >> on server hadoop2/192.168.1.111:2181, sess >> ionid = 0x12efc946d66000b, negotiated timeout = 180000 >> 11/03/28 18:39:52 INFO client.HConnectionManager$HConnectionImplementation: >> Closed zookeeper sessionid=0x12efc946d6600 >> 0b >> 11/03/28 18:39:52 INFO zookeeper.ZooKeeper: Session: 0x12efc946d66000b >> closed >> 11/03/28 18:39:52 INFO zookeeper.ClientCnxn: EventThread shut down >> 11/03/28 18:47:02 ERROR create.CreateTableByXML: Caught IOException: No >> server address listed in .META. for region >> AcContact,,1301317792604.16d1f5fd49478f79002e89ce02cf37b5. while creating >> table: Table1 >> >> This is the code I am using: >> ..... >> HTableDescriptor desc = CreateTableByXML.convertSchemaToDescriptor(schema); >> try { >> hbaseAdmin.createTable(desc); >> } catch (IOException e) { >> CreateTableByXML.LOG.error("Caught IOException: " + e.getMessage() >> + " while creating table: " + tableName); >> .... >> ..... >> >> >> It used to work fine in v0.20.6. I upgraded today to v0.90.1 and it started >> giving this error. Any ideas? >> >> Hari >> >
