You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/06/25 01:40:00 UTC

[jira] [Created] (HDDS-5387) ProfileServlet to move the default output location to an ozone specific directory

Wei-Chiu Chuang created HDDS-5387:
-------------------------------------

             Summary: ProfileServlet to move the default output location to an ozone specific directory
                 Key: HDDS-5387
                 URL: https://issues.apache.org/jira/browse/HDDS-5387
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Wei-Chiu Chuang


The ProfileServlet is forked and used by several other projects: HBase, and Hive. They all defaults the output location to /tmp/prof-output.

https://github.com/apache/ozone/blob/8d57331ccf975391bd1324ccbc517bf9c694a0cf/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/http/ProfileServlet.java#L132

Sharing the output directory causes permission error, because typically they are run by separate users.

We should use an output directory specific to Ozone to avoid the permission issue. For example, /tmp/prof-output-ozone



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org