91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 25.13MB
    文件類型: .gz
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-05
  • 語言: 其他
  • 標簽: hadoop??安裝包??3.0.3??

資源簡介

hadoop-3.0.3 的linux 安裝包!

資源截圖

代碼片段和文件信息

#!/usr/bin/env?python
#
#?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.
#
#?Given?a?jenkins?test?job?this?script?examines?all?runs?of?the?job?done
#?within?specified?period?of?time?(number?of?days?prior?to?the?execution
#?time?of?this?script)?and?reports?all?failed?tests.
#
#?The?output?of?this?script?includes?a?section?for?each?run?that?has?failed
#?tests?with?each?failed?test?name?listed.
#
#?More?importantly?at?the?end?it?outputs?a?summary?section?to?list?all?failed
#?tests?within?all?examined?runs?and?indicate?how?many?runs?a?same?test
#?failed?and?sorted?all?failed?tests?by?how?many?runs?each?test?failed.
#
#?This?way?when?we?see?failed?tests?in?PreCommit?build?we?can?quickly?tell
#?whether?a?failed?test?is?a?new?failure?or?it?failed?before?and?how?often?it
#?failed?so?to?have?idea?whether?it?may?just?be?a?flaky?test.
#
#?Of?course?to?be?100%?sure?about?the?reason?of?a?test?failure?closer?look
#?at?the?failed?test?for?the?specific?run?is?necessary.
#
import?sys
import?platform
sysversion?=?sys.hexversion
onward30?=?False
if?sysversion???sys.exit(“Minimum?supported?python?version?is?2.6?the?current?version?is?“?+
??????“Python“?+?platform.python_version())

if?sysversion?==?0x030000F0:
??sys.exit(“There?is?a?known?bug?with?Python“?+?platform.python_version()?+
??????“?please?try?a?different?version“);

if?sysversion???import?urllib2
else:
??onward30?=?True
??import?urllib.request

import?datetime
import?json?as?simplejson
import?logging
from?optparse?import?OptionParser
import?time

#?Configuration
DEFAULT_JENKINS_URL?=?“https://builds.apache.org“
DEFAULT_JOB_NAME?=?“Hadoop-Common-trunk“
DEFAULT_NUM_PREVIOUS_DAYS?=?14
DEFAULT_TOP_NUM_FAILED_TEST?=?-1

SECONDS_PER_DAY?=?86400

#?total?number?of?runs?to?examine
numRunsToExamine?=?0

#summary?mode
summary_mode?=?False

#total?number?of?errors
error_count?=?0

“““?Parse?arguments?“““
def?parse_args():
??parser?=?OptionParser()
??parser.add_option(“-J“?“--jenkins-url“?type=“string“
????????????????????dest=“jenkins_url“?help=“Jenkins?URL“
????????????????????default=DEFAULT_JENKINS_URL)
??parser.add_option(“-j“?“--job-name“?type=“string“
????????????????????dest=“job_name“?help=“Job?name?to?look?at“
????????????????????defa

評論

共有 條評論