[
https://issues.apache.org/jira/browse/MAPREDUCE-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102753#comment-13102753
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-2979:
----------------------------------------------------
[~karams] ran into the same error above today with one of his non-regular
hadoop commands. We spent some time but are still baffled as to why we never
ran into this before but hitting it only now.
Regardless this patch should prevent the exception above.
Looked at the patch. +1.
> Remove ClientProtocolProvider configuration under mapreduce-client-core
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-2979
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2979
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
> Fix For: 0.23.0, 0.24.0
>
> Attachments: MR2979_v1.patch, MR2979_v1.patch
>
>
> ClientProtocolProvider configuration exists under the job-client and core
> modules. It's really only required in job-client. The version in core points
> to JobTrackerClientProtocolProvider which causes
> java.util.ServiceConfigurationError:
> org.apache.hadoop.mapreduce.protocol.ClientProtocolProvider: Provider
> org.apache.hadoop.mapred.JobTrackerClientProtocolProvider not found
> at java.util.ServiceLoader.fail(ServiceLoader.java:214)
> at java.util.ServiceLoader.access$400(ServiceLoader.java:164)
> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:350)
> at java.util.ServiceLoader$1.next(ServiceLoader.java:421)
> at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:73)
> at org.apache.hadoop.mapreduce.Job.<init>(Job.java:133)
> at org.apache.hadoop.mapreduce.Job.<init>(Job.java:138)
> at org.apache.hadoop.examples.WordCount.main(WordCount.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
> at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
> at
> org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:189)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira