[ 
https://issues.apache.org/jira/browse/HIVE-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263272#comment-13263272
 ] 

Zhenxiao Luo commented on HIVE-2804:
------------------------------------

By creating an ThrowNullPointer UDF, and running it in MiniMRCluster, could 
reproduce a MapReduce job failing.

When running on apache trunk(which is using MR1), get the following error 
message:

[junit] Begin query: throw_npe.q
[junit] Error during job, obtaining debugging information...
[junit] Examining task ID: task_20120426165633901_0001_m_000002 (and more) from 
job job_20120426165633901_0001
[junit] 
[junit] Task with the most failures(4): 
[junit] -----
[junit] Task ID:
[junit] task_20120426165633901_0001_m_000000
[junit] 
[junit] URL:
[junit] 
http://localhost:50030/taskdetails.jsp?jobid=job_20120426165633901_0001&tipid=task_20120426165633901_0001_m_000000
[junit] -----
[junit] 
[junit] Exception: Client Execution failed with error code = 9

And in the output file:

PREHOOK: Output: 
hdfs://rotor:35306/home/cloudera/Code/hive/build/ql/scratchdir/hive_2012-04-26_16-57-11_129_4964809859660696177/-mr-10000
Ended Job = job_20120426165633901_0001 with errors
FAILED: Execution Error, return code 2 from 
org.apache.hadoop.hive.ql.exec.MapRedTask

So, on apache trunk, TaskLog retrieval is working OK.

Since our CDH4 branch could not run MiniMRCluster yet, will try on an MR2 
cluster, and also try to run a local cluster in pseudo-distributed mode.
                
> Task log retrieval fails on secure cluster
> ------------------------------------------
>
>                 Key: HIVE-2804
>                 URL: https://issues.apache.org/jira/browse/HIVE-2804
>             Project: Hive
>          Issue Type: Bug
>          Components: Diagnosability, Query Processor, Security
>            Reporter: Carl Steinbach
>            Assignee: Zhenxiao Luo
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to