You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/24 06:50:00 UTC

[jira] [Commented] (SLIDER-1241) ApplicationWithAddonPackagesIT tests fail in WASB due to HDFS mkdirs API not adhering to "mkdir -p" semantics

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

ASF subversion and git services commented on SLIDER-1241:
---------------------------------------------------------

Commit 6ecd0b0a40161694366152881189163902c1d4bb in incubator-slider's branch refs/heads/develop from [~gsaha]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=6ecd0b0 ]

SLIDER-1241 ApplicationWithAddonPackagesIT tests fail in WASB due to HDFS mkdirs API not adhering to "mkdir -p" semantics


> ApplicationWithAddonPackagesIT tests fail in WASB due to HDFS mkdirs API not adhering to "mkdir -p" semantics
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SLIDER-1241
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1241
>             Project: Slider
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Slider 0.92
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>             Fix For: Slider 1.0.0
>
>
> ApplicationWithAddonPackagesIT tests try to create /tmp/test_slider.txt, but ensures the parent dir exists by calling mkdirs API. In cases when /tmp exists the tests fail. The HDFS mkdirs API says that it adheres to "mkdir -p" semantics and that the "Existence of the directory hierarchy is not an error" - https://hadoop.apache.org/docs/stable/api/org/apache/hadoop/fs/FileSystem.html#mkdirs-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.permission.FsPermission- 
> Seems like WASB does not conform to this API definition.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)