hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-1567) Define a set of environment variables to configure Ozone docker image
Date Mon, 17 Jun 2019 16:52:00 GMT

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

Eric Yang commented on HDDS-1567:
---------------------------------

[~elek] 

{quote}What is the "TAGs format"?{quote}

I was referring to TAGs in [your statement|https://issues.apache.org/jira/browse/HDDS-1567?focusedCommentId=16861843&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16861843].

{code}
OZONE-SITE.XML_ozone.om.http-address=om:9874
{code} 

Are you calling this tag?

{quote}And what is a global variable?{quote}

A global variable is a environment variable that override multiple tags.  For example:

OZONE-SITE.XML_ozone.om.address=om
OZONE-SITE.XML_ozone.om.http-address=om:9874

It may be useful to define OM_HOST=om

OM_HOST will map to

OZONE-SITE.XML_ozone.om.address=${OM_HOST}
OZONE-SITE.XML_ozone.om.http-address=${OM_HOST}:9874

System admin can define OM_HOST more effortlessly without looking through large dictionary
of key value pair in docker-config.

> Define a set of environment variables to configure Ozone docker image
> ---------------------------------------------------------------------
>
>                 Key: HDDS-1567
>                 URL: https://issues.apache.org/jira/browse/HDDS-1567
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Eric Yang
>            Priority: Major
>
> For developer that tries to setup docker image by end for testing purpose, it would be
nice to predefine a set of environment variables that can be passed to Ozone docker image
to configure the minimum set of configuration to start Ozone containers.  There is a python
script that converts environment variables to config, but documentation does not show what
setting can be passed to configure the system.  This task would be a good starting point to
document the available configuration knobs.



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


Mime
View raw message