[
https://issues.apache.org/jira/browse/HDDS-1651?focusedWorklogId=266232&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-266232
]
ASF GitHub Bot logged work on HDDS-1651:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jun/19 00:28
Start Date: 25/Jun/19 00:28
Worklog Time Spent: 10m
Work Description: bharatviswa504 commented on issue #930: HDDS-1651.
Create a http.policy config for Ozone
URL: https://github.com/apache/hadoop/pull/930#issuecomment-505229785
Hi,
I have a question:
What is the reason to create a new http policy for ozone? Because when https
is enabled, some of the additional config like key store location we still use
dfs.https.server.keystore.resource.
I feel ozone can also re-use the hdfs config. In this way, we don't miss the
code changes where HTTP policy is being used, like OzoneManagerSnapShotProvider
which uses still DFSUtils.getHttpPolicy.
And also we use to create HttpServer2.Builder builder with below code. That
again uses dfs.http.policy. So, this is the reason we need to set
ozone.http.policy to dfs.http.policy to make it work. So, I feel to avoid all
these, we can use dfs.http.policy as before. Let me know your thoughts on this.
```
builder = DFSUtil.httpServerTemplateForNNAndJN(conf, this.httpAddress,
this.httpsAddress, name, getSpnegoPrincipal(), getKeytabFile());
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 266232)
Time Spent: 2h 50m (was: 2h 40m)
> Create a http.policy config for Ozone
> -------------------------------------
>
> Key: HDDS-1651
> URL: https://issues.apache.org/jira/browse/HDDS-1651
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Hanisha Koneru
> Assignee: Shweta
> Priority: Major
> Labels: newbie, pull-request-available
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> Ozone currently uses dfs.http.policy for HTTP policy. Ozone should have its
> own ozone.http.policy configuration and if undefined, then fallback to
> dfs.http.policy.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]