Skip to content

HADOOP-16082. FsShell ls: Add option -i to print inode id #1271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

smengcl
Copy link
Contributor

@smengcl smengcl commented Aug 10, 2019

I put the helper function at CommandUtils#getValueFromFileStatusString since I'm not sure where to put it, though it seems nobody uses CommandUtils anymore. Please advice.

Change-Id: If67575b1769dc9628d6ed57ebb7fa3317c29e291
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 82 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 76 Maven dependency ordering for branch
+1 mvninstall 1222 trunk passed
+1 compile 1080 trunk passed
+1 checkstyle 160 trunk passed
+1 mvnsite 228 trunk passed
+1 shadedclient 1195 branch has no errors when building and testing our client artifacts.
+1 javadoc 167 trunk passed
0 spotbugs 182 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 453 trunk passed
_ Patch Compile Tests _
0 mvndep 23 Maven dependency ordering for patch
+1 mvninstall 155 the patch passed
+1 compile 1005 the patch passed
+1 javac 1005 the patch passed
+1 checkstyle 165 the patch passed
+1 mvnsite 219 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 767 patch has no errors when building and testing our client artifacts.
+1 javadoc 179 the patch passed
+1 findbugs 501 the patch passed
_ Other Tests _
-1 unit 579 hadoop-common in the patch failed.
+1 unit 133 hadoop-hdfs-client in the patch passed.
-1 unit 6423 hadoop-hdfs in the patch failed.
-1 asflicense 59 The patch generated 1 ASF License warnings.
14766
Reason Tests
Failed junit tests hadoop.cli.TestCLI
hadoop.hdfs.server.namenode.ha.TestGetGroupsWithHA
hadoop.hdfs.TestDFSShell
hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
hadoop.hdfs.server.namenode.ha.TestHarFileSystemWithHA
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/1/artifact/out/Dockerfile
GITHUB PR #1271
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 70952ca00ad8 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 9b8359b
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/1/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/1/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/1/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 3075 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/1/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 51 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 31 Maven dependency ordering for branch
+1 mvninstall 1093 trunk passed
+1 compile 1145 trunk passed
+1 checkstyle 140 trunk passed
+1 mvnsite 195 trunk passed
+1 shadedclient 1002 branch has no errors when building and testing our client artifacts.
+1 javadoc 147 trunk passed
0 spotbugs 166 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 405 trunk passed
_ Patch Compile Tests _
0 mvndep 41 Maven dependency ordering for patch
+1 mvninstall 167 the patch passed
+1 compile 1040 the patch passed
+1 javac 1040 the patch passed
+1 checkstyle 134 the patch passed
+1 mvnsite 183 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 638 patch has no errors when building and testing our client artifacts.
+1 javadoc 146 the patch passed
+1 findbugs 462 the patch passed
_ Other Tests _
-1 unit 492 hadoop-common in the patch failed.
+1 unit 111 hadoop-hdfs-client in the patch passed.
-1 unit 5237 hadoop-hdfs in the patch failed.
-1 asflicense 53 The patch generated 1 ASF License warnings.
12875
Reason Tests
Failed junit tests hadoop.cli.TestCLI
hadoop.hdfs.TestDatanodeDeath
hadoop.hdfs.server.namenode.TestFsck
hadoop.hdfs.TestDFSShell
hadoop.hdfs.TestDFSStripedOutputStreamWithFailure
hadoop.hdfs.tools.TestDFSZKFailoverController
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
hadoop.hdfs.server.namenode.TestNameNodeMetadataConsistency
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/2/artifact/out/Dockerfile
GITHUB PR #1271
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 27dfda718757 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 6244502
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/2/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/2/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/2/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/2/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 4439 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/2/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 158 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 31 Maven dependency ordering for branch
+1 mvninstall 1399 trunk passed
+1 compile 1338 trunk passed
+1 checkstyle 177 trunk passed
+1 mvnsite 252 trunk passed
+1 shadedclient 1356 branch has no errors when building and testing our client artifacts.
+1 javadoc 162 trunk passed
0 spotbugs 199 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 447 trunk passed
_ Patch Compile Tests _
0 mvndep 26 Maven dependency ordering for patch
+1 mvninstall 172 the patch passed
+1 compile 1042 the patch passed
+1 javac 1042 the patch passed
+1 checkstyle 151 the patch passed
+1 mvnsite 191 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 733 patch has no errors when building and testing our client artifacts.
+1 javadoc 160 the patch passed
+1 findbugs 443 the patch passed
_ Other Tests _
-1 unit 553 hadoop-common in the patch failed.
+1 unit 145 hadoop-hdfs-client in the patch passed.
-1 unit 6981 hadoop-hdfs in the patch failed.
+1 asflicense 50 The patch does not generate ASF License warnings.
15836
Reason Tests
Failed junit tests hadoop.cli.TestCLI
hadoop.hdfs.TestDFSShell
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.server.namenode.TestFSImage
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/3/artifact/out/Dockerfile
GITHUB PR #1271
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 13dcdae9f8d1 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / ee7c261
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/3/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/3/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/3/testReport/
Max. process+thread count 2917 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/3/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 84 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 25 Maven dependency ordering for branch
+1 mvninstall 1277 trunk passed
+1 compile 1114 trunk passed
+1 checkstyle 158 trunk passed
+1 mvnsite 227 trunk passed
+1 shadedclient 1214 branch has no errors when building and testing our client artifacts.
+1 javadoc 178 trunk passed
0 spotbugs 205 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 493 trunk passed
_ Patch Compile Tests _
0 mvndep 28 Maven dependency ordering for patch
+1 mvninstall 185 the patch passed
+1 compile 1255 the patch passed
+1 javac 1255 the patch passed
+1 checkstyle 170 the patch passed
+1 mvnsite 211 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 797 patch has no errors when building and testing our client artifacts.
+1 javadoc 160 the patch passed
+1 findbugs 508 the patch passed
_ Other Tests _
-1 unit 561 hadoop-common in the patch failed.
+1 unit 127 hadoop-hdfs-client in the patch passed.
-1 unit 6370 hadoop-hdfs in the patch failed.
-1 asflicense 52 The patch generated 2 ASF License warnings.
15111
Reason Tests
Failed junit tests hadoop.cli.TestCLI
hadoop.security.TestRaceWhenRelogin
hadoop.hdfs.server.namenode.TestFileContextXAttr
hadoop.hdfs.TestDFSShell
hadoop.hdfs.server.datanode.fsdataset.impl.TestSpaceReservation
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/4/artifact/out/Dockerfile
GITHUB PR #1271
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 60ad7ecb70b6 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 3329257
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/4/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/4/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/4/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/4/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 2962 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/4/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 55 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 47 Maven dependency ordering for branch
+1 mvninstall 1094 trunk passed
+1 compile 1029 trunk passed
+1 checkstyle 158 trunk passed
+1 mvnsite 220 trunk passed
+1 shadedclient 1136 branch has no errors when building and testing our client artifacts.
+1 javadoc 169 trunk passed
0 spotbugs 188 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 453 trunk passed
_ Patch Compile Tests _
0 mvndep 25 Maven dependency ordering for patch
+1 mvninstall 163 the patch passed
+1 compile 976 the patch passed
+1 javac 976 the patch passed
+1 checkstyle 142 the patch passed
+1 mvnsite 228 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 671 patch has no errors when building and testing our client artifacts.
+1 javadoc 176 the patch passed
-1 findbugs 40 hadoop-hdfs-client in the patch failed.
-1 findbugs 47 hadoop-hdfs in the patch failed.
_ Other Tests _
-1 unit 558 hadoop-common in the patch failed.
+1 unit 132 hadoop-hdfs-client in the patch passed.
-1 unit 5337 hadoop-hdfs in the patch failed.
+1 asflicense 54 The patch does not generate ASF License warnings.
12960
Reason Tests
Failed junit tests hadoop.cli.TestCLI
hadoop.hdfs.TestDFSShell
hadoop.hdfs.server.namenode.TestEditLogJournalFailures
hadoop.hdfs.server.namenode.TestAddBlock
hadoop.hdfs.server.namenode.TestEditLog
hadoop.hdfs.TestFileCorruption
hadoop.hdfs.server.namenode.TestReencryptionWithKMS
hadoop.hdfs.server.namenode.TestNameNodeAcl
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/artifact/out/Dockerfile
GITHUB PR #1271
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 45fa0b21bc2a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 915cbc9
Default Java 1.8.0_222
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/artifact/out/patch-findbugs-hadoop-hdfs-project_hadoop-hdfs-client.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/artifact/out/patch-findbugs-hadoop-hdfs-project_hadoop-hdfs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/testReport/
Max. process+thread count 4019 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1271/5/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 12m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 12m 51s Maven dependency ordering for branch
+1 💚 mvninstall 20m 40s trunk passed
+1 💚 compile 21m 24s trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚 compile 18m 42s trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚 checkstyle 3m 39s trunk passed
+1 💚 mvnsite 4m 24s trunk passed
+1 💚 javadoc 3m 14s trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚 javadoc 4m 18s trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚 spotbugs 8m 26s trunk passed
+1 💚 shadedclient 21m 52s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 27s Maven dependency ordering for patch
+1 💚 mvninstall 2m 59s the patch passed
+1 💚 compile 20m 41s the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚 javac 20m 41s the patch passed
+1 💚 compile 18m 39s the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚 javac 18m 39s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 3m 36s the patch passed
+1 💚 mvnsite 4m 19s the patch passed
+1 💚 javadoc 3m 11s the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚 javadoc 4m 12s the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚 spotbugs 8m 55s the patch passed
+1 💚 shadedclient 22m 7s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 17m 23s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 unit 2m 43s hadoop-hdfs-client in the patch passed.
-1 ❌ unit 227m 15s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 asflicense 1m 13s The patch does not generate ASF License warnings.
469m 7s
Reason Tests
Failed junit tests hadoop.cli.TestCLI
hadoop.hdfs.web.TestJsonUtil
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1271/1/artifact/out/Dockerfile
GITHUB PR #1271
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell
uname Linux dd20b22ee00b 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 717a5a7
Default Java Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1271/1/testReport/
Max. process+thread count 2999 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1271/1/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants