Skip to content

update local repository #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 360 commits into from
Feb 4, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
360 commits
Select commit Hold shift + click to select a range
2860eeb
HDFS-7555. Remove the support of unmanaged connectors in HttpServer2.…
Dec 21, 2014
02b21b7
HADOOP-11429. Findbugs warnings in hadoop extras. Contributed by Varu…
Dec 21, 2014
7bc0a6d
HDFS-7557. Fix spacing for a few keys in DFSConfigKeys.java (Colin P.…
y-liu Dec 21, 2014
ecf1469
HADOOP-11414. FileBasedIPList#readLines() can leak file descriptors. …
oza Dec 22, 2014
a696fbb
YARN-2939. Fix new findbugs warnings in hadoop-yarn-common. (Li Lu vi…
JunpingDu Dec 22, 2014
2cf90a2
HDFS-7560. ACLs removed by removeDefaultAcl() will be back after Name…
cnauroth Dec 22, 2014
fdf042d
YARN-2920. Changed CapacityScheduler to kill containers on nodes wher…
jian-he Dec 23, 2014
0d89859
YARN-2340. Fixed NPE when queue is stopped during RM restart. Contrib…
jian-he Dec 23, 2014
50ae1a6
HDFS-7456. De-duplicate AclFeature instances with same AclEntries do …
vinayakumarb Dec 23, 2014
5caebba
HDFS-7484. Make FSDirectory#addINode take existing INodes as its para…
Jing9 Dec 23, 2014
66cfe1d
HADOOP-11399. Java Configuration file and .xml files should be automa…
rkanter Dec 23, 2014
e1ee0d4
YARN-2970. NodeLabel operations in RMAdmin CLI get missing in help co…
JunpingDu Dec 24, 2014
149512a
YARN-2837. Support TimeLine server to recover delegation token when r…
jian-he Dec 24, 2014
ca3381d
Fix new findbugs warnings in rest of the hadoop-yarn components. (Con…
JunpingDu Dec 24, 2014
2067425
CHANGES.txt: add YARN-2940
JunpingDu Dec 24, 2014
856b46c
Revert ca3381de61ff53604d9389694049a1a4dedc7571 and 20674255ad891bb69…
JunpingDu Dec 24, 2014
d468c9a
YARN-2940. Fix new findbugs warnings in rest of the hadoop-yarn compo…
JunpingDu Dec 24, 2014
41a548a
YARN-2937. Fixed new findbugs warnings in hadoop-yarn-nodemanager. Co…
zjshen14 Dec 24, 2014
4f18018
YARN-2946. Fixed potential deadlock in RMStateStore. Contributed by R…
jian-he Dec 24, 2014
b256dd7
YARN-2988. Graph#save() may leak file descriptors. (Ted Yu via ozawa)
oza Dec 25, 2014
a164ce2
HADOOP-11283. SequenceFile.Writer can leak file descriptors in DistCp…
oza Dec 25, 2014
399d258
HADOOP-11448. Fix findbugs warnings in FileBasedIPList. (ozawa)
oza Dec 26, 2014
40ee4bf
YARN-2993. Several fixes (missing acl check, error log msg ...) and s…
JunpingDu Dec 26, 2014
1454efe
YARN-2992. ZKRMStateStore crashes due to session expiry. Contributed …
jian-he Dec 27, 2014
241d3b3
YARN-2938. Fixed new findbugs warnings in hadoop-yarn-resourcemanager…
zjshen14 Dec 29, 2014
249cc90
HADOOP-11039. ByteBufferReadable API doc is inconsistent with the imp…
Dec 29, 2014
6621c35
MAPREDUCE-6149. Document override log4j.properties in MR job. Contrib…
Dec 30, 2014
5f57b90
YARN-2492. Added node-labels page on RM web UI. Contributed by Wangda…
jian-he Dec 30, 2014
746ad6e
Revert "YARN-2492(wrong jira number). Added node-labels page on RM we…
jian-he Dec 31, 2014
b7442bf
YARN-2493. Added node-labels page on RM web UI. Contributed by Wangda…
jian-he Dec 30, 2014
e2351c7
YARN-2987. Fixed ClientRMService#getQueueInfo to check against queue …
jian-he Dec 31, 2014
e7257ac
YARN-2998. Abstract out scheduler independent PlanFollower components…
kambatla Dec 31, 2014
892b1bb
HDFS-7563. NFS gateway parseStaticMap NumberFormatException. Contribu…
Jan 2, 2015
0c45946
HADOOP-10788. Rewrite kms to use new shell framework (John Smith via aw)
aw-was-here Jan 2, 2015
947578c
YARN-2991. Fixed DrainDispatcher to reuse the draining code path in A…
zjshen14 Jan 2, 2015
ddc5be4
YARN-2922. ConcurrentModificationException in CapacityScheduler's Lea…
oza Jan 4, 2015
21c6f01
HADOOP-11455. KMS and Credential CLI should request confirmation for …
y-liu Jan 4, 2015
27d8395
HADOOP-11446 S3AOutputStream should use shared thread pool to avoid O…
steveloughran Jan 5, 2015
2403634
HADOOP-11390 Metrics 2 ganglia provider to include hostname in unreso…
steveloughran Jan 5, 2015
dfd2589
HDFS-7572. TestLazyPersistFiles#testDnRestartWithSavedReplicas is fla…
cnauroth Jan 5, 2015
562a701
YARN-2958. Made RMStateStore not update the last sequence number when…
zjshen14 Jan 5, 2015
41d72cb
Move YARN-2360 from 2.6 to 2.7 in CHANGES.txt
kambatla Jan 5, 2015
94d342e
HADOOP-10908. Common needs updates for shell rewrite (aw)
aw-was-here Jan 5, 2015
53caeaa
HADOOP-11402. Negative user-to-group cache entries are never cleared …
Jan 5, 2015
0c4b112
YARN-2881. [YARN-2574] Implement PlanFollower for FairScheduler. (Anu…
kambatla Jan 5, 2015
9803ae3
HADOOP-11459. Fix recent findbugs in ActiveStandbyElector, NetUtils a…
vinayakumarb Jan 6, 2015
4cd66f7
HDFS-7583. Fix findbug in TransferFsImage.java (Contributed by Vinaya…
vinayakumarb Jan 6, 2015
cd7d789
HADOOP-11058. Missing HADOOP_CONF_DIR generates strange results (Masa…
aw-was-here Jan 6, 2015
d02fb53
HADOOP-11445. Bzip2Codec: Data block is skipped when position of newl…
jlowe Jan 6, 2015
dd57c20
YARN-2978. Fixed potential NPE while getting queue info. Contributed …
jian-he Jan 6, 2015
60103fc
YARN-2427. Added the API of moving apps between queues in RM web serv…
zjshen14 Jan 6, 2015
a0aeed1
MAPREDUCE-6206. TestAggregatedTransferRate fails on non-US systems. C…
jlowe Jan 6, 2015
788ee35
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/n…
Jan 7, 2015
fe8d2bd
YARN-2230. Fixed few configs description in yarn-default.xml. Contrib…
jian-he Jan 7, 2015
3ed0aed
HADOOP-11462. TestSocketIOWithTimeout needs change for PowerPC platfo…
cnauroth Jan 7, 2015
e13a484
YARN-3010. Fixed findbugs warning in AbstractYarnScheduler. Contribut…
jian-he Jan 7, 2015
e86943f
HDFS-7561. TestFetchImage should write fetched-image-dir under target…
shvachko Jan 8, 2015
2638f4d
YARN-2936. Changed YARNDelegationTokenIdentifier to set proto fields …
jian-he Jan 8, 2015
ef237bd
Moved YARN-2880 to improvement section in CHANGES.txt
jian-he Jan 8, 2015
2eba7eb
Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)
oza Jan 8, 2015
9886396
Revert "Replace use of Guava's Stopwatch with Hadoop's StopWatch. (oz…
oza Jan 8, 2015
a6ed489
HADOOP-11032. Replace use of Guava's Stopwatch with Hadoop's StopWatc…
oza Jan 8, 2015
dc2eaa2
YARN-2996. Improved synchronization and I/O operations of FS- and Mem…
zjshen14 Jan 8, 2015
20625c8
HADOOP-10651. Add ability to restrict service access using IP address…
Jan 8, 2015
708b1aa
HDFS-7589. Break the dependency between libnative_mini_dfs and libhdf…
cnauroth Jan 8, 2015
cc2a745
YARN-2997. Fixed NodeStatusUpdater to not send alreay-sent completed …
jian-he Jan 8, 2015
7e2d9a3
HDFS-7579. Improve log reporting during block report rpc failure. Con…
cnauroth Jan 8, 2015
ae91b13
HADOOP-11470. Remove some uses of obsolete guava APIs from the hadoop…
Jan 9, 2015
ab5cd99
YARN-3002. YARN documentation needs updating post-shell rewrite (aw)
aw-was-here Jan 9, 2015
8c3e888
HADOOP-11464. Reinstate support for launching Hadoop processes on Win…
cnauroth Jan 9, 2015
09d31bc
HADOOP-9992. Modify the NN loadGenerator to optionally run as a MapRe…
Jan 10, 2015
2a06101
HDFS-7182. JMX metrics aren't accessible when NN is busy. Contributed…
Jing9 Jan 10, 2015
27a489c
YARN-2956. Added missing links in YARN documentation. Contributed by …
jian-he Jan 10, 2015
a260406
YARN-3014. Replaces labels on a host should update all NM's labels on…
jian-he Jan 10, 2015
4d29142
HADOOP-11400. GraphiteSink does not reconnect to Graphite after 'brok…
raviprak Jan 10, 2015
ef3c3a8
HDFS-7596. NameNode should prune dead storages from storageMap. Contr…
cnauroth Jan 10, 2015
5b0d060
HDFS-7323. Move the get/setStoragePolicy commands out from dfsadmin. …
y-liu Jan 11, 2015
ae7bf31
YARN-3027. Scheduler should use totalAvailable resource from node ins…
rkanter Jan 12, 2015
f451631
YARN-2957. Create unit test to automatically compare YarnConfiguratio…
rkanter Jan 12, 2015
b78b4a1
HDFS-7326. Add documentation for hdfs debug commands (Vijay Bhat via …
Jan 12, 2015
6bbf9fd
HDFS-7533. Datanode sometimes does not shutdown on receiving upgrade …
kihwal Jan 12, 2015
f3507fa
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1
raviprak-altiscale Jan 12, 2015
b3ddd7e
HDFS-7598. Remove dependency on old version of Guava in TestDFSClient…
Jan 13, 2015
f761bd8
HDFS-5445. PacketReceiver populates the packetLen field in PacketHead…
Jan 13, 2015
6f3a63a
HDFS-7600. Refine hdfs admin classes to reuse common code. Contribute…
Jing9 Jan 13, 2015
5188153
YARN-2643. Don't create a new DominantResourceCalculator on every Fai…
rkanter Jan 13, 2015
c4cba61
HADOOP-11465. Fix findbugs warnings in hadoop-gridmix. (Contributed b…
arp7 Jan 13, 2015
7e9358f
HDFS-3107. Introduce truncate. Contributed by Plamen Jeliazkov.
pjeli Jan 13, 2015
08ac062
HDFS-7056. Snapshot support for truncate. Contributed by Konstantin S…
shvachko Jan 13, 2015
10ac5ab
MAPREDUCE-6173. Document the configuration of deploying MR over
xgong Jan 13, 2015
85aec75
HDFS-7570. SecondaryNameNode need twice memory when calling reloadFro…
cnauroth Jan 14, 2015
c53420f
YARN-2637. Fixed max-am-resource-percent calculation in CapacitySched…
jian-he Jan 14, 2015
f92e503
YARN-3019. Make work-preserving-recovery the default mechanism for RM…
JunpingDu Jan 14, 2015
d336d13
MAPREDUCE-6210. Use getApplicationAttemptId() instead of getApplicati…
aajisaka Jan 14, 2015
d15cbae
YARN-2807. Option "--forceactive" not works as described in usage of
xgong Jan 14, 2015
446545c
HDFS-7585. Get TestEnhancedByteBufferAccess working on CPU architectu…
Jan 14, 2015
7fe0f25
HDFS-2219. Change fsck to support fully qualified paths so that a par…
Jan 14, 2015
6464a89
HDFS-5782. Change BlockListAsLongs constructor to take Replica as par…
Jan 14, 2015
a5a033c
HDFS-7067. ClassCastException while using a key created by keytool to…
Jan 15, 2015
5805dc0
Add CHANGES.txt for HADOOP-11481
Jan 15, 2015
ba5116e
YARN-2217. [YARN-1492] Shared cache client side changes. (Chris Trezz…
kambatla Jan 15, 2015
db51548
HADOOP-11483. HardLink.java should use the jdk7 createLink method
aajisaka Jan 15, 2015
533e551
YARN-3005. [JDK7] Use switch statement for String instead of if-else …
aajisaka Jan 15, 2015
ce01176
HDFS-7581. HDFS documentation needs updating post-shell rewrite (aw)
aw-was-here Jan 15, 2015
ce29074
HADOOP-11318. Update the document for hadoop fs -stat
aajisaka Jan 15, 2015
a6efbb2
HDFS-7591. hdfs classpath command should support same options as hado…
arp7 Jan 15, 2015
9e33116
YARN-2861. Fixed Timeline DT secret manager to not reuse RM's configs…
jian-he Jan 15, 2015
b6ff9c0
HADOOP-8757. Metrics should disallow names with invalid characters (r…
rkanter Jan 15, 2015
44eed6c
HDFS-7615. Remove longReadLock. Contributed by Kihwal Lee.
kihwal Jan 15, 2015
780a6bf
HDFS-7457. DatanodeID generates excessive garbage. Contributed by Dar…
kihwal Jan 15, 2015
3ab3a64
HADOOP-11350. The size of header buffer of HttpServer is too small wh…
Jan 16, 2015
c4ccbe6
HDFS-7189. Add trace spans for DFSClient metadata operations. (Colin …
y-liu Jan 15, 2015
5d1cca3
YARN-3064. TestRMRestart/TestContainerResourceUsage/TestNodeManagerRe…
JunpingDu Jan 16, 2015
000ca83
HADOOP-11261 Set custom endpoint for S3A. (Thomas Demoor via stevel)
steveloughran Jan 16, 2015
9c94015
HDFS-7635. Remove TestCorruptFilesJsp from branch-2. Contributed by C…
cnauroth Jan 16, 2015
ec4389c
HDFS-7632. MiniDFSCluster configures DataNode data directories incorr…
cnauroth Jan 16, 2015
60cbcff
HDFS-7606. Fix potential NPE in INodeFile.getBlocks(). Contributed by…
shvachko Jan 16, 2015
8419856
YARN-2984. Metrics for container's actual memory usage. (kasha)
kambatla Jan 17, 2015
43302f6
YARN-2815. Excluded transitive dependency of JLine in hadoop-yarn-ser…
zjshen14 Jan 17, 2015
c6c0f4e
HADOOP-10542 Potential null pointer dereference in Jets3tFileSystemSt…
steveloughran Jan 17, 2015
2908fe4
HADOOP-11171 Enable using a proxy server to connect to S3a. (Thomas D…
steveloughran Jan 17, 2015
24315e7
HDFS-7573. Consolidate the implementation of delete() into a single c…
Dec 26, 2014
19cbce3
YARN-3070. TestRMAdminCLI#testHelp fails for transitionToActive comma…
JunpingDu Jan 19, 2015
4a5c3a4
YARN-3071. Remove invalid char from sample conf in doc of FairSchedul…
aajisaka Jan 19, 2015
e843a0a
HDFS-7637. Fix the check condition for reserved path. Contributed by …
Jing9 Jan 19, 2015
7fc1f2f
HADOOP-10668. TestZKFailoverControllerStress#testExpireBackAndForth o…
cnauroth Jan 19, 2015
4a44508
HDFS-5631. Change BlockMetadataHeader.readHeader(..), ChunkChecksum c…
Jan 19, 2015
cb0a15d
YARN-3015. yarn classpath command should support same options as hado…
cnauroth Jan 19, 2015
0a2d3e7
YARN-2933. Capacity Scheduler preemption policy should only consider …
wangdatan Jan 20, 2015
5e5e35b
HDFS-7640. print NFS Client in the NFS log. Contributed by Brandon Li.
Jan 20, 2015
5a6c084
HDFS-7638: Small fix and few refinements for FSN#truncate. (yliu)
y-liu Jan 19, 2015
c94c0d2
HADOOP-11489. Dropping dependency on io.netty from hadoop-nfs' pom.xm…
oza Jan 20, 2015
889ab07
HDFS-7641. Update archival storage user doc for list/set/get block st…
y-liu Jan 20, 2015
c09c65b
HDFS-7634. Disallow truncation of Lazy persist files. (Contributed by…
arp7 Jan 20, 2015
dd0228b
HDFS-7634. Fix CHANGES.txt
arp7 Jan 20, 2015
f250ad1
YARN-2731. Fixed RegisterApplicationMasterResponsePBImpl to properly …
wangdatan Jan 20, 2015
fc20129
HDFS-7623. Add htrace configuration properties to core-default.xml an…
y-liu Jan 20, 2015
b7f4a31
HDFS-7496. Fix FsVolume removal race conditions on the DataNode by re…
Jan 21, 2015
73b72a0
HDFS-7496: add to CHANGES.txt
Jan 21, 2015
a175849
HDFS-7610. Fix removal of dynamically added DN volumes (Lei (Eddy) Xu…
Jan 21, 2015
a122278
HDFS-7610. Add CHANGES.txt
Jan 21, 2015
6b17eb9
HDFS-7643. Test case to ensure lazy persist files cannot be truncated…
arp7 Jan 21, 2015
4271554
HADOOP-11256. Some site docs have inconsistent appearance (Masatake I…
aw-was-here Jan 21, 2015
07b0806
HADOOP-11327. BloomFilter#not() omits the last bit, resulting in an i…
jlowe Jan 21, 2015
220a49d
HADOOP-11484. hadoop-mapreduce-client-nativetask fails to build on AR…
Jan 21, 2015
39c1bcf
HADOOP-11484: move CHANGES.txt entry to 3.0
Jan 21, 2015
db334bb
HDFS-3443. Fix NPE when namenode transition to active during startup …
Jan 21, 2015
925c9fe
HADOOP-10668. Addendum patch to fix TestZKFailoverController. Contrib…
cnauroth Jan 21, 2015
c0af72c
HDFS-7548. Corrupt block reporting delayed until datablock scanner th…
kihwal Jan 21, 2015
0742591
MAPREDUCE-3283. mapred classpath CLI does not display the complete cl…
cnauroth Jan 21, 2015
a0521bc
HADOOP-11490. Expose truncate API via FileSystem and shell command. C…
shvachko Jan 21, 2015
ee7d22e
HADOOP-11466. FastByteComparisons: do not use UNSAFE_COMPARER on the …
Jan 22, 2015
a003f71
MAPREDUCE-5785. Derive heap size or mapreduce.*.memory.mb automatical…
gerashegalov Jan 22, 2015
6e62a1a
HDFS-7430. Refactor the BlockScanner to use O(1) memory and use multi…
Dec 17, 2014
5712c9f
YARN-3078. LogCLIHelpers lacks of a blank space before string 'does n…
oza Jan 22, 2015
786dbdf
HADOOP-11209. Configuration#updatingResource/finalParameters are not …
oza Jan 22, 2015
825923f
HADOOP-11500. InputStream is left unclosed in ApplicationClassLoader.…
oza Jan 22, 2015
d34074e
HDFS-7575. Upgrade should generate a unique storage ID for each volum…
arp7 Jan 22, 2015
fcf1058
HADOOP-11008. Remove duplicated description about proxy-user in site …
aw-was-here Jan 22, 2015
792b7d3
HDFS-7575. Fix CHANGES.txt
arp7 Jan 22, 2015
d3268c4
HDFS-3519. Checkpoint upload may interfere with a concurrent saveName…
cnauroth Jan 23, 2015
aee4500
HADOOP-11493. Fix some typos in kms-acls.xml description. (Contribute…
aajisaka Jan 23, 2015
5f124ef
HDFS-7660. BlockReceiver#close() might be called multiple times, whic…
y-liu Jan 22, 2015
3aab354
YARN-3082. Non thread safe access to systemCredentials in NodeHeartbe…
oza Jan 23, 2015
24aa462
YARN-2800. Remove MemoryNodeLabelsStore and add a way to enable/disab…
oza Jan 23, 2015
56df5f4
HADOOP-11507 Hadoop RPC Authentication problem with different user lo…
steveloughran Jan 23, 2015
4b00935
HADOOP-11482. Use correct UGI when KMSClientProvider is called by a p…
umbrant Jan 23, 2015
d411460
HDFS-7667. Various typos and improvements to HDFS Federation doc (Ch…
aw-was-here Jan 23, 2015
5c93ca2
HDFS-7644. minor typo in HttpFS doc (Charles Lamb via aw)
aw-was-here Jan 23, 2015
6c3fec5
HDFS-3750. API docs don't include HDFS (Jolly Chen via aw)
aw-was-here Jan 23, 2015
8f26d5a
HDFS-7320. The appearance of hadoop-hdfs-httpfs site docs is inconsis…
aw-was-here Jan 23, 2015
e9fd46d
HDFS-7659. truncate should check negative value of the new length. Co…
y-liu Jan 24, 2015
3ea353e
Move truncate related messages in CHANGES.txt to branch 2 section. (shv)
shvachko Jan 25, 2015
3703965
HDFS-7676. Fix TestFileTruncate to avoid bug of HDFS-7611. Contribute…
shvachko Jan 25, 2015
35f6496
HADOOP-11419 improve hadoop-maven-plugins. (Hervé Boutemy via stevel)
steveloughran Jan 25, 2015
0d6bd62
YARN-3024. LocalizerRunner should give DIE action when all resources are
xgong Jan 26, 2015
7b82c4a
HADOOP-11450. Cleanup DistCpV1 not to use deprecated methods and fix …
oza Jan 26, 2015
2b0fa20
HDFS-7224. Allow reuse of NN connections via webhdfs. Contributed by…
kihwal Jan 26, 2015
902c6ea
YARN-3088. LinuxContainerExecutor.deleteAsUser can throw NPE if nativ…
jlowe Jan 26, 2015
56b7ec7
MAPREDUCE-6141. History server leveldb recovery store. Contributed by…
jlowe Jan 26, 2015
7574df1
HADOOP-11499. Check of executorThreadsStarted in ValueQueue#submitRef…
jlowe Jan 26, 2015
21d5599
HADOOP-11466: move to 2.6.1
Jan 26, 2015
1f2b695
HADOOP-6221 RPC Client operations cannot be interrupted (stevel)
steveloughran Jan 26, 2015
0bf3339
HADOOP-11509. Change parsing sequence in GenericOptionsParser to parse
xgong Jan 26, 2015
6f9fe76
YARN-3092. Created a common ResourceUsage class to track labeled reso…
jian-he Jan 26, 2015
0da53a3
HDFS-49. MiniDFSCluster.stopDataNode will always shut down a node in …
steveloughran Jan 27, 2015
f56da3c
YARN-3086. Make NodeManager memory configurable in MiniYARNCluster. C…
oza Jan 27, 2015
ee1e06a
HADOOP-11469. KMS should skip default.key.acl and whitelist.key.acl w…
y-liu Jan 27, 2015
543064e
HADOOP-4297. Enable Java assertions when running tests. Contributed b…
Jan 27, 2015
1e2d98a
HDFS-7683. Combine usages and percent stats in NameNode UI. Contribut…
Jan 27, 2015
2848db8
HDFS-3689. Add support for variable length block. Contributed by Jing…
Jing9 Jan 27, 2015
4e15fc0
YARN-3011. Possible IllegalArgumentException in ResourceLocalizationS…
jian-he Jan 27, 2015
8bf6f0b
HADOOP-10626. Limit Returning Attributes for LDAP search. Contributed…
atm Jan 27, 2015
a8ad1e8
YARN-2897. CrossOriginFilter needs more log statements (Mit Desai via…
jteagles Jan 27, 2015
0a05ae1
HDFS-7566. Remove obsolete entries from hdfs-default.xml (Ray Chiang …
aw-was-here Jan 27, 2015
fd93e53
YARN-3028. Better syntax for replaceLabelsOnNode in RMAdmin CLI. Cont…
wangdatan Jan 27, 2015
18741ad
YARN-2932. Add entry for preemptable status (enabled/disabled) to sch…
wangdatan Jan 27, 2015
9ca565e
HDFS-7677. DistributedFileSystem#truncate should resolve symlinks. (y…
y-liu Jan 27, 2015
d12dd47
HDFS-7675. Remove unused member DFSClient.spanReceiverHost (cmccabe)
Jan 28, 2015
20a4768
HADOOP-11317. Increment SLF4J version to 1.7.10. Contributed by Tim R…
oza Jan 28, 2015
9850e15
HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails becau…
oza Jan 28, 2015
caf7298
HDFS-6673. Add delimited format support to PB OIV tool. Contributed b…
umbrant Jan 28, 2015
6d2bdbd
YARN-3103. AMRMClientImpl does not update AMRM token properly. Contri…
jian-he Jan 28, 2015
d244574
HDFS-7611. deleteSnapshot and delete of a file can leave orphaned blo…
Jing9 Jan 28, 2015
cff05bf
MAPREDUCE-6230. Fixed RMContainerAllocator to update the new AMRMToke…
jian-he Jan 28, 2015
5a0051f
HDFS-7681. Change ReplicaInputStreams constructor to take InputStream…
Jan 28, 2015
f378491
HDFS-7423. various typos and message formatting fixes in nfs daemon a…
y-liu Jan 28, 2015
7882bc0
YARN-3079. Scheduler should also update maximumAllocation when update…
wangdatan Jan 29, 2015
03a5e04
HADOOP-10525. Remove DRFA.MaxBackupIndex config from log4j.properties…
aajisaka Jan 29, 2015
fe2188a
MAPREDUCE-6231. Grep example job is not working on a fully-distribute…
aajisaka Jan 29, 2015
57b8950
HADOOP-10574. Bump the maven plugin versions too -moving the numbers …
aajisaka Jan 29, 2015
9dd0b7a
YARN-2428. LCE default banned user list should have yarn (Varun Saxen…
aw-was-here Jan 29, 2015
342efa1
HADOOP-9907. Webapp http://hostname:port/metrics link is not working.…
aajisaka Jan 29, 2015
89b0749
HDFS-7603. The background replication queue initialization may not le…
kihwal Jan 29, 2015
7acce7d
YARN-3029. FSDownload.unpack() uses local locale for FS case conversi…
oza Jan 29, 2015
ad55083
HADOOP-11441. Hadoop-azure: Change few methods scope to public. Contr…
cnauroth Jan 29, 2015
3f982c5
MAPREDUCE-6150. Update document of Rumen (Masatake Iwasaki via aw)
aw-was-here Jan 29, 2015
30a8778
YARN-3108. ApplicationHistoryServer doesn't process -D arguments (Cha…
jteagles Jan 29, 2015
e36ef3b
HADOOP-11403. Avoid using sys_errlist on Solaris, which lacks support…
Jan 29, 2015
f2c9109
HADOOP-11523. StorageException complaining " no lease ID" when updati…
cnauroth Jan 30, 2015
12e8830
MAPREDUCE-6151. Update document of GridMix (Masatake Iwasaki via aw)
aw-was-here Jan 30, 2015
951b360
HDFS-7706. Switch BlockManager logging to use slf4j.
umbrant Jan 30, 2015
8635822
YARN-3099. Capacity Scheduler LeafQueue/ParentQueue should use Resour…
jian-he Jan 30, 2015
8dc59cb
HADOOP-9137. Support connection limiting in IPC server. Contributed b…
kihwal Jan 30, 2015
09ad9a8
HADOOP-11498. Bump the version of HTrace to 3.1.0-incubating (Masatak…
Jan 31, 2015
054a947
YARN-3077. Fixed RM to create zk root path recursively. Contributed b…
jian-he Jan 31, 2015
26c2de3
HADOOP-11432. Fix SymlinkBaseTest#testCreateLinkUsingPartQualPath2. (…
gerashegalov Jan 31, 2015
ffc75d6
HADOOP-11488. Difference in default connection timeout for S3A FS. Co…
Jan 31, 2015
3472e3b
HADOOP-11494. Lock acquisition on WrappedInputStream#unwrappedRpcBuff…
Feb 2, 2015
f33c99b
YARN-3113. Release audit warning for Sorting icons.psd. Contributed b…
kihwal Feb 2, 2015
8004a00
HADOOP-10181. GangliaContext does not work with multicast ganglia set…
cnauroth Feb 2, 2015
1c09ca2
HADOOP-11442. hadoop-azure: Create test jar. Contributed by Shashank …
cnauroth Feb 2, 2015
52575ff
YARN-2808. Made YARN CLI list attempt’s finished containers of a runn…
zjshen14 Feb 2, 2015
5f9a0dd
YARN-2216. Fixed the change log.
zjshen14 Feb 2, 2015
df01337
Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2.
Feb 2, 2015
d085eb1
HDFS-7696. In FsDatasetImpl, the getBlockInputStream(..) and getTmpIn…
Feb 2, 2015
8acc5e9
MAPREDUCE-6143. add configuration for mapreduce speculative execution…
rkanter Feb 2, 2015
8cb4731
HDFS-6651. Deletion failure can leak inodes permanently. Contributed …
Feb 3, 2015
a761bf8
YARN-3085. Application summary should include the application type. C…
jlowe Feb 3, 2015
80705e0
HADOOP-11045. Introducing a tool to detect flaky tests of hadoop jenk…
oza Feb 3, 2015
f7a7781
YARN-3022. Expose Container resource information from NodeManager for…
rkanter Feb 3, 2015
c89977f
HADOOP-11529. Fix findbugs warnings in hadoop-archives. Contributed b…
Feb 3, 2015
1154281
HDFS-7721. The HDFS BlockScanner may run fast during the first hour (…
Feb 3, 2015
21d80b3
YARN-3098. Created common QueueCapacities class in Capacity Scheduler…
jian-he Feb 3, 2015
843806d
HDFS-7707. Edit log corruption due to delayed block removal again. Co…
kihwal Feb 3, 2015
5bd9846
YARN-3075. NodeLabelsManager implementation to retrieve label to node…
wangdatan Feb 3, 2015
c559df2
YARN-1393. SLS: Add how-to-use instructions. (Wei Yan via kasha)
kambatla Feb 3, 2015
bd69fb2
MAPREDUCE-5800. Use Job#getInstance instead of deprecated constructor…
aajisaka Feb 3, 2015
3ae38ec
HDFS-7712. Switch blockStateChangeLog to use slf4j.
umbrant Feb 3, 2015
b73e776
YARN-3056. Add verification for containerLaunchDuration in
xgong Feb 3, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion BUILDING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,13 @@ Requirements:
* ProtocolBuffer 2.5.0
* CMake 2.6 or newer
* Windows SDK or Visual Studio 2010 Professional
* Unix command-line tools from GnuWin32 or Cygwin: sh, mkdir, rm, cp, tar, gzip
* zlib headers (if building native code bindings for zlib)
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)
* Unix command-line tools from GnuWin32: sh, mkdir, rm, cp, tar, gzip. These
tools must be present on your PATH.

Unix command-line tools are also included with the Windows Git package which
can be downloaded from http://git-scm.com/download/win.

If using Visual Studio, it must be Visual Studio 2010 Professional (not 2012).
Do not use Visual Studio Express. It does not support compiling for 64-bit,
Expand All @@ -221,6 +225,8 @@ download here:

http://www.microsoft.com/en-us/download/details.aspx?id=8279

Cygwin is neither required nor supported.

----------------------------------------------------------------------------------
Building:

Expand Down
204 changes: 204 additions & 0 deletions dev-support/determine-flaky-tests-hadoop.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
#!/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 < 0x020600F0:
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 < 0x03000000:
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

SECONDS_PER_DAY = 86400

# total number of runs to examine
numRunsToExamine = 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",
default=DEFAULT_JOB_NAME)
parser.add_option("-n", "--num-days", type="int",
dest="num_prev_days", help="Number of days to examine",
default=DEFAULT_NUM_PREVIOUS_DAYS)

(options, args) = parser.parse_args()
if args:
parser.error("unexpected arguments: " + repr(args))
return options

""" Load data from specified url """
def load_url_data(url):
if onward30:
ourl = urllib.request.urlopen(url)
codec = ourl.info().get_param('charset')
content = ourl.read().decode(codec)
data = simplejson.loads(content)
else:
ourl = urllib2.urlopen(url)
data = simplejson.load(ourl)
return data

""" List all builds of the target project. """
def list_builds(jenkins_url, job_name):
url = "%(jenkins)s/job/%(job_name)s/api/json?tree=builds[url,result,timestamp]" % dict(
jenkins=jenkins_url,
job_name=job_name)

try:
data = load_url_data(url)

except:
logging.error("Could not fetch: %s" % url)
raise
return data['builds']

""" Find the names of any tests which failed in the given build output URL. """
def find_failing_tests(testReportApiJson, jobConsoleOutput):
ret = set()
try:
data = load_url_data(testReportApiJson)

except:
logging.error(" Could not open testReport, check " +
jobConsoleOutput + " for why it was reported failed")
return ret

for suite in data['suites']:
for cs in suite['cases']:
status = cs['status']
errDetails = cs['errorDetails']
if (status == 'REGRESSION' or status == 'FAILED' or (errDetails is not None)):
ret.add(cs['className'] + "." + cs['name'])

if len(ret) == 0:
logging.info(" No failed tests in testReport, check " +
jobConsoleOutput + " for why it was reported failed.")
return ret

""" Iterate runs of specfied job within num_prev_days and collect results """
def find_flaky_tests(jenkins_url, job_name, num_prev_days):
global numRunsToExamine
all_failing = dict()
# First list all builds
builds = list_builds(jenkins_url, job_name)

# Select only those in the last N days
min_time = int(time.time()) - SECONDS_PER_DAY * num_prev_days
builds = [b for b in builds if (int(b['timestamp']) / 1000) > min_time]

# Filter out only those that failed
failing_build_urls = [(b['url'] , b['timestamp']) for b in builds
if (b['result'] in ('UNSTABLE', 'FAILURE'))]

tnum = len(builds)
num = len(failing_build_urls)
numRunsToExamine = tnum
logging.info(" THERE ARE " + str(num) + " builds (out of " + str(tnum)
+ ") that have failed tests in the past " + str(num_prev_days) + " days"
+ ((".", ", as listed below:\n")[num > 0]))

for failed_build_with_time in failing_build_urls:
failed_build = failed_build_with_time[0];
jobConsoleOutput = failed_build + "Console";
testReport = failed_build + "testReport";
testReportApiJson = testReport + "/api/json";

ts = float(failed_build_with_time[1]) / 1000.
st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S')
logging.info("===>%s" % str(testReport) + " (" + st + ")")
failing = find_failing_tests(testReportApiJson, jobConsoleOutput)
if failing:
for ftest in failing:
logging.info(" Failed test: %s" % ftest)
all_failing[ftest] = all_failing.get(ftest,0)+1

return all_failing

def main():
global numRunsToExamine
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)

# set up logger to write to stdout
soh = logging.StreamHandler(sys.stdout)
soh.setLevel(logging.INFO)
logger = logging.getLogger()
logger.removeHandler(logger.handlers[0])
logger.addHandler(soh)

opts = parse_args()
logging.info("****Recently FAILED builds in url: " + opts.jenkins_url
+ "/job/" + opts.job_name + "")

all_failing = find_flaky_tests(opts.jenkins_url, opts.job_name,
opts.num_prev_days)
if len(all_failing) == 0:
raise SystemExit(0)
logging.info("\nAmong " + str(numRunsToExamine) + " runs examined, all failed "
+ "tests <#failedRuns: testName>:")

# print summary section: all failed tests sorted by how many times they failed
for tn in sorted(all_failing, key=all_failing.get, reverse=True):
logging.info(" " + str(all_failing[tn])+ ": " + tn)

if __name__ == "__main__":
main()
72 changes: 0 additions & 72 deletions dev-support/test-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -857,74 +857,6 @@ findModules () {
rm $TMP_MODULES
echo $CHANGED_MODULES
}
###############################################################################
### Run the test-contrib target
runContribTests () {
echo ""
echo ""
echo "======================================================================"
echo "======================================================================"
echo " Running contrib tests."
echo "======================================================================"
echo "======================================================================"
echo ""
echo ""

if [[ `$GREP -c 'test-contrib' build.xml` == 0 ]] ; then
echo "No contrib tests in this project."
return 0
fi

### Kill any rogue build processes from the last attempt
$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null

#echo "$ANT_HOME/bin/ant -Dversion="${VERSION}" $ECLIPSE_PROPERTY -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no test-contrib"
#$ANT_HOME/bin/ant -Dversion="${VERSION}" $ECLIPSE_PROPERTY -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no test-contrib
echo "NOP"
if [[ $? != 0 ]] ; then
JIRA_COMMENT="$JIRA_COMMENT

{color:red}-1 contrib tests{color}. The patch failed contrib unit tests."
return 1
fi
JIRA_COMMENT="$JIRA_COMMENT

{color:green}+1 contrib tests{color}. The patch passed contrib unit tests."
return 0
}

###############################################################################
### Run the inject-system-faults target
checkInjectSystemFaults () {
echo ""
echo ""
echo "======================================================================"
echo "======================================================================"
echo " Checking the integrity of system test framework code."
echo "======================================================================"
echo "======================================================================"
echo ""
echo ""

### Kill any rogue build processes from the last attempt
$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null

#echo "$ANT_HOME/bin/ant -Dversion="${VERSION}" -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no -Dcompile.c++=yes -Dforrest.home=$FORREST_HOME inject-system-faults"
#$ANT_HOME/bin/ant -Dversion="${VERSION}" -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no -Dcompile.c++=yes -Dforrest.home=$FORREST_HOME inject-system-faults
echo "NOP"
return 0
if [[ $? != 0 ]] ; then
JIRA_COMMENT="$JIRA_COMMENT

{color:red}-1 system test framework{color}. The patch failed system test framework compile."
return 1
fi
JIRA_COMMENT="$JIRA_COMMENT

{color:green}+1 system test framework{color}. The patch passed system test framework compile."
return 0
}

###############################################################################
### Submit a comment to the defect's Jira
submitJiraComment () {
Expand Down Expand Up @@ -1059,11 +991,7 @@ checkReleaseAuditWarnings
if [[ $JENKINS == "true" || $RUN_TESTS == "true" ]] ; then
runTests
(( RESULT = RESULT + $? ))
runContribTests
(( RESULT = RESULT + $? ))
fi
checkInjectSystemFaults
(( RESULT = RESULT + $? ))
JIRA_COMMENT_FOOTER="Test results: $BUILD_URL/testReport/
$JIRA_COMMENT_FOOTER"

Expand Down
2 changes: 1 addition & 1 deletion hadoop-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
limitations under the License. See accompanying LICENSE file.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hadoop</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.Charset;

/**
* Example that uses <code>AuthenticatedURL</code>.
Expand All @@ -39,7 +40,9 @@ public static void main(String[] args) {
System.out.println("Status code: " + conn.getResponseCode() + " " + conn.getResponseMessage());
System.out.println();
if (conn.getResponseCode() == HttpURLConnection.HTTP_OK) {
BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
BufferedReader reader = new BufferedReader(
new InputStreamReader(
conn.getInputStream(), Charset.forName("UTF-8")));
String line = reader.readLine();
while (line != null) {
System.out.println(line);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@
/**
* The {@link AuthenticatedURL} class enables the use of the JDK {@link URL} class
* against HTTP endpoints protected with the {@link AuthenticationFilter}.
* <p/>
* <p>
* The authentication mechanisms supported by default are Hadoop Simple authentication
* (also known as pseudo authentication) and Kerberos SPNEGO authentication.
* <p/>
* <p>
* Additional authentication mechanisms can be supported via {@link Authenticator} implementations.
* <p/>
* <p>
* The default {@link Authenticator} is the {@link KerberosAuthenticator} class which supports
* automatic fallback from Kerberos SPNEGO to Hadoop Simple authentication.
* <p/>
* <p>
* <code>AuthenticatedURL</code> instances are not thread-safe.
* <p/>
* <p>
* The usage pattern of the {@link AuthenticatedURL} is:
* <p/>
* <pre>
*
* // establishing an initial connection
Expand Down Expand Up @@ -240,7 +239,7 @@ public static void injectToken(HttpURLConnection conn, Token token) {

/**
* Helper method that extracts an authentication token received from a connection.
* <p/>
* <p>
* This method is used by {@link Authenticator} implementations.
*
* @param conn connection to extract the authentication token from.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* Interface for client authentication mechanisms.
* <p/>
* <p>
* Implementations are use-once instances, they don't need to be thread safe.
*/
public interface Authenticator {
Expand Down
Loading