[
https://issues.apache.org/jira/browse/HBASE-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589230#action_12589230
]
Jim Kellerman commented on HBASE-559:
-------------------------------------
If this is an example, shouldn't it live under src/examples?
in Driver.main, should (RowCounter.NAME, RowCounter.class, "Count rows in
HBase table") be hard-wired?
in RowCounter.main, should the master address be hard wired?
{code}
c.set("hbase.master", "durruti.local:60000");
{code}
Otherwise, looks fine.
> MR example job to count table rows
> ----------------------------------
>
> Key: HBASE-559
> URL: https://issues.apache.org/jira/browse/HBASE-559
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: stack
> Priority: Blocker
> Fix For: 0.1.2
>
> Attachments: 559-0.1-v2.patch, 559.patch
>
>
> The Lars' import is a little messy; he's not sure how many records were
> imported. Running a select takes a couple of hours. He happens to have an
> idle MR cluster standing by. An example MR job that just did a count of
> records would be generally useful. Could even output row keys so you'd have
> a list of what made it in. Later, if this tool becomes popular with
> derivatives and similiars, we can bundle a jar of MR jobs to run against your
> tables that can answer common queries and that are amenable to
> subclassing/modification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.