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 "Takanobu Asanuma (JIRA)" <ji...@apache.org> on 2019/05/30 06:28:00 UTC
[jira] [Comment Edited] (HDFS-13654) Use a random secret when a
secret file doesn't exist in HttpFS. This should be default.
[ https://issues.apache.org/jira/browse/HDFS-13654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851555#comment-16851555 ]
Takanobu Asanuma edited comment on HDFS-13654 at 5/30/19 6:27 AM:
------------------------------------------------------------------
Thanks for reviewing it, [~aajisaka]!
Seems we can't add {{@Override}} since {{beforeClass()}} is static. However, it surely overrides {{TestHttpFSServerWebServer#beforeClass}} when the tests run.
I uploaded the 5th patch to handle Windows environment.
was (Author: tasanuma0829):
Thanks for reviewing it, [~aajisaka]!
Seems we can't add {{@Override}} since {{beforeClass()}} is static. However, it surely overrides "TestHttpFSServerWebServer#beforeClass".
I uploaded the 5th patch to handle Windows environment.
> Use a random secret when a secret file doesn't exist in HttpFS. This should be default.
> ----------------------------------------------------------------------------------------
>
> Key: HDFS-13654
> URL: https://issues.apache.org/jira/browse/HDFS-13654
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: httpfs, security
> Reporter: Pulkit Bhardwaj
> Assignee: Takanobu Asanuma
> Priority: Major
> Attachments: HDFS-13654.1.patch, HDFS-13654.2.patch, HDFS-13654.3.patch, HDFS-13654.4.patch, HDFS-13654.5.patch
>
>
> {code:java}
> curl -s https://raw.githubusercontent.com/apache/hadoop/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-signature.secret
> hadoop httpfs secret{code}
>
> The "secret" is a known string, it is better to keep this a random string so that it is not well known.
>
--
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