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:
parent
2905507ce2
commit
01715fbbf6
|
@ -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[@]}"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue