You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thomas Weise (JIRA)" <ji...@apache.org> on 2011/09/22 18:47:26 UTC

[jira] [Created] (PIG-2299) jetty startup issue causes unit tests to fail in CI

jetty startup issue causes unit tests to fail in CI
---------------------------------------------------

                 Key: PIG-2299
                 URL: https://issues.apache.org/jira/browse/PIG-2299
             Project: Pig
          Issue Type: Bug
          Components: build
    Affects Versions: 0.9.1
         Environment: RHEL CI server
            Reporter: Thomas Weise


We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).

The cause is a bug in jetty version used by pig, example below and more here:

https://issues.apache.org/jira/browse/HADOOP-6386
https://issues.apache.org/jira/browse/HADOOP-6428
https://issues.apache.org/jira/browse/HADOOP-6528
http://jira.codehaus.org/browse/JETTY-748


The issue is resolved by using jetty 6.1.21 instead of 6.1.14


java.lang.ExceptionInInitializerError
	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Caused by: java.lang.IllegalArgumentException: port out of range:-1
	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Olga Natkovich (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114949#comment-13114949 ] 

Olga Natkovich commented on PIG-2299:
-------------------------------------

+1 for checking the patch in for the reasons described by Daniel
                
> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.1
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112777#comment-13112777 ] 

Daniel Dai commented on PIG-2299:
---------------------------------

Newer version(eg:20.204) hadoop fixed this problem. However, since Pig bundles hadoop 20.2, the fix does not goes to Pig. The issue only affects tests. When running on cluster, Pig does not use and will not send jetty to backend.

> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.1
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Daniel Dai (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai resolved PIG-2299.
-----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Patch committed to trunk and 0.9 branch.
                
> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.0
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>             Fix For: 0.9.1
>
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112805#comment-13112805 ] 

Daniel Dai commented on PIG-2299:
---------------------------------

Though fix hadoop issue on Pig side doesn't sounds right, but I still think it is better to check in this, reasons are:
1. This block RE folks
2. This change only affects unit test, and all unit tests pass with the patch
3. We don't have plan to upgrade the bundled hadoop version (at least 0.9.1)

Any objection?

> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.1
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Thomas Weise (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Weise updated PIG-2299:
------------------------------

    Attachment: PIG-2299_jetty-6.1.26.patch

> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.1
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Olga Natkovich (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-2299:
--------------------------------

    Affects Version/s:     (was: 0.9.1)
                       0.8.0
        Fix Version/s: 0.9.1
    
> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.0
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>             Fix For: 0.9.1
>
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Thomas Weise (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112759#comment-13112759 ] 

Thomas Weise commented on PIG-2299:
-----------------------------------

To confirm, ant test passes in devel and CI environment with the patch above.


> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.1
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>         Attachments: PIG-2299_jetty-6.1.26.patch
>
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2299) jetty 6.1.14 startup issue causes unit tests to fail in CI

Posted by "Thomas Weise (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Weise updated PIG-2299:
------------------------------

    Summary: jetty 6.1.14 startup issue causes unit tests to fail in CI  (was: jetty startup issue causes unit tests to fail in CI)

> jetty 6.1.14 startup issue causes unit tests to fail in CI
> ----------------------------------------------------------
>
>                 Key: PIG-2299
>                 URL: https://issues.apache.org/jira/browse/PIG-2299
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.1
>         Environment: RHEL CI server
>            Reporter: Thomas Weise
>
> We have observed random unit test failures in our pig CI. Same tests working just fine when run on developer machine).
> The cause is a bug in jetty version used by pig, example below and more here:
> https://issues.apache.org/jira/browse/HADOOP-6386
> https://issues.apache.org/jira/browse/HADOOP-6428
> https://issues.apache.org/jira/browse/HADOOP-6528
> http://jira.codehaus.org/browse/JETTY-748
> The issue is resolved by using jetty 6.1.21 instead of 6.1.14
> java.lang.ExceptionInInitializerError
> 	at org.apache.pig.test.TestAlgebraicInstantiation.&lt;init&gt;(TestAlgebraicInstantiation.java:41)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Caused by: java.lang.IllegalArgumentException: port out of range:-1
> 	at java.net.InetSocketAddress.&lt;init&gt;(InetSocketAddress.java:118)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:250)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:202)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.&lt;init&gt;(NameNode.java:279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:956)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:275)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:119)
> 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:49)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;init&gt;(MiniGenericCluster.java:49)
> 	at org.apache.pig.test.MiniCluster.&lt;init&gt;(MiniCluster.java:31)
> 	at org.apache.pig.test.MiniGenericCluster.&lt;clinit&gt;(MiniGenericCluster.java:45)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira