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

Chang Li commented on MAPREDUCE-6442:
-------------------------------------

[~jlowe] thanks for review! I test by pass a null conf to initialize cluster 
and the log showed the stack trace
{code}
Failed to use org.apache.hadoop.mapred.YarnClientProtocolProvider due to error:
java.lang.NullPointerException
        at 
org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:33)
        at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:95)
        at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82)
        at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75)
{code}

> Stack trace missing for client protocol provider creation error
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-6442
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6442
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Chang Li
>            Assignee: Chang Li
>         Attachments: MAPREDUCE-6442.2.patch, MAPREDUCE-6442.patch
>
>
> when provider creation fail dump the stack trace rather than just print out 
> the message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to