hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pranay Singh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14086) Failure in test_libhdfs_ops
Date Mon, 19 Nov 2018 15:18:01 GMT

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

Pranay Singh updated HDFS-14086:
--------------------------------
    Labels: test  (was: )

> Failure in test_libhdfs_ops
> ---------------------------
>
>                 Key: HDFS-14086
>                 URL: https://issues.apache.org/jira/browse/HDFS-14086
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: native
>            Reporter: Pranay Singh
>            Priority: Minor
>              Labels: test
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message