Support Questions

Find answers, ask questions, and share your expertise

E0803: IO error, Unable to evaluate :${now(0,0)}

avatar
Rising Star

Hi,

I know there is other threads on this issue but I followed the solution but I still get the same result.

When I try to schedule a process I face this error :

E0803: IO error, Unable to evaluate :${now(0,0)}.

I have added the paramater to the conf :

    <property>                                                                                                                                                          
      <name>oozie.service.ELService.ext.functions.coord-action-create-inst</name>                                                                                       
      <value>now=org.apache.oozie.extensions.OozieELExtensions#ph2_now_inst,                                                                                            
         today=org.apache.oozie.extensions.OozieELExtensions#ph2_today_inst,                                                                                            
         yesterday=org.apache.oozie.extensions.OozieELExtensions#ph2_yesterday_inst,                                                                                    
         currentMonth=org.apache.oozie.extensions.OozieELExtensions#ph2_currentMonth_inst,                                                                              
         lastMonth=org.apache.oozie.extensions.OozieELExtensions#ph2_lastMonth_inst,                                                                                    
         currentYear=org.apache.oozie.extensions.OozieELExtensions#ph2_currentYear_inst,                                                                                
         lastYear=org.apache.oozie.extensions.OozieELExtensions#ph2_lastYear_inst,                                                                                      
         latest=org.apache.oozie.coord.CoordELFunctions#ph2_coord_latest_echo,                                                                                          
         future=org.apache.oozie.coord.CoordELFunctions#ph2_coord_future_echo,                                                                                          
         formatTime=org.apache.oozie.coord.CoordELFunctions#ph2_coord_formatTime,                                                                                       
         user=org.apache.oozie.coord.CoordELFunctions#coord_user</value>                                                                                                
    </property>                                                                                                                                                         
    <property>                                                                                                                                                          
      <name>oozie.service.ELService.ext.functions.coord-action-start</name>                                                                                             
      <value>now=org.apache.oozie.extensions.OozieELExtensions#ph2_now,                                                                                                 
today=org.apache.oozie.extensions.OozieELExtensions#ph2_today,                                                                                                          
yesterday=org.apache.oozie.extensions.OozieELExtensions#ph2_yesterday,                                                                                                  
currentMonth=org.apache.oozie.extensions.OozieELExtensions#ph2_currentMonth,                                                                                            
lastMonth=org.apache.oozie.extensions.OozieELExtensions#ph2_lastMonth,                                                                                                  
currentYear=org.apache.oozie.extensions.OozieELExtensions#ph2_currentYear,                                                                                              
lastYear=org.apache.oozie.extensions.OozieELExtensions#ph2_lastYear,                                                                                                    
latest=org.apache.oozie.coord.CoordELFunctions#ph3_coord_latest,                                                                                                        
future=org.apache.oozie.coord.CoordELFunctions#ph3_coord_future,                                                                                                        
dataIn=org.apache.oozie.extensions.OozieELExtensions#ph3_dataIn,                                                                                                        
instanceTime=org.apache.oozie.coord.CoordELFunctions#ph3_coord_nominalTime,                                                                                             
dateOffset=org.apache.oozie.coord.CoordELFunctions#ph3_coord_dateOffset,                                                                                                
formatTime=org.apache.oozie.coord.CoordELFunctions#ph3_coord_formatTime,                                                                                                
user=org.apache.oozie.coord.CoordELFunctions#coord_user</value>                                                                                                         
    </property>                                                                                                                                                         
    <property>                                                                                                                                                          
      <name>oozie.service.ELService.ext.functions.coord-job-submit-instances</name>                                                                                     
      <value>now=org.apache.oozie.extensions.OozieELExtensions#ph1_now_echo,                                                                                            
         today=org.apache.oozie.extensions.OozieELExtensions#ph1_today_echo,                                                                                            
         yesterday=org.apache.oozie.extensions.OozieELExtensions#ph1_yesterday_echo,                                                                                    
         currentMonth=org.apache.oozie.extensions.OozieELExtensions#ph1_currentMonth_echo,                                                                              
         lastMonth=org.apache.oozie.extensions.OozieELExtensions#ph1_lastMonth_echo,                                                                                    
         currentYear=org.apache.oozie.extensions.OozieELExtensions#ph1_currentYear_echo,                                                                                
         lastYear=org.apache.oozie.extensions.OozieELExtensions#ph1_lastYear_echo,                                                                                      
         formatTime=org.apache.oozie.coord.CoordELFunctions#ph1_coord_formatTime_echo,                                                                                  
         latest=org.apache.oozie.coord.CoordELFunctions#ph2_coord_latest_echo,                                                                                          
         future=org.apache.oozie.coord.CoordELFunctions#ph2_coord_future_echo</value>                                                                    
    </property> 

and when I restart the oozie-server, I find this :

Adding extension: /usr/hdp/2.3.2.0-2950/oozie/libext/falcon-oozie-el-extension-0.6.1.2.3.2.0-2950.jar

I follow this https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/configu...

but I still get the same error.

Is there something I am missing ?

Sorry for posting on the same error, but I am stuck.

1 ACCEPTED SOLUTION
3 REPLIES 3

avatar
Master Mentor

@Arthur GREVIN You have to provide more data on "E0803: IO error, Unable to evaluate :${now(0,0)}"

avatar
Rising Star

Here is the complete error log :

org.apache.falcon.FalconException: Entity schedule failed for PROCESS: mkdirProcess                                                                                     
        at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:96)                                       
        at org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:73)                                               
        at org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:131)                                                              
        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:606)                                                                                                             
        at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)                                                                                     
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$9.doExecute(SchedulableEntityManagerProxy.java:403)                                           
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:575)                                   
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody12(SchedulableEntityManagerProxy.java:405)                                 
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure13.run(SchedulableEntityManagerProxy.java:1)                                        
        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)                                                                                    
        at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51)                                                               
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule(SchedulableEntityManagerProxy.java:388)                                              
        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:606)                                                                                                             
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)                                                             
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:
185)                                                                                                                                                                    
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)                                 
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)                                                                          
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)                                                                    
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)                                                                    
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)                                                                    
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)                                                         
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)                                                       
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)                                                       
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)                                                        
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)                                                        
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)                                                                             
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)                                                                     
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)                                                                     
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)                                                                                                 
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)                                                                                       
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)                                                                      
        at org.apache.falcon.security.FalconAuthorizationFilter.doFilter(FalconAuthorizationFilter.java:106)                                                            
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)                                                                      
        at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:184)                                                        
        at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:595)                                                
        at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:554)                                                
        at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:193)                                                          
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)                                                                      
        at org.apache.falcon.security.FalconAuditFilter.doFilter(FalconAuditFilter.java:64)                                                                             
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)                                                                      
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)                                                                                     
        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:767)                                                                                     
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)                                                                                        
        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:928)                                                                      
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)                                                                                                  
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)                                                                                             
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)                                                                                             
        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)                                                                               
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)                                                                                
Caused by: org.apache.falcon.FalconException: E0803 : E0803: IO error, Unable to evaluate :${now(0,0)}:                                                                 
        at org.apache.falcon.workflow.engine.OozieWorkflowEngine.dryRunInternal(OozieWorkflowEngine.java:234)                                                           
        at org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:172)                                                                 
        at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:94)                                       
        ... 59 more                                                                                                                                                     
Caused by: E0803 : E0803: IO error, Unable to evaluate :${now(0,0)}:                                                                                                    
        at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:612)                                                                                        
        at org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:695)                                                                                     
        at org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:665)                                                                                     
        at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:560)                                                                                
        at org.apache.oozie.client.OozieClient.dryrun(OozieClient.java:829)                                                                                             
        at org.apache.oozie.client.ProxyOozieClient.access$401(ProxyOozieClient.java:48)                                                                                
        at org.apache.oozie.client.ProxyOozieClient$4.call(ProxyOozieClient.java:177)                                                                                   
        at org.apache.oozie.client.ProxyOozieClient$4.call(ProxyOozieClient.java:174)                                                                                   
        at org.apache.oozie.client.OozieClient.doAs(OozieClient.java:244)                                                                                               
        at org.apache.oozie.client.ProxyOozieClient.dryrun(ProxyOozieClient.java:174)                                                                                    

at org.apache.falcon.workflow.engine.OozieWorkflowEngine.dryRunInternal(OozieWorkflowEngine.java:232)

avatar
Master Mentor