[ 
https://issues.apache.org/jira/browse/HBASE-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589234#action_12589234
 ] 

stack commented on HBASE-559:
-----------------------------

I'll move RowCounter under examples when we have more than just one (Takes a 
bit of work setting up an example jar, etc.).  Also, this patch makes it so 
hbase.jar can be used as a job jar on a MR cluster.  Chose which job you want 
to run by passing switch to Driver class.  This facility doesn't belong in 
examples (but I need something to demo it with.... ).

In Driver.main, yeah, each new MR job is added here to the Driver class.

In RowCounter.main, I'll change it so its args[0] instead (This 'main' is not 
used generally).

Thanks for the review.

> 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.

Reply via email to