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

Aaron McCurry commented on BLUR-93:
-----------------------------------

I have created a fix for this issue.  I think the problem was that the 
tryToSync methods were using the wrong synchronizing object in the Transaction 
recorder.  I have pushed a fix, but I'm not going to close this until I have a 
chase to run this on a server and validate that issue is fixed.

https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=a51089570c14c43c6fe9f2bd5f452b5b71a7f841

                
> A bug was created in the transaction log reported on mail list
> --------------------------------------------------------------
>
>                 Key: BLUR-93
>                 URL: https://issues.apache.org/jira/browse/BLUR-93
>             Project: Apache Blur
>          Issue Type: Bug
>    Affects Versions: 0.1.5
>            Reporter: Aaron McCurry
>             Fix For: 0.1.5
>
>
> Getting the below error while creating a Table in blur. Any ideas?
> INFO  20130519_20:08:05:005_PDT [Commit Thread [words/shard-00000000]]
> writer.TransactionRecorder: Log roller took [52.565] for [IndexWriter with
> directory [HdfsDirectory
> path=[hdfs://localhost:9000/blur/tables/words/shard-00000000]]]
> INFO  20130519_20:08:08:008_PDT [thrift-processors5]
> server.ShardServerEventHandler: Method called
> INFO  20130519_20:08:08:008_PDT [thrift-processors0] thrift.TableAdmin:
> Opening - Shards Open [1], Shards Opening [0] of table [words]
> INFO  20130519_20:09:05:005_PDT [Commit Thread [words/shard-00000000]]
> writer.TransactionRecorder: Commit took [5.219] for [IndexWriter with
> directory [HdfsDirectory
> path=[hdfs://localhost:9000/blur/tables/words/shard-00000000]]]
> INFO  20130519_20:09:05:005_PDT [Commit Thread [words/shard-00000000]]
> writer.TransactionRecorder: Rolling WAL path
> [hdfs://localhost:9000/blur/tables/words/logs/shard-00000000]
> INFO  20130519_20:09:05:005_PDT [Commit Thread [words/shard-00000000]]
> writer.TransactionRecorder: Log roller took [7.706] for [IndexWriter with
> directory [HdfsDirectory
> path=[hdfs://localhost:9000/blur/tables/words/shard-00000000]]]
> INFO  20130519_20:10:05:005_PDT [Commit Thread [words/shard-00000000]]
> writer.TransactionRecorder: Commit took [5.394] for [IndexWriter with
> directory [HdfsDirectory
> path=[hdfs://localhost:9000/blur/tables/words/shard-00000000]]]
> INFO  20130519_20:10:05:005_PDT [Commit Thread [words/shard-00000000]]
> writer.TransactionRecorder: Rolling WAL path
> [hdfs://localhost:9000/blur/tables/words/logs/shard-00000000]
> ERROR 20130519_20:10:05:005_PDT [wal-sync-[words/shard-00000000]]
> writer.TransactionRecorder: Known error while trying to sync.
> java.io.IOException: DFSOutputStream is closed
> at
> org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.sync(DFSClient.java:3669)
> at org.apache.hadoop.fs.FSDataOutputStream.sync(FSDataOutputStream.java:97)
>  at
> org.apache.blur.manager.writer.TransactionRecorder.tryToSync(TransactionRecorder.java:301)
> at
> org.apache.blur.manager.writer.TransactionRecorder.tryToSync(TransactionRecorder.java:291)
>  at
> org.apache.blur.manager.writer.TransactionRecorder.run(TransactionRecorder.java:380)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to