Hello, Things are looking better and better. I have refactored a lot of code, mainly: - reduced number of columns to 3 in MESSAGES table. I have plans to get them down to 2, but it's ok for now. - created Convertor classes for Flags and Properties, as Eric once suggested. this also lead to the following benefit: - HBaseUtils is much more clean. Another sweep is around the corner.
As it stands now, the test results are: Tests run: 291, Failures: 0, Errors: 80, Skipped: 0 I get a lot of java.nio.BufferOverflowException and I got some other stuff to fix in the flags area, but I think things are going well. One thing that kept me was the fact that I was returning mssage UID's in the wrong order. The server was expecting them in ascending order and because I store them using Long.MAX_VALUE - uid i was getting them in descending order. Now it's fixed. I'm using Collections.reverse() to switch them. The test runs for about 50 min. I don't know why it takes so much but I think it has to do something with the large amount of debugging output that's coming out of HBase. Stay tuned for more information and check out he latest version in the repo: http://code.google.com/a/apache-extras.org/p/mailbox-hdfs/ and: http://code.google.com/a/apache-extras.org/p/hbase-mailbox-integration-test/ p.s. a quick code review will be appreciated. Thanks, -- Ioan Eugen Stan http://ieugen.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
