*Sir,Thanks for your guide lines. Thankyou.
*
On Mon, Oct 25, 2010 at 1:18 AM, Cyrille Vincey <crll...@gmail.com> wrote:

> Have you created a descending index on the key of the entity group you try
> to map ?
> (required for mapreduce jobs)
>
> From: suersh babu <sureshgbab...@gmail.com>
> Reply-To: <google-appengine-java@googlegroups.com>
> Date: Fri, 22 Oct 2010 14:52:17 +0530
> To: <google-appengine-java@googlegroups.com>, <
> google-appeng...@googlegroups.com>
> Subject: [appengine-java] Mapreduce gives error when I execute job on
> appengine cloud?
>
> Hi,
>
> I am using mapreduce to run the job but when I try to run the job in
> mapreduce by clicking run button  I am getting error like this :
> Error -- java.lang.RuntimeException: Full stack trace is available in the
> server logs. Message: Got an IOException while trying to make splits
>
> In my local machine mapreduce works fine, It executed the job without any
> error.
>
> I am using app engine sdk 1.3.8
>
> Following is the server log generated by my application for the mapreduce
> error.
>
>    1. 10-22 02:02AM 49.783
>
>    com.google.appengine.tools.mapreduce.DatastoreInputFormat getSplits: 
> Getting input splits for: Payment
>
>    2.  E 10-22 02:02AM 49.810
>
>    com.google.appengine.tools.mapreduce.MapReduceServlet handleCommand: Got 
> exception while running command
>    java.lang.RuntimeException: Got an IOException while trying to make splits
>       at 
> com.google.appengine.tools.mapreduce.MapReduceServlet.handleStart(MapReduceServlet.java:747)
>       at 
> com.google.appengine.tools.mapreduce.MapReduceServlet.handleStartJob(MapReduceServlet.java:364)
>       at 
> com.google.appengine.tools.mapreduce.MapReduceServlet.handleCommand(MapReduceServlet.java:247)
>       at 
> com.google.appengine.tools.mapreduce.MapReduceServlet.doPost(MapReduceServlet.java:184)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>       at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
>       at 
> com.veersoft.filter.ResetUserMessagesAndErrorsFilter.doFilter(ResetUserMessagesAndErrorsFilter.java:28)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>       at 
> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>       at 
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>       at 
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>       at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>       at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>       at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>       at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>       at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>       at 
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:238)
>       at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>       at org.mortbay.jetty.Server.handle(Server.java:326)
>       at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>       at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
>       at 
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
>       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>       at 
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
>       at 
> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:261)
>       at 
> com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:8486)
>       at 
> com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:8484)
>       at 
> com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
>       at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:418)
>       at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:572)
>       at 
> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
>       at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
>       at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
>       at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
>       at 
> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:636)
>    Caused by: java.io.IOException: Couldn't find descending index on __key__
>       at 
> com.google.appengine.tools.mapreduce.DatastoreInputFormat.getEndKey(DatastoreInputFormat.java:232)
>       at 
> com.google.appengine.tools.mapreduce.DatastoreInputFormat.getSplits(DatastoreInputFormat.java:106)
>       at 
> com.google.appengine.tools.mapreduce.MapReduceServlet.handleStart(MapReduceServlet.java:742)
>       ... 42 more
>
>
>
> --
> Regards
>
> Suresh Babu G
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to