[
https://issues.apache.org/jira/browse/HADOOP-10170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850190#comment-13850190
]
Hadoop Developer commented on HADOOP-10170:
-------------------------------------------
I have fixed it locally by
Adding dependency in "hadoop-common-project/hadoop-auth/pom.xml"
Added
<dependency>
<groupid>org.mortbay.jetty</groupid>
<artifactid>jetty-util</artifactid>
<scope>test</scope>
</dependency>
> Unable to compile source code from stable 2.2.0 release.
> --------------------------------------------------------
>
> Key: HADOOP-10170
> URL: https://issues.apache.org/jira/browse/HADOOP-10170
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 2.2.0
> Environment: Windows 7 (64bit), Maven 3.1.1 JDK1.7.0_45
> Reporter: Hadoop Developer
>
> I have downloaded src ((hadoop-2.2.0-src.tar.gz )) from
> http://www.carfab.com/apachesoftware/hadoop/common/stable/
> While maven build I am getting following error
> ERROR]
> C:\hdfs\hadoop-common-project\hadoop-auth\src\test\java\org\apache\hadoop\security\authentication\client\AuthenticatorTestCase.java:
> [88,11] error: cannot access AbstractLifeCycle
> [ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
> [ERROR]
> C:\hdfs\hadoop-common-project\hadoop-auth\src\test\java\org\apache\hadoop\security\authentication\client\AuthenticatorTestCase.java:
> [96,29] error: cannot access LifeCycle
> [ERROR] class file for org.mortbay.component.LifeCycle not found
> [ERROR]
> C:\hdfs\hadoop-common-project\hadoop-auth\src\test\java\org\apache\hadoop\security\authentication\client\AuthenticatorTestCase.java
> Unable to compile source code from stable 2.2.0 release ( There is a Jira
> Hadoop-10117 which says it's fixed but couldn't get the stable version )
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)