You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "Andreas Neumann (JIRA)" <ji...@apache.org> on 2014/01/25 23:55:37 UTC

[jira] [Commented] (TWILL-27) Upgrade to Kafka-0.8

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

Andreas Neumann commented on TWILL-27:
--------------------------------------

-1. 

Applied the patch and ran the build, failed with:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.twill.yarn.TwillSpecificationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running org.apache.twill.yarn.YarnTestSuite
2014-01-25 14:42:15.772 java[37636:1003] Unable to load realm info from SCDynamicStore
Tests run: 9, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 441.481 sec <<< FAILURE!
testResourceReportWithFailingContainers(org.apache.twill.yarn.ResourceReportTestRun)  Time elapsed: 40.686 sec  <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.twill.yarn.ResourceReportTestRun.testResourceReportWithFailingContainers(ResourceReportTestRun.java:183)

testFailureRestart(org.apache.twill.yarn.FailureRestartTestRun)  Time elapsed: 41.035 sec  <<< ERROR!
java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431)
	at java.net.Socket.connect(Socket.java:527)
	at java.net.Socket.connect(Socket.java:476)
	at java.net.Socket.<init>(Socket.java:373)
	at java.net.Socket.<init>(Socket.java:216)
	at org.apache.twill.yarn.FailureRestartTestRun.getInstances(FailureRestartTestRun.java:87)
	at org.apache.twill.yarn.FailureRestartTestRun.testFailureRestart(FailureRestartTestRun.java:78)

Not sure how the failure is related to Kafka...

> Upgrade to Kafka-0.8
> --------------------
>
>                 Key: TWILL-27
>                 URL: https://issues.apache.org/jira/browse/TWILL-27
>             Project: Apache Twill
>          Issue Type: Sub-task
>            Reporter: Terence Yim
>            Assignee: Terence Yim
>         Attachments: TWILL-27-1.patch
>
>   Original Estimate: 48h
>          Time Spent: 4h
>  Remaining Estimate: 1h
>
> Twill currently uses Kafka-0.7 which is not available in public maven repo, hence need to package with the binary, which would hinder the Twill release.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)