falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suhas Vasu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1228) testSubscriber test of JMSMessageConsumerTest fails at a particular scenario
Date Thu, 21 May 2015 12:01:59 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suhas Vasu updated FALCON-1228:
-------------------------------
    Attachment: FALCON-1228-v2.patch

[~pallavi.rao], i did a quick check and the serialization is not required, the build is also
fine.
have removed them and uploaded a new patch

> testSubscriber test of JMSMessageConsumerTest fails at a particular scenario
> ----------------------------------------------------------------------------
>
>                 Key: FALCON-1228
>                 URL: https://issues.apache.org/jira/browse/FALCON-1228
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Suhas Vasu
>            Assignee: Suhas Vasu
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: FALCON-1228-v2.patch, FALCON-1228.patch
>
>
> the test {{testSubscriber}} fails with the following exception:
> {noformat}
> Running org.apache.falcon.messaging.JMSMessageConsumerTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.323 sec <<<
FAILURE! - in org.apache.falcon.messaging.JMSMessageConsumerTest
> testSubscriber(org.apache.falcon.messaging.JMSMessageConsumerTest)  Time elapsed: 1.031
sec  <<< FAILURE!
> java.lang.AssertionError: This should not have thrown an exception.
> 	at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:440)
> 	at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:426)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:887)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:784)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:773)
> 	at org.apache.falcon.workflow.WorkflowExecutionContext.serialize(WorkflowExecutionContext.java:305)
> 	at org.apache.falcon.messaging.JMSMessageConsumerTest.sendMessages(JMSMessageConsumerTest.java:79)
> 	at org.apache.falcon.messaging.JMSMessageConsumerTest.testSubscriber(JMSMessageConsumerTest.java:143)
> {noformat}
> Upon debugging, the problem was, I had a directory named {{log}} in /tmp/ and this particular
test wants to write to a file at {{/tmp/log}}, as a result of which it threw this exception.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message