The count
command in HBase Shell is a straightforward way to count the row numbers on an HBase table. However, running the count
command on a table with a huge amount of data might take a long time to complete. A better approach for this case is to use the RowCounter
class. This class will kick a MapReduce job to count the row number on a table, which is much more efficient than the count
command.
Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
Great Britain
Greece
Hungary
India
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Russia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Spain
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine
United States