hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6264) Provide FileSystem#create() variant which throws exception if parent directory doesn't exist
Date Fri, 25 Sep 2015 18:45:04 GMT

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

Hadoop QA commented on HDFS-6264:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | patch |   0m  0s | The patch file was not named according to hadoop's
naming conventions. Please see https://wiki.apache.org/hadoop/HowToContribute for instructions.
|
| {color:blue}0{color} | pre-patch |  22m 26s | Pre-patch trunk compilation is healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags.
|
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to include 3 new
or modified test files. |
| {color:green}+1{color} | javac |   7m 57s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc |  10m  4s | There were no new javadoc warning messages.
|
| {color:green}+1{color} | release audit |   0m 25s | The applied patch does not increase
the total number of release audit warnings. |
| {color:red}-1{color} | checkstyle |   2m 54s | The applied patch generated  1 new checkstyle
issues (total was 229, now 229). |
| {color:red}-1{color} | checkstyle |   3m 36s | The applied patch generated  1 new checkstyle
issues (total was 46, now 46). |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that end in whitespace.
|
| {color:green}+1{color} | install |   1m 28s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 34s | The patch built with eclipse:eclipse.
|
| {color:green}+1{color} | findbugs |   7m  4s | The patch does not introduce any new Findbugs
(version 3.0.0) warnings. |
| {color:green}+1{color} | common tests |  23m  3s | Tests passed in hadoop-common. |
| {color:green}+1{color} | tools/hadoop tests |   1m 11s | Tests passed in hadoop-azure. |
| {color:green}+1{color} | hdfs tests | 166m 34s | Tests passed in hadoop-hdfs. |
| {color:green}+1{color} | hdfs tests |   0m 36s | Tests passed in hadoop-hdfs-client. |
| | | 245m 57s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12762389/hdfs-6264-v2.txt |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 83e65c5 |
| checkstyle |  https://builds.apache.org/job/PreCommit-HDFS-Build/12678/artifact/patchprocess/diffcheckstylehadoop-common.txt
https://builds.apache.org/job/PreCommit-HDFS-Build/12678/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt
|
| hadoop-common test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12678/artifact/patchprocess/testrun_hadoop-common.txt
|
| hadoop-azure test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12678/artifact/patchprocess/testrun_hadoop-azure.txt
|
| hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12678/artifact/patchprocess/testrun_hadoop-hdfs.txt
|
| hadoop-hdfs-client test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12678/artifact/patchprocess/testrun_hadoop-hdfs-client.txt
|
| Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/12678/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep
3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/12678/console |


This message was automatically generated.

> Provide FileSystem#create() variant which throws exception if parent directory doesn't
exist
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6264
>                 URL: https://issues.apache.org/jira/browse/HDFS-6264
>             Project: Hadoop HDFS
>          Issue Type: Task
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>              Labels: hbase
>         Attachments: hdfs-6264-v1.txt, hdfs-6264-v2.txt
>
>
> FileSystem#createNonRecursive() is deprecated.
> However, there is no DistributedFileSystem#create() implementation which throws exception
if parent directory doesn't exist.
> This limits clients' migration away from the deprecated method.
> For HBase, IO fencing relies on the behavior of FileSystem#createNonRecursive().
> Variant of create() method should be added which throws exception if parent directory
doesn't exist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message