Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HBase Row Counter
Labels:
- Labels:
-
MapReduce
Explorer
Created on
‎02-10-2020
05:11 AM
- last edited on
‎02-10-2020
05:35 AM
by
cjervis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to get count the rows in a HBase table using org.apache.hadoop.hbase.mapreduce.RowCounter. How can I modify the mapreduce.job.cache.files configuration that is set in job.xml?
1 REPLY 1
Guru
Created on ‎02-10-2020 06:45 AM - edited ‎02-10-2020 06:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can pass that as command line argument
Example:
hbase org.apache.hadoop.hbase.mapreduce.RowCounter -Dmapreduce.job.cache.files=/test 'hbase_table_t10'
hbase org.apache.hadoop.hbase.mapreduce.RowCounter -Dmapreduce.job.cache.files=/test '<table_name>'
