You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Mark Grover <gr...@gmail.com> on 2012/11/28 17:31:59 UTC

Error running wordcount example

Adding subject

On Wed, Nov 28, 2012 at 3:18 AM, imen Megdiche <im...@gmail.com>wrote:

> hello,
>
> I am trying  the wordcount example on the following link
>
> http://www.lichun.cc/blog/2012/06/wordcount-mapreduce-example-using-hive-on-local-and-emr/
>
> but I had this error with a log that looks like this :
>
> 2012-11-28 12:17:40,991 WARN  parse.SemanticAnalyzer
> (SemanticAnalyzer.java:genBodyPlan(5821)) - Common Gby keys:null
> 2012-11-28 12:17:40,993 WARN  parse.SemanticAnalyzer
> (SemanticAnalyzer.java:genBodyPlan(5821)) - Common Gby keys:null
> 2012-11-28 12:17:47,971 ERROR exec.Task
> (SessionState.java:printError(380)) - Execution failed with exit status: 2
> 2012-11-28 12:17:47,972 ERROR exec.Task
> (SessionState.java:printError(380)) - Obtaining error information
> 2012-11-28 12:17:47,972 ERROR exec.Task
> (SessionState.java:printError(380)) -
> Task failed!
> Task ID:
>   Stage-1
>
> Logs:
>
> 2012-11-28 12:17:47,972 ERROR exec.Task
> (SessionState.java:printError(380)) - /tmp/megdiche/hive.log
> 2012-11-28 12:17:47,973 ERROR exec.ExecDriver
> (MapRedTask.java:execute(282)) - Execution failed with exit status: 2
> 2012-11-28 12:17:47,974 ERROR ql.Driver
> (SessionState.java:printError(380)) - FAILED: Execution Error, return code
> 2 from org.apache.hadoop.hive.ql.exec.MapRedTask
>
>
> Please help me !!
>