I'm working with Julien on this problem and can provide updates. IntelliJ 
is configured to use the App Engine SDK.

This worked for us locally when we used Eclipse as well. And it worked when 
we deployed via the GPE. Here's the logged exception for a deployed mapper:

com.google.appengine.tools.mapreduce.v2.impl.handlers.Status handleCommand: Got 
exception while running command
java.lang.ExceptionInInitializerError
        at org.apache.hadoop.mapreduce.JobContext.<init>(JobContext.java:80)
        at 
com.google.appengine.tools.mapreduce.AppEngineJobContext.<init>(AppEngineJobContext.java:123)
        at 
com.google.appengine.tools.mapreduce.AppEngineJobContext.createContextForNewJob(AppEngineJobContext.java:132)
        at 
com.google.appengine.tools.mapreduce.v2.impl.handlers.Controller.handleStart(Controller.java:85)
        at 
com.google.appengine.tools.mapreduce.v2.impl.handlers.Status.handleStartJob(Status.java:81)
        at 
com.google.appengine.tools.mapreduce.v2.impl.handlers.Status.handleCommand(Status.java:182)
        at 
com.google.appengine.tools.mapreduce.MapReduceServlet.doPost(MapReduceServlet.java:203)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
        at 
com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
        at 
com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
        at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
        at 
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
        at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
        at 
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
        at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
        at 
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at 
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
        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:266)
        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:146)
        at 
com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:439)
        at 
com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:435)
        at 
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:442)
        at 
com.google.tracing.CurrentContext.runInContext(CurrentContext.java:186)
        at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:306)
        at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:298)
        at 
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:439)
        at 
com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
        at 
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:258)
        ... 48 more



On Wednesday, August 14, 2013 3:22:45 PM UTC-5, Vinny P wrote:
>
> On Wed, Aug 14, 2013 at 9:26 AM, Julien Dramaix 
> <julien.dram...@gmail.com<javascript:>
> > wrote:
>
>> 1) the javax.security.auth.Subject.getSubject(0 is in the white list of 
>> gae and can be invoked
>>
>  
> Just because a class is on the white list doesn't mean that all functions 
> within that class are OK. Some are just stubs or throw exceptions if you 
> attempt to call them.
>   
>
> On Wed, Aug 14, 2013 at 9:26 AM, Julien Dramaix 
> <julien.dram...@gmail.com<javascript:>
> > wrote:
>
>> 2) If I start the server from intellij, I don't get this exception and 
>> the map reduce job is launched successfully
>>
>  
>  
> Is your IntelliJ configured to use the App Engine SDK or is it using 
> generic libraries?  
>  
> On Wed, Aug 14, 2013 at 9:26 AM, Julien Dramaix 
> <julien.dram...@gmail.com<javascript:>
> > wrote:
>
>> What is going wrong ?
>>
>  
>  
> Try uploading your app to GAE and running it. You might get a more 
> detailed exception.
>
>   
> -----------------
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to