hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11053) Unnecessary superuser check in versionRequest()
Date Wed, 26 Oct 2016 14:01:06 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15608530#comment-15608530
] 

Kihwal Lee commented on HDFS-11053:
-----------------------------------

Ran three times. They all pass.
{noformat}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hdfs.server.datanode.TestHSync
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.18 sec - in org.apache.hadoop.hdfs.server.datanode.TestHSync
Running org.apache.hadoop.hdfs.server.datanode.TestBlockScanner
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.069 sec - in org.apache.hadoop.hdfs.server.datanode.TestBlockScanner
Running org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestSpaceReservation
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.937 sec - in org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestSpaceReservation
Running org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyWriter
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.881 sec - in org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyWriter
Running org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestWriteToReplica
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.629 sec - in org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestWriteToReplica
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.712 sec - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
Running org.apache.hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.412 sec - in org.apache.hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR
Running org.apache.hadoop.cli.TestAclCLIWithPosixAclInheritance
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.635 sec - in org.apache.hadoop.cli.TestAclCLIWithPosixAclInheritance

Results :

Tests run: 44, Failures: 0, Errors: 0, Skipped: 0
{noformat}

> Unnecessary superuser check in versionRequest()
> -----------------------------------------------
>
>                 Key: HDFS-11053
>                 URL: https://issues.apache.org/jira/browse/HDFS-11053
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode, security
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>         Attachments: HDFS-11053.patch
>
>
> The {{versionRequest()}} call does not return any sensitive information.  It is mainly
used for sanity checks.   The presence of {{checkSuperuserPrivilege()}} forces users to run
datanode as a hdfs superuser.
> In secure setup, a keytab obtained from a compromised datanode can allow the intruder
to gain hdfs superuser privilege.  We should allow datanodes to be run as non-hdfs-superuser
by removing {{checkSuperuserPrivilege()}} from {{versionRequest()}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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