[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-13 Thread Xiao Chen (JIRA)


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

Xiao Chen commented on HDFS-13786:
--

Cherry-picked this to branch-3.1 and branch-3.0. Thanks for the work here!

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Assignee: Ayush Saxena
>Priority: Major
> Fix For: 3.2.0
>
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png, 
> HDFS-13786-01.patch
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Vinayakumar B (JIRA)


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

Vinayakumar B commented on HDFS-13786:
--

BTW, Test failure TestDFSStripedOutputStreamWithFailureWithRandomECPolicy was 
intermittent. Passed locally.
Other failures are not related to this change.

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Assignee: Ayush Saxena
>Priority: Major
> Fix For: 3.2.0
>
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png, 
> HDFS-13786-01.patch
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Hudson (JIRA)


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

Hudson commented on HDFS-13786:
---

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14721 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14721/])
HDFS-13786. EC: Display erasure coding policy for sub-directories is not 
(vinayakumarb: rev 2b0f9772417d205e8df16bac6921c2bb8bdcf740)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ContentSummaryComputationContext.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingPolicies.java


> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Assignee: Ayush Saxena
>Priority: Major
> Fix For: 3.2.0
>
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png, 
> HDFS-13786-01.patch
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Vinayakumar B (JIRA)


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

Vinayakumar B commented on HDFS-13786:
--

+1, 
Committed to trunk.
Thanks [~ayushtkn] for the contribution. Welcome to Hadoop Community.
Thanks [~knanasi] and [~brahmareddy] for the help.
Thanks [~SouryakantaDwivedy] for reporting the issue.

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Assignee: Ayush Saxena
>Priority: Major
> Fix For: 3.2.0
>
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png, 
> HDFS-13786-01.patch
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Kitti Nanasi (JIRA)


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

Kitti Nanasi commented on HDFS-13786:
-

Thanks for the contribution [~ayushtkn]! Patch looks good to me.

+1 (non-binding)

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Assignee: Ayush Saxena
>Priority: Major
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png, 
> HDFS-13786-01.patch
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread genericqa (JIRA)


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

genericqa commented on HDFS-13786:
--

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
35s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m 
 0s{color} | {color:green} The patch appears to include 1 new or modified test 
files. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 24m 
38s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
55s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
12s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m  
1s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
10m 36s{color} | {color:green} branch has no errors when building and testing 
our client artifacts. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  1m 
47s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
48s{color} | {color:green} trunk passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  0m 
57s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
47s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
47s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
 9s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
55s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
10m 46s{color} | {color:green} patch has no errors when building and testing 
our client artifacts. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  2m  
0s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
45s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 97m 56s{color} 
| {color:red} hadoop-hdfs in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
24s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}155m 36s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | hadoop.hdfs.web.TestWebHdfsTimeouts |
|   | hadoop.hdfs.TestDFSStripedOutputStreamWithFailureWithRandomECPolicy |
|   | hadoop.hdfs.server.namenode.TestFSImage |
|   | hadoop.hdfs.TestPread |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:ba1ab08 |
| JIRA Issue | HDFS-13786 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12934633/HDFS-13786-01.patch |
| Optional Tests |  asflicense  compile  javac  javadoc  mvninstall  mvnsite  
unit  shadedclient  findbugs  checkstyle  |
| uname | Linux a65a0823b68b 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 
08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/patchprocess/precommit/personality/provided.sh |
| git revision | trunk / 6ed8593 |
| maven | version: Apache Maven 3.3.9 |
| Default Java | 1.8.0_171 |
| findbugs | v3.1.0-RC1 |
| unit | 
https://builds.apache.org/job/PreCommit-HDFS-Build/24715/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/24715/testReport/ |
| Max. process+thread count | 4460 (vs. ulimit of 1) |
| modules | C: hadoop-hdfs-project/hadoop-hdfs U: 
hadoop-hdfs-project/hadoop-hdfs |
| Console output | 

[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Ayush Saxena (JIRA)


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

Ayush Saxena commented on HDFS-13786:
-

[~brahmareddy] thanks for adding me as contributor.

 

Uploaded the patch to fix this issue. Kindly review.

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Priority: Major
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png, 
> HDFS-13786-01.patch
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Brahma Reddy Battula (JIRA)


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

Brahma Reddy Battula commented on HDFS-13786:
-

bq.. can somebody add me as contributor so that i can upload the patch.

Thanks for interest. Added you as HDFS contributor,from now on wards you can 
assign issues yourself.Welcome to hadoop.

Go through following for more details about contribution.

[https://wiki.apache.org/hadoop/HowToContribute]

bq.Yes, EC policy should be displayed for sub dir also.

yes

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Priority: Major
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13786) EC: Display erasure coding policy for sub-directories is not working

2018-08-07 Thread Ayush Saxena (JIRA)


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

Ayush Saxena commented on HDFS-13786:
-

[~SouryakantaDwivedy] thanks for reporting this issue.

 bq.It should display erasure coding policy for sub-directories also with 
command "hadoop fs -ls -e "

Yes, EC policy should be displayed for sub dir also.

I have fix, would like to upload the patch.. can somebody add me as contributor 
so that i can upload the patch.

> EC: Display erasure coding policy for sub-directories is not working
> 
>
> Key: HDFS-13786
> URL: https://issues.apache.org/jira/browse/HDFS-13786
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: erasure-coding
>Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
>Reporter: Souryakanta Dwivedy
>Priority: Major
> Attachments: Display_EC_Policy_Missing_Sub_Dir.png
>
>
> EC: Display erasure coding policy for sub-directories is not working
> - Create a Directory 
>  - Set EC policy for the Directory
>  - Create a file in-side that Directory 
>  - Create a sub-directory inside the parent directory
>  - Check the EC policy set for the files and sub-folders of the parent 
> directory with command 
>  "hadoop fs -ls -e /ecdir" 
>  EC policy will be displayed only for files and missing for 
> sub-directories,which is wrong behavior
>  - But if you check the EC policy set of sub-directory with "hdfs ec 
> -getPolicy " ,it will show
>  the ec policy
>  
>  Actual ouput :-
>  
>  Display erasure coding policy for sub-directories is not working with 
> command "hadoop fs -ls -e "
> Expected output :-
> It should display erasure coding policy for sub-directories also with command 
> "hadoop fs -ls -e "



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org