You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/07/02 20:53:00 UTC
[jira] [Commented] (HDDS-1716) Smoketest results are generated with
an internal user
[ https://issues.apache.org/jira/browse/HDDS-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877298#comment-16877298 ]
Hudson commented on HDDS-1716:
------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #16853 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/16853/])
HDDS-1716. Smoketest results are generated with an internal user (elek: rev 75b1e458b1a9fe48b27fdbe5422e4abb4a20b200)
* (edit) hadoop-ozone/dist/src/main/compose/testlib.sh
* (edit) hadoop-ozone/dist/src/main/compose/test-all.sh
> Smoketest results are generated with an internal user
> -----------------------------------------------------
>
> Key: HDDS-1716
> URL: https://issues.apache.org/jira/browse/HDDS-1716
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> [~eyang] reported the problem in HDDS-1609 that the smoketest results are generated a user (the user inside the docker container) which can be different from the host user.
> There is a minimal risk that the test results can be deleted/corrupted by an other users if the current user is different from uid=1000
> I opened this issue because [~eyang] said me during an offline discussion that HDDS-1609 is a more complex issue and not only about the ownership of the test results.
> I suggest to handle the two problems in different way. With this patch, the permission of the test result files can be fixed easily.
> In HDDS-1609 we can discuss about general security problems and try to find generic solution for them.
> Steps to reproduce _this_ problem:
> # Use a user which is different from uid=1000
> # Create a new ozone build (mvn clean install -f pom.ozone.xml -DskipTests)
> # Go to a compose directory (cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/)
> # Execute tests (./test.sh)
> # check the ownership of the results (ls -lah ./results)
> Current result: the owner of the result files are the user uid=1000
> Expected result: the owner of the files should be always the current user (even if the current uid is different)
>
--
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