Pranay Singh created HDFS-14086:
-----------------------------------
Summary: Failure in test_libhdfs_ops
Key: HDFS-14086
URL: https://issues.apache.org/jira/browse/HDFS-14086
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Pranay Singh
test_libhdfs_ops hdfs_static test was not getting executed, so I had to change
the below file to
execute this binary as a part of normal run.
Details
----------
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt
add_libhdfs_test(test_libhdfs_ops hdfs_static) --->
Name: file:/tmp/hsperfdata_root, Type: D, Replication: 1, BlockSize: 33554432,
Size: 0, LastMod: Tue Nov 13 18:03:20 2018
Owner: root, Group: root, Permissions: 493 (rwxr-xr-x)
hdfsGetHosts - SUCCESS! ...
hdfsChown(path=/tmp/testfile.txt, owner=(null), group=users):
FileSystem#setOwner error:
Shell.ExitCodeException: chown: changing group of '/tmp/testfile.txt':
Operation not permitted
ExitCodeException exitCode=1: chown: changing group of '/tmp/testfile.txt':
Operation not permitted
at org.apache.hadoop.util.Shell.runCommand(Shell.java:1008)
at org.apache.hadoop.util.Shell.run(Shell.java:901)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1213)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:1307)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:1289)
at org.apache.hadoop.fs.FileUtil.execCommand(FileUtil.java:1350)
at org.apache.hadoop.fs.FileUtil.setOwner(FileUtil.java:1152)
at
org.apache.hadoop.fs.RawLocalFileSystem.setOwner(RawLocalFileSystem.java:851)
at
org.apache.hadoop.fs.ChecksumFileSystem$2.apply(ChecksumFileSystem.java:520)
at
org.apache.hadoop.fs.ChecksumFileSystem$FsOperation.run(ChecksumFileSystem.java:489)
at
org.apache.hadoop.fs.ChecksumFileSystem.setOwner(ChecksumFileSystem.java:523)
hdfsChown: Failed!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]