You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2016/08/19 01:04:20 UTC

[jira] [Created] (MAPREDUCE-6761) Regression when handling providers - invalid configuration ServiceConfiguration causes Cluster initialization failure

Peter Vary created MAPREDUCE-6761:
-------------------------------------

             Summary: Regression when handling providers - invalid configuration ServiceConfiguration causes Cluster initialization failure
                 Key: MAPREDUCE-6761
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6761
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 3.0.0-alpha2
            Reporter: Peter Vary
            Assignee: Peter Vary


When a rouge org.apache.hadoop.mapreduce.protocol.ClientProtocolProvider defines a provider that is not on classpath, then the initialization is failed with the following exception:

java.util.ServiceConfigurationError: org.apache.hadoop.mapreduce.protocol.ClientProtocolProvider: Provider org.apache.hadoop.mapred.YarnClientProtocolProvider not found
	at java.util.ServiceLoader.fail(ServiceLoader.java:239)
	at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.apache.hadoop.mapreduce.Cluster.initProviderList(Cluster.java:84)
	at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:114)
	at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:108)
	at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:101)
	at org.apache.hadoop.mapred.JobClient.init(JobClient.java:477)
	at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:455)

This regression is caused by MAPREDUCE-6473



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org