On Tue, Feb 15, 2011 at 11:24 AM, Chris Tarnas <[email protected]> wrote: > We are definitely considering writing a bulk loader, but as it is this fits > into an existing processing pipeline that is not Java and does not fit into > the importtsv tool (we use column names as data as well) we have not done it > yet. I do foresee a Java bulk loader in our future though.
Well I was referring to THE bulk loader: http://hbase.apache.org/bulk-loads.html > > Does the shell expose the createTable method that defines the number of > columns (or I suppose I'll probably need to brush up on my JRuby...). Splits > were definitely happening then. Currently I'm using 1GB regions, I'll > probably go larger (~5) and salt my keys to distribute them better. I don't think that method is in the shell, it'd be weird anyway to write down hundreds of bytes in the shell IMO... Do you see a region hotspots? If so, definitely solve the key distribution as it's going to kill your performance. Bigger regions won't really help if you're still always writing to the same few ones. > > The reason I had thought it might be compaction related is I saw that we had > hit the hbase.hstore.blockingStoreFiles limit as well as having the timeout > expire. > Well the writes would block on flushing, so unless all the handlers are filled then you shouldn't see retries exhausted. You could grep your logs to see how log the splits took btw, but the total locking time isn't exactly that time... it's less than that. 0.90.1 would definitely help here. J-D
