diff --git a/dev-support/flaky-tests/flaky-reporting.Jenkinsfile b/dev-support/flaky-tests/flaky-reporting.Jenkinsfile index 7506d061a8e..58e7328f7b4 100644 --- a/dev-support/flaky-tests/flaky-reporting.Jenkinsfile +++ b/dev-support/flaky-tests/flaky-reporting.Jenkinsfile @@ -43,7 +43,7 @@ pipeline { flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 10) flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30) docker build -t hbase-dev-support dev-support - docker run --ulimit nproc=12500:12500 -v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}" + docker run --ulimit nproc=12500 -v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}" ''' } } diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 35c5cd07c66..58d2aa8266d 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -513,7 +513,8 @@ function hadoopcheck_parse_args ## @stability evolving function hadoopcheck_docker_support { - DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--env=QUICK_HADOOPCHECK=${QUICK_HADOOPCHECK}" "--ulimit nproc=12500:12500") + DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--ulimit" "nproc=12500") + DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--env=QUICK_HADOOPCHECK=${QUICK_HADOOPCHECK}") } ## @description hadoopcheck test diff --git a/dev-support/hbase_docker.sh b/dev-support/hbase_docker.sh index bd8de2afdfa..59a15f7d917 100755 --- a/dev-support/hbase_docker.sh +++ b/dev-support/hbase_docker.sh @@ -159,4 +159,4 @@ done echo "Successfully built ${IMAGE_NAME}." echo "Starting hbase shell..." -docker run --ulimit nproc=12500:12500 -it ${IMAGE_NAME} +docker run --ulimit nproc=12500 -it ${IMAGE_NAME}