[ https://issues.apache.org/jira/browse/HDFS-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16579092#comment-16579092 ]
Hudson commented on HDFS-13738: ------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14763 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14763/]) HDFS-13738. fsck -list-corruptfileblocks has infinite loop if user is (weichiu: rev 4023eeba05aefe48384e870da3c95bb3af474514) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsck.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java > fsck -list-corruptfileblocks has infinite loop if user is not privileged. > ------------------------------------------------------------------------- > > Key: HDFS-13738 > URL: https://issues.apache.org/jira/browse/HDFS-13738 > Project: Hadoop HDFS > Issue Type: Bug > Components: tools > Affects Versions: 2.6.0, 3.0.0 > Environment: Kerberized Hadoop cluster > Reporter: Wei-Chiu Chuang > Assignee: Yuen-Kuei Hsueh > Priority: Major > Fix For: 3.2.0, 3.0.4, 3.1.2 > > Attachments: HDFS-13738.001.patch, HDFS-13738.002.patch, > HDFS-13738.003.patch, HDFS-13738.test.patch > > > Found an interesting bug. > Execute following command as any non-privileged user: > {noformat} > # run fsck > $ hdfs fsck / -list-corruptfileblocks > {noformat} > {noformat} > FSCK ended at Mon Jul 16 15:14:03 PDT 2018 in 1 milliseconds > Access denied for user systest. Superuser privilege is required > Fsck on path '/' FAILED > FSCK ended at Mon Jul 16 15:14:03 PDT 2018 in 0 milliseconds > Access denied for user systest. Superuser privilege is required > Fsck on path '/' FAILED > FSCK ended at Mon Jul 16 15:14:03 PDT 2018 in 1 milliseconds > Access denied for user systest. Superuser privilege is required > Fsck on path '/' FAILED > {noformat} > Reproducible on Hadoop 3.0.0 as well as 2.6.0 -- 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