You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Yuan Gu (Jira)" <ji...@apache.org> on 2021/08/13 21:33:00 UTC

[jira] [Updated] (HDDS-5616) [Dev Support] Add a shell script to automate docker-up with FSO-enabled

     [ https://issues.apache.org/jira/browse/HDDS-5616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuan Gu updated HDDS-5616:
--------------------------
    Description: 
Currently we need to set some configs to enable FSO after
{code:java}
mvn clean install{code}
We can add a shell script `fso.sh` under the project directory:

 
{code:java}
cd hadoop-ozone/dist/target/ozone-*-SNAPSHOT/compose/ozone
echo 'OZONE-SITE.XML_ozone.om.enable.filesystem.paths=true;' >> docker-config
echo 'OZONE-SITE.XML_ozone.om.metadata.layout=PREFIX;' >> docker-config
sed -i '' 's/-SIMPLE/-PREFIX/g' docker-compose.yaml
sed -i '' 's/-false/-true/g' docker-compose.yaml
docker-compose up -d --scale datanode=$1{code}
Then run
{code:java}
chmod +x fso.sh && ./fso.sh <number-of-datanodes> {code}

  was:
Currently we need to set some configs to enable FSO after
{code:java}
mvn clean install{code}
We can add a shell script `fso.sh` under the project directory:

 
{code:java}
cd hadoop-ozone/dist/target/ozone-*-SNAPSHOT/compose/ozone
echo 'OZONE-SITE.XML_ozone.om.enable.filesystem.paths=true;' >> docker-config
echo 'OZONE-SITE.XML_ozone.om.metadata.layout=PREFIX;' >> docker-config
sed -i '' 's/-SIMPLE/-PREFIX/g' docker-compose.yaml
sed -i '' 's/-false/-true/g' docker-compose.yaml
docker-compose up -d --scale datanode=$1{code}
Then run
{code:java}
chmod +x fso.sh && ./fso.sh <number-of-datanodes>{code}
 

 


> [Dev Support] Add a shell script to automate docker-up with FSO-enabled
> -----------------------------------------------------------------------
>
>                 Key: HDDS-5616
>                 URL: https://issues.apache.org/jira/browse/HDDS-5616
>             Project: Apache Ozone
>          Issue Type: Improvement
>         Environment: This worked on Mac.
>            Reporter: Yuan Gu
>            Assignee: Yuan Gu
>            Priority: Major
>
> Currently we need to set some configs to enable FSO after
> {code:java}
> mvn clean install{code}
> We can add a shell script `fso.sh` under the project directory:
>  
> {code:java}
> cd hadoop-ozone/dist/target/ozone-*-SNAPSHOT/compose/ozone
> echo 'OZONE-SITE.XML_ozone.om.enable.filesystem.paths=true;' >> docker-config
> echo 'OZONE-SITE.XML_ozone.om.metadata.layout=PREFIX;' >> docker-config
> sed -i '' 's/-SIMPLE/-PREFIX/g' docker-compose.yaml
> sed -i '' 's/-false/-true/g' docker-compose.yaml
> docker-compose up -d --scale datanode=$1{code}
> Then run
> {code:java}
> chmod +x fso.sh && ./fso.sh <number-of-datanodes> {code}



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