Split Size

23 views
Skip to first unread message

patrick...@gmail.com

unread,
Jul 23, 2013, 4:12:37 PM7/23/13
to hannib...@googlegroups.com
In the table view, hannibal shows my split size at about 250MB, and almost all my regions are well above that. I thought that this was showing hbase.hregion.max.filesize, but looking at the dump of hmaster configs (http://hmaster/dump), I see it as 1GB:
<property><name>hbase.hregion.max.filesize</name><value>1073741824</value><source>hbase-default.xml</source></property>

Am I wrong about what "Split Size" is?

Thanks,
Patrick

Nils Kübler

unread,
Jul 24, 2013, 4:16:39 AM7/24/13
to hannib...@googlegroups.com, patrick...@gmail.com
Hi Patrick,

The "Split Size" is retrieved via `HTableDescriptor.getMaxFileSize()`.
Did you set an exlicit maxfilesize for the table?
To test this you can enter `describe <tablename>` in the hbase shell and then look for 'MAX_FILESIZE'.

Nils

Patrick Schless

unread,
Jul 24, 2013, 8:47:39 AM7/24/13
to Nils Kübler, hannib...@googlegroups.com
Nope, we haven't set an explicit max filesize. Here's the describe:

hbase(main):001:0> describe 'data'
DESCRIPTION                                                                                                                         ENABLED                                                                
 {NAME => 'data', DEFERRED_LOG_FLUSH => 'true', FAMILIES => [{NAME => 'data', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '1', COMPRESSION => 'SNAPPY', VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'
 }]}
true                                                                                                                                                                                              
1 row(s) in 0.8480 seconds



--
You received this message because you are subscribed to a topic in the Google Groups "Hannibal developers & users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hannibal-app/08FD2RD95BQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hannibal-app...@googlegroups.com.
To post to this group, send email to hannib...@googlegroups.com.
Visit this group at http://groups.google.com/group/hannibal-app.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Nils Kübler

unread,
Jul 29, 2013, 3:35:16 AM7/29/13
to hannib...@googlegroups.com, Nils Kübler, patrick...@gmail.com
That's weird.

I just took a look at the HBase source and it seems that if there isn't set an explicit MAX_FILESIZE for the table, indeed 'hbase.hregion.max.filesize' is returned. Could it be possible that this value is read from the client's configuration, not from the HMaster?

I know that's not a great solution, but can you try to set:
<property><name>hbase.hregion.max.filesize</name><value>1073741824</value></property>
in Hannibal's hbase-site.xml to and see what happens?

Thanks
Nils

Patrick Schless

unread,
Aug 1, 2013, 11:52:39 AM8/1/13
to Nils Kübler, hannib...@googlegroups.com
Should I have all the hadoop/hmaster configs on the hannibal box? currently I have none (it's a single-purpose VM)

Nils Kübler

unread,
Aug 5, 2013, 3:58:08 AM8/5/13
to hannib...@googlegroups.com, Nils Kübler, patrick...@gmail.com
the hbase-site.xml should be enough. Does this solve your issue?

Jean-Pierre König

unread,
Oct 24, 2013, 10:40:10 AM10/24/13
to hannib...@googlegroups.com, Nils Kübler, patrick...@gmail.com
Reply all
Reply to author
Forward
0 new messages