Following below instructions listed at Test Suite section at https://fedoraproject.org/wiki/Changes/Hadoop#Test_suite
Test suite In order to attempt to run any part of the test suite, you must first build the components (F18,F19): 1. git clone git://github.com/fedora-bigdata/hadoop-common.git 2. cd hadoop-common 3. git checkout -b fedora-2.0.5-alpha-test origin/fedora-2.0.5-alpha-test 4. mvn-rpmbuild -Pdist,native -DskipTest -DskipTests -DskipIT install I get following errors (in red), any help in advance would be appreciated .
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,30] cannot find symbol symbol: method setHost(java.lang.String) location: interface org.eclipse.jetty.server.Connector [ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[99,30] cannot find symbol symbol: method setPort(int) location: interface org.eclipse.jetty.server.Connector [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Main ................................ SUCCESS [4.908s] [INFO] Apache Hadoop Project POM ......................... SUCCESS [2.963s] [INFO] Apache Hadoop Annotations ......................... SUCCESS [6.105s] [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.385s] [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.299s] [INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [6.384s] [INFO] Apache Hadoop Auth ................................ FAILURE [3.240s] [INFO] Apache Hadoop Auth Examples ....................... SKIPPED
Best Regards Amir Sanjar
PowerLinux Open Source Hadoop Architect IBM Senior Software Engineer Phone# 512-286-8393 Fax# 512-838-8858
Il 15/10/2013 03:39, Amir Sanjar ha scritto:
Following below instructions listed at Test Suite section at https://fedoraproject.org/wiki/Changes/Hadoop#Test_suite
*Test suite * In order to /attempt/ to run any part of the test suite, you must first build the components (F18,F19):
1. git clone _git://github.com/fedora-bigdata/hadoop-common.git_ 2. cd hadoop-common 3. git checkout -b fedora-2.0.5-alpha-test origin/fedora-2.0.5-alpha-test 4. mvn-rpmbuild -Pdist,native -DskipTest -DskipTests -DskipIT install
I get following errors (in red), any help in advance would be appreciated .
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,30] cannot find symbol symbol: method setHost(java.lang.String) location: interface org.eclipse.jetty.server.Connector [ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[99,30] cannot find symbol symbol: method setPort(int) location: interface org.eclipse.jetty.server.Connector [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO]
[INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Main ................................ SUCCESS [4.908s] [INFO] Apache Hadoop Project POM ......................... SUCCESS [2.963s] [INFO] Apache Hadoop Annotations ......................... SUCCESS [6.105s] [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.385s] [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.299s] [INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [6.384s] [INFO] Apache Hadoop Auth ................................ FAILURE [3.240s] [INFO] Apache Hadoop Auth Examples ....................... SKIPPED
Best Regards Amir Sanjar
PowerLinux Open Source Hadoop Architect IBM Senior Software Engineer Phone# 512-286-8393 Fax# 512-838-8858
bigdata mailing list bigdata@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/bigdata
hi which version of jetty you use? regards gil
On 10/15/2013 03:39 AM, Amir Sanjar wrote:
Following below instructions listed at Test Suite section at https://fedoraproject.org/wiki/Changes/Hadoop#Test_suite
Test suite In order to attempt to run any part of the test suite, you must first build the components (F18,F19):
- git clone git://github.com/fedora-bigdata/hadoop-common.git
- cd hadoop-common
- git checkout -b fedora-2.0.5-alpha-test origin/fedora-2.0.5-alpha-test
- mvn-rpmbuild -Pdist,native -DskipTest -DskipTests -DskipIT install
mvn-rpmbuild script is deprecated and retained (for now) only for compatibility with legacy packages. It should not be used.
I get following errors (in red), any help in advance would be appreciated .
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,30] cannot find symbol symbol: method setHost(java.lang.String) location: interface org.eclipse.jetty.server.Connector [ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[99,30] cannot find symbol symbol: method setPort(int) location: interface org.eclipse.jetty.server.Connector
Looks like missing dependency (less likely) or incompatible dependency version (more likely).
Generic algorithm in this case is:
Identify which dependencies differ For each different dependency do: If upstream dependency is newer then update Fedora package providing the dependency else set dependency version in POM to the version used in Fedora port project (i.e. resolve compilation problems and test failures) create patch against upstream version Build the package with created patches Forward patches upstream
thanks Mikolaj, you said mvn-rpmbuild has been deprecated, what is the replacement?
Best Regards Amir Sanjar
PowerLinux Open Source Hadoop Architect IBM Senior Software Engineer Phone# 512-286-8393 Fax# 512-838-8858
From: Mikolaj Izdebski mizdebsk@redhat.com To: bigdata@lists.fedoraproject.org Date: 10/15/2013 01:40 AM Subject: Re: build break help Sent by: bigdata-bounces@lists.fedoraproject.org
On 10/15/2013 03:39 AM, Amir Sanjar wrote:
Following below instructions listed at Test Suite section at https://fedoraproject.org/wiki/Changes/Hadoop#Test_suite
Test suite In order to attempt to run any part of the test suite, you must first
build
the components (F18,F19):
git clone
git://github.com/fedora-bigdata/hadoop-common.git
cd hadoop-common
origin/fedora-2.0.5-alpha-testgit checkout -b fedora-2.0.5-alpha-test
mvn-rpmbuild -Pdist,native -DskipTest -DskipTests
-DskipIT install
mvn-rpmbuild script is deprecated and retained (for now) only for compatibility with legacy packages. It should not be used.
I get following errors (in red), any help in advance would be
appreciated .
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,30]
cannot find symbol symbol: method setHost(java.lang.String) location: interface org.eclipse.jetty.server.Connector
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[99,30]
cannot find symbol symbol: method setPort(int) location: interface org.eclipse.jetty.server.Connector
Looks like missing dependency (less likely) or incompatible dependency version (more likely).
Generic algorithm in this case is:
Identify which dependencies differ For each different dependency do: If upstream dependency is newer then update Fedora package providing the dependency else set dependency version in POM to the version used in Fedora port project (i.e. resolve compilation problems and test failures) create patch against upstream version Build the package with created patches Forward patches upstream
-- Mikolaj Izdebski IRC: mizdebsk _______________________________________________ bigdata mailing list bigdata@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/bigdata
On 10/15/2013 02:33 PM, Amir Sanjar wrote:
thanks Mikolaj, you said mvn-rpmbuild has been deprecated, what is the replacement?
For building RPM packages you can use %mvn_build macro. Java packaging guidelines [1] describes how it should be used. There is also a simple migration guide [2].
If you just want to run Maven-like command line tool which would resolve artifacts from system repository (packaged as RPMs) then you can use XMvn [3,4]. Just run "xmvn" instead of "mvn".
[1] http://fedoraproject.org/wiki/Packaging:Java [2] http://mizdebsk.fedorapeople.org/xmvn/cookbook/ [3] http://mizdebsk.fedorapeople.org/xmvn/ [4] http://github.com/mizdebsk/xmvn
On 10/14/2013 09:39 PM, Amir Sanjar wrote:
Following below instructions listed at Test Suite section at https://fedoraproject.org/wiki/Changes/Hadoop#Test_suite
*Test suite * In order to /attempt/ to run any part of the test suite, you must first build the components (F18,F19):
1. git clone _git://github.com/fedora-bigdata/hadoop-common.git_ 2. cd hadoop-common 3. git checkout -b fedora-2.0.5-alpha-test origin/fedora-2.0.5-alpha-test
Sorry, Amir. We have a newer branch for test and integration. Try using git checkout -b fedora19-2.0.5-alpha-test origin/fedora19-2.0.5-alpha-test
I'll update the wiki page.
\Pete
4. mvn-rpmbuild -Pdist,native -DskipTest -DskipTests -DskipIT install
I get following errors (in red), any help in advance would be appreciated .
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,30] cannot find symbol symbol: method setHost(java.lang.String) location: interface org.eclipse.jetty.server.Connector [ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[99,30] cannot find symbol symbol: method setPort(int) location: interface org.eclipse.jetty.server.Connector [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO]
[INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Main ................................ SUCCESS [4.908s] [INFO] Apache Hadoop Project POM ......................... SUCCESS [2.963s] [INFO] Apache Hadoop Annotations ......................... SUCCESS [6.105s] [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.385s] [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.299s] [INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [6.384s] [INFO] Apache Hadoop Auth ................................ FAILURE [3.240s] [INFO] Apache Hadoop Auth Examples ....................... SKIPPED
Best Regards Amir Sanjar
PowerLinux Open Source Hadoop Architect IBM Senior Software Engineer Phone# 512-286-8393 Fax# 512-838-8858
bigdata mailing list bigdata@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/bigdata
bigdata@lists.fedoraproject.org