jatsakthi commented on a change in pull request #47: HBASE-23180 hbck2 testing tool URL: https://github.com/apache/hbase-operator-tools/pull/47#discussion_r370898935
########## File path: dev-support/testingtool/run_hbck2_test.sh ########## @@ -0,0 +1,45 @@ +#!/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 does following things: +# 1. Do a mvn package to generate the hbck2 jar +# 2. Invoke dev-support/testingtool/hbck2_test.sh with the above generated jar and other necessary parameters + +# HOW TO RUN: +# 1. Replace the passed parameters at hbck2_test.sh invocation line with appropriate values Review comment: Yes, it's more of an example script as of now for someone to use if just by making changes to the parameters that are being passed to hbck2_test.sh. The bigger picture was then when a Jenkins job would be created to automate this testing on a nightly basis, we would just call run_hbck2_test.sh from the Jenkins script. (+ so that run_hbck2_test.sh would take care of compiling and generating a fresh jar every time and pass it to hbck2_test.sh.) ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
