HBASE-24126 Up the container nproc uplimit from 10000 to 12500

Addendum number 2; docker doesn't like the ulimit arg as is.
This commit is contained in:
stack 2020-04-06 18:23:35 -07:00
parent 2905507ce2
commit 01715fbbf6
3 changed files with 4 additions and 3 deletions

View File

@ -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[@]}"
'''
}
}

View File

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

View File

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