You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Suhas Vasu (JIRA)" <ji...@apache.org> on 2015/05/21 11:40:02 UTC

[jira] [Updated] (FALCON-1228) testSubscriber test of JMSMessageConsumerTest fails at a particular scenario

     [ 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.patch

Uploading patch based on the above mentioned approach

> 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.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)