[
https://issues.apache.org/jira/browse/HDFS-11991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060987#comment-16060987
]
Weiwei Yang edited comment on HDFS-11991 at 6/23/17 2:32 PM:
-------------------------------------------------------------
Hi [~anu]
Sure we can discuss each item in more detail. One comment to item 2 - Discovery
of Configs. This reminds me some work I've done in HADOOP-13628, it adds a
common rest API to retrieve configuration from a server. This was done in a
common {{ConfServlet}} which is enabled by default in HttpServer2. The work
done by Elek in HDFS-12007 should be able to get this covered so it won't be a
problem at all.
For 3 - Discovery of the root user. I am a bit confused. The auth check is
usually done in server side, which has access to configuration files. I am
curious why it is necessary to discover root users.
Thank you.
was (Author: cheersyang):
Hi [~anu]
Sure we can discuss each item in more detail. One comment to item 2 - Discovery
of Configs. This reminds me some work I've done in HADOOP-13628, it adds a
common rest API to retrieve configuration from a server. This was done in a
common {{ConfServlet}} which is enabled by default in HttpServer2. The work
done by Elek in HDFS-12007 should be able to get this covered so it won't be a
problem at all.
> Ozone: Ozone shell: the root is assumed to hdfs
> -----------------------------------------------
>
> Key: HDFS-11991
> URL: https://issues.apache.org/jira/browse/HDFS-11991
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Anu Engineer
> Assignee: Weiwei Yang
> Fix For: HDFS-7240
>
>
> *hdfs oz* command, or ozone shell has a command like option to run some
> commands as root easily by specifying _--root_ as a command line option.
> But after HDFS-11655 that assumption is no longer true. We need to detect the
> user that started the scm/ksm service and _root_ should be mapped to that
> user.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]