You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/02/25 11:39:10 UTC

[GitHub] [ozone] elek commented on a change in pull request #1826: HDDS-4395. Ozone Data Generator for Fast Scale Test

elek commented on a change in pull request #1826:
URL: https://github.com/apache/ozone/pull/1826#discussion_r582763511



##########
File path: hadoop-ozone/dist/src/main/compose/upgrade/generate-data.sh
##########
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This script can be run only if the cluster is already started 
+# one, and initialized (but not data is written, yet).
+
+docker-compose run scm ozone freon cgscm -n 1

Review comment:
       > I am not able to run this script. If I run it without creating the cluster, it fails while creating OM.
   
   Can you please share which command did you use exactly? The exception seems to be related to the start of OM which this script is running only freon tests.
   
   Also, my version from docker-compose:
   ```
   docker-compose version      
   docker-compose version 1.28.2, build unknown
   docker-py version: 4.4.1
   CPython version: 3.9.1
   OpenSSL version: OpenSSL 1.1.1i  8 Dec 2020
   ```
   
   Can you please share your version?
   
   I updated the script to make sure that the cluster is stopped...




----------------------------------------------------------------
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:
users@infra.apache.org



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