Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop, mail # user - Sqoop 1.99.2 + Cloud Era Hadoop 200 error


Copy link to this message
-
Re: Sqoop 1.99.2 + Cloud Era Hadoop 200 error
Jarek Jarcec Cecho 2013-07-16, 17:51
Hi Madhanmohan,
this seems to me as some misconfiguration on Hadoop side. Would you mind sharing your Hadoop configuration files with us? (for example all inside /etc/hadoop/conf/*).

What hadoop version are you using?

Jarcec

On Tue, Jul 16, 2013 at 10:43:35PM +0530, Madhanmohan Savadamuthu wrote:
> Yes. Problem still exists. I configured Yarn by default and all examples
> uses Yarn and no issues. When I closely looked into MapReduce service, all
> my task trackers were not working. So I troubleshooted it and made it
> working now. I changed the configuration file mapred-site.xml to point to
> 8021 port and tried running the Job. I am getting beloe mentioned error
> message.
>
> Submission details
> Job id: 7
> Status: FAILURE_ON_SUBMIT
> Creation date: 2013-07-16 22:37:55 IST
> Last update date: 2013-07-16 22:37:55 IST
> Exception: java.lang.ClassCastException:
> org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$GetFileInfoRequestProto
> cannot be cast to com.google.protobuf.Message
> Stack trace: java.lang.ClassCastException:
> org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$GetFileInfoRequestProto
> cannot be cast to com.google.protobuf.Message
>         at
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.constructRpcRequest(ProtobufRpcEngine.java:148)
>         at
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:193)
>         at com.sun.proxy.$Proxy15.getFileInfo(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164)
>         at
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83)
>         at com.sun.proxy.$Proxy15.getFileInfo(Unknown Source)
>         at
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:628)
>         at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1545)
>         at
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:805)
>         at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1367)
>         at
> org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:109)
>         at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:952)
>         at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:946)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:415)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
>         at
> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:946)
>         at org.apache.hadoop.mapreduce.Job.submit(Job.java:566)
>         at
> org.apache.sqoop.submission.mapreduce.MapreduceSubmissionEngine.submit(MapreduceSubmissionEngine.java:265)
>         at
> org.apache.sqoop.framework.FrameworkManager.submit(FrameworkManager.java:467)
>         at
> org.apache.sqoop.handler.SubmissionRequestHandler.submissionSubmit(SubmissionRequestHandler.java:112)
>         at
> org.apache.sqoop.handler.SubmissionRequestHandler.handleActionEvent(SubmissionRequestHandler.java:98)
>         at
> org.apache.sqoop.handler.SubmissionRequestHandler.handleEvent(SubmissionRequestHandler.java:68)
>         at
> org.apache.sqoop.server.v1.SubmissionServlet.handlePostRequest(SubmissionServlet.java:44)
>         at
> org.apache.sqoop.server.SqoopProtocolServlet.doPost(SqoopProtocolServlet.java:63)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)