falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-382) Error While building Latest trunk code with Hadoop 2.2.0
Date Thu, 27 Mar 2014 12:55:16 GMT

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

Sunil Kumar commented on FALCON-382:
------------------------------------

Hi Shwetha,
While running falcon with Hadoop 2.2.0 following error is comming:
java.lang.RuntimeException: org.apache.falcon.FalconException: java.lang.NoClassDefFoundError:
org/apache/hadoop/conf/Configuration
	at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:58)
	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
	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:45)
	at org.apache.falcon.Main.main(Main.java:90)
Caused by: org.apache.falcon.FalconException: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
	at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:49)
	at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:55)
	... 11 more
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
	at org.apache.falcon.security.AuthenticationInitializationService.init(AuthenticationInitializationService.java:70)
	at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:46)
	... 12 more
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401)
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
	... 14 more
2014-03-27 18:20:38,668 INFO  - [main:] ~ Started SocketConnector@0.0.0.0:15000 (log:67)
any thought on this...

> Error While building Latest trunk code with Hadoop 2.2.0
> --------------------------------------------------------
>
>                 Key: FALCON-382
>                 URL: https://issues.apache.org/jira/browse/FALCON-382
>             Project: Falcon
>          Issue Type: Bug
>          Components: build-tools, oozie
>    Affects Versions: 0.5
>         Environment: Centos 6.3 and Hadoop 2.2.0
>            Reporter: Sunil Kumar
>            Priority: Blocker
>
> Hi, 
> Today pulled latest code from the git and trying to build with hadoop 2.2.0.  Following
are the details:
> Maven Command: mvn clean install -Phadoop-2 -Doozie.version=4.0.0 -DskipTests
> Error on Console:
> ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (BUILD-OOZIE)
on project build-tools: Command execution failed. Process exited with an error: 1 (Exit value:
1) -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
(BUILD-OOZIE) on project build-tools: Command execution failed.
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>         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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
>         at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>         ... 19 more
> Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1)
>         at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
>         at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
>         at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
>         at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
>         ... 21 more
> [ERROR]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message