[
https://issues.apache.org/jira/browse/FALCON-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554015#comment-14554015
]
Pallavi Rao commented on FALCON-1228:
-------------------------------------
[~suhas.ysr], how is serializing the WorkflowExecutionContext to a file even
relevant to this test? The test is testing whether messages generated during
post processing are consumed by a JMS consumer. The consumer is using the
key-value pairs in the message. Don't see any validations done against the
serialized context and the test runs even without the serialization. If the
serialization is not relevant, we might as well remove it.
> 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)