giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Martella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-743) DiskBackedPartitionStore needs file existence checks around file deletion and directory creation
Date Thu, 09 Jan 2014 16:02:51 GMT

     [ https://issues.apache.org/jira/browse/GIRAPH-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claudio Martella updated GIRAPH-743:
------------------------------------

    Labels: ooc  (was: occ)

> DiskBackedPartitionStore needs file existence checks around file deletion and directory
creation
> ------------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-743
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-743
>             Project: Giraph
>          Issue Type: Bug
>          Components: graph
>    Affects Versions: 1.1.0
>            Reporter: Craig Muchinsky
>            Priority: Minor
>              Labels: ooc
>             Fix For: 1.1.0
>
>         Attachments: GIRAPH-743.patch
>
>
> The changes made to DiskBackedPartitionStore with GIRAPH-736 introduced return code checks
on File.delete() and File.mkdirs() calls, and if they are unsuccessful it is logged as an
ERROR. This really only makes sense if the file already exists or the directory doesn't exist
respectively. In addition to these checks, the ERROR messages that are logged should use the
absolute file path instead of the relative path.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message