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

Hitesh Shah commented on MAPREDUCE-3654:
----------------------------------------

The service loader for the ClientProtocolProvider should cycle through a list 
containing both the local and yarn client providers. The debug logs seem to 
indicate that it only sees the local client provider as an option and fails as 
the framework is set to yarn.

The fix probably might be in the unit test itself - could you ensure the 
job/jobconf is being initialized using MiniMrYarnCluster#getConfig ?
                
> MiniMRYarnCluster should set MASTER_ADDRESS to "local"
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-3654
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3654
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, test
>    Affects Versions: 0.23.1
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Critical
>         Attachments: MAPREDUCE-3654.patch
>
>
> I needed to make the attached change in order for MiniMRCluster based HBase 
> tests to get past job client initialization.

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