You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Ioan Eugen Stan <st...@gmail.com> on 2012/01/13 00:09:09 UTC
missing job history and strange MR job output
Hello,
I'm struggling for two days now to figure out what's wrong with my
map-reduce job without success. I'm trying to write a map reduce job
that reads data from a HBase table and outputs to a sequence file. I'm
using the HBaseTestingUtility with the Mini clusters. All things went
well, but after a big re-factoring of my code I no longer get the job
history and the output of my map reduce is a Sequence file that just
contains the header with the class names.
I've hit a brick wall and don't really know where to go right now.
Cheers,
p.s. if this is better on the hbase ml please let me know, but the
code that reads the hbase table seems ok. I'm doing a small scan
before to count some stuff to pass to the job.
--
Ioan Eugen Stan
http://ieugen.blogspot.com/
Re: missing job history and strange MR job output
Posted by Ioan Eugen Stan <st...@gmail.com>.
Pe 13.01.2012 06:00, Harsh J a scris:
> Perhaps you aren't writing it properly? Its hard to tell what your
> problem may be without looking at some code snippets
> (sensitive/irrelevant parts may be cut out, or even pseudocode typed
> up is fine), etc..
>
Hello Harsh and others,
It's fixed. After resolving a childish bug on my part (with building the
Scan object) I still had problems with the setup. It ran everything up
until waitForCompletion() where it hanged. I checked the logs and it
barely showed any output from the MapReduceMini cluster. Just a few
lines announcing the start of TaskTrackers and JobTrackers, etc.
Removing the local maven repository finally solved the issue and now I
can happily continue with coding.
It seems that periodically cleaning maven repo is a must these days.
Thanks for the support,
--
Ioan Eugen Stan
http://ieugen.blogspot.com
Re: missing job history and strange MR job output
Posted by Harsh J <ha...@cloudera.com>.
Perhaps you aren't writing it properly? Its hard to tell what your
problem may be without looking at some code snippets
(sensitive/irrelevant parts may be cut out, or even pseudocode typed
up is fine), etc..
On Fri, Jan 13, 2012 at 4:39 AM, Ioan Eugen Stan <st...@gmail.com> wrote:
> Hello,
>
> I'm struggling for two days now to figure out what's wrong with my
> map-reduce job without success. I'm trying to write a map reduce job
> that reads data from a HBase table and outputs to a sequence file. I'm
> using the HBaseTestingUtility with the Mini clusters. All things went
> well, but after a big re-factoring of my code I no longer get the job
> history and the output of my map reduce is a Sequence file that just
> contains the header with the class names.
>
> I've hit a brick wall and don't really know where to go right now.
>
> Cheers,
>
> p.s. if this is better on the hbase ml please let me know, but the
> code that reads the hbase table seems ok. I'm doing a small scan
> before to count some stuff to pass to the job.
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com/
--
Harsh J
Customer Ops. Engineer, Cloudera