Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3384A10711 for ; Thu, 12 Feb 2015 10:47:12 +0000 (UTC) Received: (qmail 56350 invoked by uid 500); 12 Feb 2015 10:47:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56308 invoked by uid 500); 12 Feb 2015 10:47:12 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 56296 invoked by uid 99); 12 Feb 2015 10:47:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2015 10:47:12 +0000 Date: Thu, 12 Feb 2015 10:47:11 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8308) Windows: Commitlog access violations on unit tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317986#comment-14317986 ] Robert Stupp commented on CASSANDRA-8308: ----------------------------------------- Forgot one: also added a new {{MmapFileTest}} that basically ensures that mmap works the way it is used in CL including querying the appropriate JMX bean. > Windows: Commitlog access violations on unit tests > -------------------------------------------------- > > Key: CASSANDRA-8308 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8308 > Project: Cassandra > Issue Type: Bug > Reporter: Joshua McKenzie > Assignee: Joshua McKenzie > Priority: Minor > Labels: Windows > Fix For: 3.0 > > Attachments: 8308-post-fix-3.txt, 8308-post-fix.txt, 8308_v1.txt, 8308_v2.txt, 8308_v3.txt > > > We have four unit tests failing on trunk on Windows, all with FileSystemException's related to the SchemaLoader: > {noformat} > [junit] Test org.apache.cassandra.db.compaction.DateTieredCompactionStrategyTest FAILED > [junit] Test org.apache.cassandra.cql3.ThriftCompatibilityTest FAILED > [junit] Test org.apache.cassandra.io.sstable.SSTableRewriterTest FAILED > [junit] Test org.apache.cassandra.repair.LocalSyncTaskTest FAILED > {noformat} > Example error: > {noformat} > [junit] Caused by: java.nio.file.FileSystemException: build\test\cassandra\commitlog;0\CommitLog-5-1415908745965.log: The process cannot access the file because it is being used by another process. > [junit] > [junit] at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) > [junit] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) > [junit] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) > [junit] at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) > [junit] at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) > [junit] at java.nio.file.Files.delete(Files.java:1079) > [junit] at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:125) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)