cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3734) Support native link w/o JNA in Java7
Date Tue, 05 Mar 2013 14:11:17 GMT

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

Jason Brown commented on CASSANDRA-3734:
----------------------------------------

Also, I couldn't find anywhere in the code base where we use temp directories (we do use temp
file, of course). However, the FileUtils.createTemporaryDirectory() seems small/inocuous/helpful
enough to keep it in. 
                
> Support native link w/o JNA in Java7
> ------------------------------------
>
>                 Key: CASSANDRA-3734
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3734
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Peter Schuller
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: 3734-v2.diff, 3734-v3.patch, CASSANDRA-3734-trunk-v1.txt
>
>
> Java7 provides native support for hard links: http://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#createLink(java.nio.file.Path,
java.nio.file.Path)
> We should prefer this method when Java7 is the host.

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

Mime
View raw message