[jira] [Updated] (HADOOP-17087) Add EC flag to stat commands
[ https://issues.apache.org/jira/browse/HADOOP-17087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ayush Saxena updated HADOOP-17087: -- Resolution: Not A Problem Status: Resolved (was: Patch Available) Thanx [~wanghongbing] for the agreement. Resolving this. > Add EC flag to stat commands > > > Key: HADOOP-17087 > URL: https://issues.apache.org/jira/browse/HADOOP-17087 > Project: Hadoop Common > Issue Type: Improvement > Components: common >Reporter: Hongbing Wang >Priority: Major > Attachments: HADOOP-17087.001.patch > > > We currently do not have a brief way to judge an ec file. {{hdfs fsck}} can > do but shows too much information. Neither {{du}} nor {{ls}} can accurately > judge the ec file. > So I added ec flag to stat cli. > old result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > regular file > $ hadoop fs -stat "%F" /user/rep/rep.txt > regular file > {code} > new result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > erasure coding file > $ hadoop fs -stat "%F" /user/rep/rep.txt > replica file > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-17087) Add EC flag to stat commands
[ https://issues.apache.org/jira/browse/HADOOP-17087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ayush Saxena updated HADOOP-17087: -- Status: Patch Available (was: Open) > Add EC flag to stat commands > > > Key: HADOOP-17087 > URL: https://issues.apache.org/jira/browse/HADOOP-17087 > Project: Hadoop Common > Issue Type: Improvement > Components: common >Reporter: Hongbing Wang >Priority: Major > Attachments: HADOOP-17087.001.patch > > > We currently do not have a brief way to judge an ec file. {{hdfs fsck}} can > do but shows too much information. Neither {{du}} nor {{ls}} can accurately > judge the ec file. > So I added ec flag to stat cli. > old result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > regular file > $ hadoop fs -stat "%F" /user/rep/rep.txt > regular file > {code} > new result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > erasure coding file > $ hadoop fs -stat "%F" /user/rep/rep.txt > replica file > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-17087) Add EC flag to stat commands
[ https://issues.apache.org/jira/browse/HADOOP-17087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongbing Wang updated HADOOP-17087: --- Attachment: HADOOP-17087.001.patch > Add EC flag to stat commands > > > Key: HADOOP-17087 > URL: https://issues.apache.org/jira/browse/HADOOP-17087 > Project: Hadoop Common > Issue Type: Improvement > Components: common >Reporter: Hongbing Wang >Priority: Major > Attachments: HADOOP-17087.001.patch > > > We currently do not have a brief way to judge an ec file. {{hdfs fsck}} can > do but shows too much information. Neither {{du}} nor {{ls}} can accurately > judge the ec file. > So I added ec flag to stat cli. > old result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > regular file > $ hadoop fs -stat "%F" /user/rep/rep.txt > regular file > {code} > new result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > erasure coding file > $ hadoop fs -stat "%F" /user/rep/rep.txt > replica file > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-17087) Add EC flag to stat commands
[ https://issues.apache.org/jira/browse/HADOOP-17087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongbing Wang updated HADOOP-17087: --- Description: We currently do not have a brief way to judge an ec file. {{hdfs fsck}} can do but shows too much information. Neither {{du}} nor {{ls}} can accurately judge the ec file. So I added ec flag to stat cli. old result: {code:java} $ hadoop fs -stat "%F" /user/ec/ec.txt regular file $ hadoop fs -stat "%F" /user/rep/rep.txt regular file {code} new result: {code:java} $ hadoop fs -stat "%F" /user/ec/ec.txt erasure coding file $ hadoop fs -stat "%F" /user/rep/rep.txt replica file {code} was: We currently do not have a brief way to judge an ec file. {{hdfs fsck}} can do but shows too much information. Neither {{du}} nor {{ls}} can accurately judge the ec file. So I added ec flag to stat cli. old result: {code:java} $ hadoop fs -stat "%F" /user/ec/ec.txt regular file $ hadoop fs -stat "%F" /user/rep/rep.txt regular file {code} new result: {code:java} $ hadoop fs -stat "%F" /user/ec/ec.txt erasure coding file $ hadoop fs -stat "%F" /user/rep/rep.txt replica file {code} > Add EC flag to stat commands > > > Key: HADOOP-17087 > URL: https://issues.apache.org/jira/browse/HADOOP-17087 > Project: Hadoop Common > Issue Type: Improvement > Components: common >Reporter: Hongbing Wang >Priority: Major > > We currently do not have a brief way to judge an ec file. {{hdfs fsck}} can > do but shows too much information. Neither {{du}} nor {{ls}} can accurately > judge the ec file. > So I added ec flag to stat cli. > old result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > regular file > $ hadoop fs -stat "%F" /user/rep/rep.txt > regular file > {code} > new result: > {code:java} > $ hadoop fs -stat "%F" /user/ec/ec.txt > erasure coding file > $ hadoop fs -stat "%F" /user/rep/rep.txt > replica file > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org