falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suhas Vasu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-824) Unable to submit feed in falcon build from trunk
Date Thu, 13 Nov 2014 11:59:34 GMT

    [ https://issues.apache.org/jira/browse/FALCON-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209659#comment-14209659
] 

Suhas Vasu commented on FALCON-824:
-----------------------------------

falcon startup fails with 
{noformat}
2014-11-13 17:22:42,713 WARN  - [main:] ~ failed authorization: java.lang.NoClassDefFoundError:
org/codehaus/jettison/json/JSONException (log:76)
2014-11-13 17:22:42,713 WARN  - [main:] ~ failed org.mortbay.jetty.webapp.WebAppContext@e13b2fb{/,/Users/suhas.v/Installations/falcon-0.6-incubating-SNAPSHOT/server/webapp/falcon}:
java.lang.NoClassDefFoundError: org/codehaus/jettison/json/JSONException (log:76)
2014-11-13 17:22:42,714 ERROR - [main:] ~ Error starting handlers (log:87)
java.lang.NoClassDefFoundError: org/codehaus/jettison/json/JSONException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
        at java.lang.Class.getConstructor0(Class.java:2885)
        at java.lang.Class.newInstance(Class.java:350)
        at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
        at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:92)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.apache.falcon.util.EmbeddedServer.start(EmbeddedServer.java:57)
        at org.apache.falcon.Main.main(Main.java:83)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jettison.json.JSONException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
        ... 18 more
{noformat}

> Unable to submit feed in falcon build from trunk
> ------------------------------------------------
>
>                 Key: FALCON-824
>                 URL: https://issues.apache.org/jira/browse/FALCON-824
>             Project: Falcon
>          Issue Type: Bug
>          Components: feed
>    Affects Versions: 0.6
>            Reporter: Suhas Vasu
>            Assignee: Shwetha G S
>            Priority: Critical
>             Fix For: 0.6
>
>         Attachments: FALCON-824.patch
>
>
> Feed submission is failing in falcon with the latest build from trunk.
> Its failing with error - 
> {noformat}
> java.lang.NoSuchMethodError: org.apache.hadoop.fs.permission.FsPermission.getDirDefault()Lorg/apache/hadoop/fs/permission/FsPermission;
>         at org.apache.falcon.hadoop.HadoopClientFactory.getDirDefaultPermission(HadoopClientFactory.java:218)
>         at org.apache.falcon.hadoop.HadoopClientFactory.mkdirsWithDefaultPerms(HadoopClientFactory.java:226)
>         at org.apache.falcon.workflow.engine.OozieWorkflowEngine.prepareEntityBuildPath(OozieWorkflowEngine.java:179)
>         at org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:152)
>         at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:76)
>         at org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:63)
>         at org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:116)
>         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$7.doExecute(SchedulableEntityManagerProxy.java:321)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:447)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody10(SchedulableEntityManagerProxy.java:323)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure11.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:307)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody14(SchedulableEntityManagerProxy.java:339)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure15.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.submitAndSchedule_aroundBody16(SchedulableEntityManagerProxy.java:339)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure17.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.submitAndSchedule(SchedulableEntityManagerProxy.java:332)
>         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)
> {noformat}
> I am using hadoop version - Hadoop 2.0.0-mr1-cdh4.6.0
> Am I missing something ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message