[ 
https://issues.apache.org/jira/browse/HDFS-14086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ayush Saxena reassigned HDFS-14086:
-----------------------------------

    Assignee:     (was: Ayush Saxena)

> 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
>            Priority: Major
>
> test_libhdfs_ops hdfs_static test was not getting executed,  the issue that I 
> have fixed in HDFS-14083 is 
> seen because this test program is not getting executed so I had to change the 
> below file to 
> execute this test binary as a part of normal run. There are some failures 
> that are seen when this
> test program is run. This jira tracks those failures.
> Details of change to enable this test
> ------------------------------------------------
> hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt
> add_libhdfs_test(test_libhdfs_ops hdfs_static) --->
> Failures that are seen when this test is run.
> ---------------------------------------------------------
> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to