Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8748 commits
Select commit Hold shift + click to select a range
ea38aa7
HDFS-11628. Clarify the behavior of HDFS Mover in documentation. Cont…
Apr 5, 2017
e5d5d0d
HADOOP-14276. Add a nanosecond API to Time/Timer/FakeTimer. Contribut…
zhe-thoughts Apr 6, 2017
60a3a63
HADOOP-14293. Initialize FakeTimer with a less trivial value.
umbrant Apr 10, 2017
ac76dc1
HDFS-11551. Handle SlowDiskReport from DataNode at the NameNode. Cont…
Apr 11, 2017
f2d1d3d
Revert "HDFS-11551. Handle SlowDiskReport from DataNode at the NameNo…
arp7 Apr 11, 2017
9f4585c
HDFS-11608. HDFS write crashed with block size greater than 2 GB. Con…
arp7 Apr 11, 2017
7a3f9e8
HADOOP-14066 VersionInfo should be marked as public API
steveloughran Apr 8, 2017
fac5bdc
HADOOP-14195. CredentialProviderFactory$getProviders is not thread-sa…
jzhuge Apr 13, 2017
ccd24f0
HDFS-11615. FSNamesystemLock metrics can be inaccurate due to millise…
zhe-thoughts Apr 17, 2017
5a714fe
HDFS-11634. Optimize BlockIterator when interating starts in the midd…
shvachko Apr 17, 2017
54bbdb4
Update CHANGES.txt for HDFS-11634.
shvachko Apr 18, 2017
ac12063
HDFS-10455. Logging the username when deny the setOwner operation. Co…
brahmareddybattula Nov 1, 2016
bec2359
HDFS-11709. StandbyCheckpointer should handle an non-existing legacyO…
zhe-thoughts Apr 27, 2017
cf5abf8
HDFS-11384. Balancer disperses getBlocks calls to avoid NameNode's rp…
shvachko Apr 27, 2017
5e67eb7
Update CHANGES.txt for HDFS-11384 branch-2.7.
shvachko Apr 27, 2017
8ad9efb
HDFS-8873. Allow the directoryScanner to be rate-limited. Contributed…
zhe-thoughts Apr 27, 2017
139327d
HDFS-11609. Some blocks can be permanently lost if nodes are decommis…
kihwal May 1, 2017
130a0e2
HDFS-11714. Newly added NN storage directory won't get initialized an…
kihwal May 1, 2017
60e74ed
HADOOP-14371. License error in TestLoadBalancingKMSClientProvider.jav…
aajisaka May 2, 2017
a00cef6
HDFS-11717. Add unit test for HDFS-11709 StandbyCheckpointer should h…
xkrogen May 3, 2017
c7c4108
Update CHANGES.txt for HDFS-11717 branch-2.7.
shvachko May 3, 2017
0a149f3
YARN-4562. YARN WebApp ignores the configuration passed to it for key…
varun-vasu Apr 11, 2016
0187892
HADOOP-14374. License error in GridmixTestUtils.java. Contributed by …
aajisaka May 9, 2017
f8e893f
YARN-6457. Allow custom SSL configuration to be supplied in WebApps. …
May 8, 2017
6599e57
HDFS-11766. Fix findbugs warning in branch-2.7. Contributed by Chen L…
aajisaka May 9, 2017
9088f83
Update CHANGES.txt for YARN-6457 branch-2.7.
aajisaka May 9, 2017
2875462
HADOOP-14100. Upgrade Jsch jar to latest version to fix vulnerability…
aajisaka May 9, 2017
48c5e37
HDFS-11373. Backport HDFS-11258 and HDFS-11272(File mtime change coul…
brahmareddybattula May 10, 2017
f052976
HDFS-11795. Fix ASF License warnings in branch-2.7. Contributed by Yi…
aajisaka May 10, 2017
834d421
HADOOP-12975. Add jitter to CachingGetSpaceUsed's thread (Elliott Cla…
shvachko May 11, 2017
879dc57
HADOOP-11703. git should ignore .DS_Store files on Mac OS X (Abin Sha…
aw-was-here Mar 11, 2015
f30484e
Update CHANGES.txt for HADOOP-11703.
shvachko May 11, 2017
db72660
HADOOP-12173. NetworkTopology::add calls toString always. Contributed…
cdouglas Jul 3, 2015
764fd3e
HDFS-9902. Support different values of dfs.datanode.du.reserved per s…
brahmareddybattula May 11, 2017
28b9476
YARN-5543. ResourceManager SchedulingMonitor could potentially termin…
Victsm May 11, 2017
b0b6de3
HDFS-11674. reserveSpaceForReplicas is not released if append request…
vinayakumarb May 12, 2017
3252064
HADOOP-14376. Memory leak when reading a compressed file using the na…
jlowe May 12, 2017
b95d63c
HDFS-10987. Make Decommission less expensive when lot of blocks prese…
brahmareddybattula May 16, 2017
3004358
HDFS-8312. Trash does not descent into child directories to check for…
brahmareddybattula May 16, 2017
0823fb7
HDFS-8498. Blocks can be committed with wrong size. Contributed by Ji…
shvachko May 16, 2017
2b58fb8
HADOOP-14434. Use MoveFileEx to allow renaming a file when the destin…
cdouglas May 18, 2017
2c3f6ae
HDFS-7990. IBR delete ack should not be delayed. Contributed by Daryn…
shvachko May 18, 2017
42c2d36
MAPREDUCE-6304. Specifying node labels when submitting MR jobs. Contr…
shvachko May 18, 2017
0a4d8f6
YARN-4109. Exception on RM scheduler page loading with labels. (Moham…
rohithsharmaks Dec 23, 2015
eecc68d
HDFS-9726. Refactor IBR code to a new class. Contributed by Tsz-Wo Ni…
shvachko May 19, 2017
6feef1b
YARN-4302. SLS not able start due to NPE in SchedulerApplicationAttem…
varun-vasu Oct 27, 2015
94031b1
YARN-4367. SLS webapp doesn't load. (kasha)
kambatla Nov 18, 2015
43ea501
YARN-4612. Fix rumen and scheduler load simulator handle killed tasks
xgong Jan 27, 2016
321f730
HDFS-9412. getBlocks occupies FSLock and takes too long to complete. …
shvachko May 21, 2017
9440ec2
HDFS-8131. Implement a space balanced block placement policy. Contrib…
kihwal May 19, 2015
8a0e5e3
HDFS-10715. NPE when applying AvailableSpaceBlockPlacementPolicy. Con…
aajisaka Aug 5, 2016
cecedcf
HDFS-11849. JournalNode startup failure exception should be logged in…
brahmareddybattula May 22, 2017
e9575d7
YARN-6493. Print requested node partition in assignContainer logs. (J…
wangdatan May 22, 2017
f467812
HDFS-11377. Balancer hung due to no available mover threads. Contribu…
linyiqun Feb 6, 2017
cf3bf3c
Update CHANGES.txt for YARN-6493
wangdatan May 23, 2017
0b53e9f
Update CHANGES.txt for HDFS-11849
brahmareddybattula May 23, 2017
7ae1bc3
HDFS-11864. Document Metrics to track usage of memory for writes. Con…
brahmareddybattula May 23, 2017
6d65705
Update CHANGES.txt for HDFS-11377.
shvachko May 23, 2017
f99a48a
YARN-6615. AmIpFilter drops query parameters on redirect. Contributed…
jlowe May 24, 2017
ac1b8ff
HDFS-9710. DN can be configured to send block receipt IBRs in batches…
shvachko May 24, 2017
2b06789
Commit missing file TestBatchIbr for HDFS-9710 backport.
shvachko May 24, 2017
61ba70c
HADOOP-7851. Configuration.getClasses() never returns the default val…
Dec 9, 2011
b6afb4a
HDFS-6291. FSImage may be left unclosed in BootstrapStandby#doRun() (…
vinayakumarb May 8, 2015
f225b55
HADOOP-13026 Should not wrap IOExceptions into a AuthenticationExcept…
steveloughran Apr 15, 2016
724a5f3
HDFS-11445. FSCK shows overall health stauts as corrupt even one repl…
brahmareddybattula May 25, 2017
948d0ac
Fix NPE in LazyPersistFileScrubber. Contributed by Inigo Goiri.
goiri May 26, 2017
cafee11
HDFS-8674. Improve performance of postponed block scans. Contributed …
kihwal Dec 1, 2016
b60e11e
YARN-6304. Skip rm.transitionToActive call to RM if RM is already act…
JunpingDu Apr 17, 2017
fd83491
Update CHANGES.txt for YARN-6304.
aajisaka May 30, 2017
81712e8
HDFS-10619. Cache path in InodesInPath. Contributed by Daryn Sharp.
kihwal Oct 3, 2016
1903665
HDFS-11648. Lazy construct the IIP pathname. Contributed by Daryn Sharp.
kihwal Apr 12, 2017
fd11253
YARN-5333. Some recovered apps are put into default queue when RM HA.…
sunilgovind Jun 1, 2017
2b19c7b
HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Con…
brahmareddybattula Jun 1, 2017
38bc12c
Updating CHANGES.txt for HDFS-11078
brahmareddybattula Jun 1, 2017
01cdea7
HDFS-5042. Completed files lost after power failure. Contributed by V…
kihwal Jun 1, 2017
d3b8623
HDFS-11856. Ability to re-add upgrading nodes to pipeline for future …
kihwal Jun 1, 2017
67e87c9
HADOOP-14474. Use OpenJDK 7 instead of Oracle JDK 7 to avoid oracle-j…
xiao-chen Jun 2, 2017
4f2ff85
YARN-4925. ContainerRequest in AMRMClient, application should be able…
naga-apache May 18, 2016
12f819a
YARN-4140. RM container allocation delayed incase of app submitted to…
wangdatan Oct 9, 2015
647077f
YARN-4250. NPE in AppSchedulingInfo#isRequestLabelChanged. (Brahma Re…
rohithsharmaks Oct 14, 2015
d1f71aa
YARN-5988. RM unable to start in secure setup. Contributed by Ajith S.
sunilgovind Jun 4, 2017
abf959f
YARN-4927. TestRMHA#testTransitionedToActiveRefreshFail fails with Fa…
kambatla Apr 9, 2016
f8969e2
YARN-1471. Preserve scheduler typeinfo in simulator to work with reso…
cdouglas Jun 5, 2017
db81fbb
HDFS-8549. Abort the balancer if an upgrade is in progress. Contribut…
umbrant Jun 10, 2015
d2ec34d
HDFS-11708. Positional read will fail if replicas moved to different …
vinayakumarb Jun 7, 2017
a91a103
HDFS-11743. Revert the incompatible fsck reporting output in HDFS-793…
zhe-thoughts Jun 6, 2017
b5f25a1
YARN-4017. container-executor overuses PATH_MAX. Contributed by Sidha…
varun-vasu Oct 13, 2015
b6f3e1a
YARN-5121. fix some container-executor portability issues. Contribute…
cnauroth Jul 30, 2016
11e6c96
HADOOP-14440. Add metrics for connections dropped. Contributed by Eri…
kihwal Jun 5, 2017
59fab4e
HDFS-11736. OIV tests should not write outside 'target' directory. Co…
aajisaka Jun 15, 2017
f36da00
HDFS-11583. Parent spans are not initialized to NullScope for every D…
aajisaka Jun 15, 2017
0dcd737
YARN-6719. Fix findbugs warnings in SLSCapacityScheduler.java. Contri…
naga-apache Jun 19, 2017
80ed105
Update CHANGES.txt for YARN-6719.
aajisaka Jun 19, 2017
9c75850
MAPREDUCE-6433. launchTime may be negative. Contributed by Zhihai Xu.
aajisaka Jun 26, 2017
51f012a
HDFS-7847. Modify NNThroughputBenchmark to be able to operate on a re…
May 5, 2015
2af5548
HDFS-9421. NNThroughputBenchmark replication test NPE with -namenode …
xiaoyuyao Nov 17, 2015
53907b6
HDFS-9503. Use generic option -fs for NNThroughputBenchmark instead o…
shvachko Feb 2, 2016
0ee637f
HADOOP-14044. Synchronization issue in delegation token cancel functi…
xiao-chen Feb 4, 2017
c5e9a15
HADOOP-14586. StringIndexOutOfBoundsException breaks org.apache.hadoo…
shvachko Jul 11, 2017
187bb77
HDFS-11741. Long running balancer may fail due to expired DataEncrypt…
xiao-chen May 31, 2017
7d24d47
MAPREDUCE-6697. Concurrent task limits should only be applied when ne…
aajisaka Jun 28, 2017
e8d49c7
YARN-3260. AM attempt fail to register before RM processes launch eve…
jlowe Jul 14, 2017
7b2609d
Add CHANGES entry for YARN-3260
jlowe Jul 14, 2017
f41d7b1
YARN-6818. User limit per partition is not honored in branch-2.7. Con…
hungj Jul 17, 2017
978ba21
HADOOP-14356. Update CHANGES.txt to reflect all the changes in branch…
brahmareddybattula Jul 17, 2017
aa5d433
HDFS-11345. Document the configuration key for FSNamesystem lock fair…
aajisaka Jun 20, 2017
1edefb5
HDFS-11472. Fix inconsistent replica size after a data pipeline failu…
shvachko Jul 20, 2017
ef371dd
HADOOP-13867. FilterFileSystem should override rename(.., options) to…
brahmareddybattula Dec 8, 2016
1865cc5
HDFS-12177. NameNode exits due to setting BlockPlacementPolicy loglev…
brahmareddybattula Jul 21, 2017
62ce8f0
HDFS-11742. Improve balancer usability after HDFS-8818. Contributed b…
kihwal Jul 21, 2017
18fe88a
HADOOP-10829. Iteration on CredentialProviderFactory.serviceLoader is…
jnp Jul 7, 2017
964e192
Addendum fix for HADOOP-10829 to update CHANGES.txt
zhe-thoughts Jul 25, 2017
e53c489
HADOOP-14214. DomainSocketWatcher::add()/delete() should not self int…
liuml07 Mar 23, 2017
ca523c9
HADOOP-14686 update .gitignore
busbey Jul 26, 2017
c2c40b4
Revert "HADOOP-14686 update .gitignore"
shvachko Jul 26, 2017
b516235
HADOOP-14686. Add patchprocess/ to .gitignore. Contributed by Sean Bu…
busbey Jul 26, 2017
f90b9d2
HDFS-11896. Non-dfsUsed will be doubled on dead node re-registration.…
brahmareddybattula Jul 27, 2017
7be4898
Preparing for 2.7.5 development
shvachko Jul 27, 2017
c521acd
HADOOP-14702. Fix formatting issue and regression caused by conversio…
iwasakims Aug 2, 2017
4ed7df2
Set the release date for 2.7.4.
shvachko Aug 5, 2017
ae85407
HDFS-12157. Do fsyncDirectory(..) outside of FSDataset lock. Contribu…
kihwal Aug 9, 2017
8e675d9
YARN-6959. RM may allocate wrong AM Container for new attempt. Contri…
jian-he Aug 17, 2017
3f5c67d
MAPREDUCE-6937. Backport MAPREDUCE-6870 to branch-2 while preserving …
haibchen Aug 30, 2017
39d3574
HDFS-9153. Pretty-format the output for DFSIO. Contributed by Kai Zheng.
Nov 23, 2015
abd741a
MAPREDUCE-6931. Remove TestDFSIO "Total Throughput" calculation. Cont…
shvachko Aug 22, 2017
70df729
HDFS-8797. WebHdfsFileSystem creates too many connections for pread. …
Jing9 Jul 23, 2015
c2350ec
HDFS-9107. Prevent NN's unrecoverable death spiral after full GC (Dar…
Sep 25, 2015
03892df
HADOOP-14827. Allow StopWatch to accept a Timer parameter for tests. …
jlowe Sep 6, 2017
0dca198
HDFS-12131. Add some of the FSNamesystem JMX values as metrics. Contr…
umbrant Aug 3, 2017
aa760e9
HADOOP-13442. Optimize UGI group lookups. Contributed by Daryn Sharp.
kihwal Aug 4, 2016
b40b8a0
HDFS-10738. Fix TestRefreshUserMappings.testRefreshSuperUserGroupsCon…
kihwal Aug 22, 2016
e89de1f
MAPREDUCE-6750. Fix TestHSAdminServer#testRefreshSuperUserGroups (Kih…
varunsaxena Aug 9, 2016
74e7c9b
HADOOP-14867. Update HDFS Federation setup document, for incorrect pr…
arp7 Sep 13, 2017
98986d1
Update CHANGES.txt for HADOOP-14827
jlowe Sep 13, 2017
b637f95
MAPREDUCE-6957. shuffle hangs after a node manager connection timeout…
jlowe Sep 13, 2017
0507a01
HDFS-10711. Optimize FSPermissionChecker group membership check. Cont…
kihwal Sep 2, 2016
f644b87
HDFS-12323. NameNode terminates after full GC thinking QJM unresponsi…
xkrogen Sep 14, 2017
ee7a94e
HDFS-12323. Add CHANGES.txt
shvachko Sep 15, 2017
897c10c
YARN-5195. RM intermittently crashed with NPE while handling APP_ATTE…
jlowe Sep 21, 2017
150222c
HADOOP-14881. LoadGenerator should use Time.monotonicNow() to measure…
jlowe Sep 25, 2017
ffe42e6
HADOOP-14902. LoadGenerator#genFile write close timing is incorrectly…
jlowe Sep 28, 2017
90aae39
YARN-7084. TestSchedulingMonitor#testRMStarts fails sporadically. Con…
erichadoop Sep 29, 2017
21db218
HDFS-8865. Improve quota initialization performance. Contributed by K…
xiao-chen Oct 2, 2017
0613956
Update CHANGES.txt for HDFS-8865
xiao-chen Oct 2, 2017
171a0bd
HDFS-9003. ForkJoin thread pool leaks. Contributed by Kihwal Lee.
Jing9 Sep 2, 2015
d101b98
HDFS-12578. TestDeadDatanode#testNonDFSUsedONDeadNodeReReg failing in…
xiao-chen Oct 13, 2017
754a375
HDFS-12596. Add TestFsck#testFsckCorruptWhenOneReplicaIsCorrupt back …
xiao-chen Oct 13, 2017
c068512
HDFS-12420. Add an option to disallow 'namenode format -force'. Contr…
arp7 Oct 5, 2017
5ef106a
HDFS-10984. Expose nntop output as metrics. Contributed by Siddharth …
xiaoyuyao Oct 11, 2016
53a261a
HDFS-12502. nntop should support a category based on FilesInGetListin…
zhe-thoughts Oct 19, 2017
3b45c27
Revert "HDFS-12502. nntop should support a category based on FilesInG…
zhe-thoughts Oct 24, 2017
bfa736b
Remove parent's env vars from child processes. Contributed by Vinayak…
naga-apache Oct 25, 2017
17e7c9d
HADOOP-14919. BZip2 drops records when reading data in splits. Contri…
jlowe Oct 31, 2017
0c86dc8
MAPREDUCE-6975. Logging task counters. Contributed by Prabhu Joseph.
naga-apache Nov 6, 2017
feb886f
Fixing Job History Server Configuration parsing. (Jason Lowe via asur…
xslogic Nov 9, 2017
6f876f4
HDFS-8829. Make SO_RCVBUF and SO_SNDBUF size configurable for DataTra…
Sep 14, 2015
0da13b9
HDFS-12823. Backport HDFS-9259 "Make SO_SNDBUF size configurable at D…
zhe-thoughts Nov 18, 2017
7252e18
HDFS-12832. INode.getFullPathName may throw ArrayIndexOutOfBoundsExce…
shvachko Nov 29, 2017
85eb32b
HDFS-12638. Delete copy-on-truncate block along with the original blo…
shvachko Dec 1, 2017
e650fcf
MAPREDUCE-5124. AM lacks flow control for task events. Contributed by…
jlowe Dec 1, 2017
bb44d8e
Revert MAPREDUCE-5124 from 2.7.5.
shvachko Dec 2, 2017
c3782d8
Preparing for 2.7.6 development
shvachko Dec 2, 2017
fbb44d7
MAPREDUCE-6165. [JDK8] TestCombineFileInputFormat failed on JDK8. Con…
oza May 5, 2015
261f8ab
Update CHANGES.txt for HADOOP-14867, HADOOP-14919, HDFS-12578, HDFS-1…
shvachko Dec 7, 2017
a4dd069
MAPREDUCE-5124. AM lacks flow control for task events. Contributed by…
jlowe Dec 8, 2017
94dfcd2
HDFS-12881. Output streams closed with IOUtils suppressing write erro…
jlowe Dec 15, 2017
dd5d00b
Set the release date for 2.7.5
shvachko Dec 15, 2017
cf99cd1
Update index.md.vm to reflect summary of changes in release 2.7.5
shvachko Dec 16, 2017
fb19423
YARN-7661. NodeManager metrics return wrong value after update node r…
jlowe Dec 18, 2017
5ec3335
YARN-3425. NPE from RMNodeLabelsManager.serviceStop when NodeLabelsMa…
wangdatan Apr 1, 2015
40faf49
YARN-4167. NPE on RMActiveServices#serviceStop when store is null. (B…
rohithsharmaks Sep 21, 2015
c3bbfa9
MAPREDUCE-7028. Concurrent task progress updates causing NPE in Appli…
jlowe Jan 3, 2018
1c798e7
HDFS-12347. TestBalancerRPCDelay#testBalancerRPCDelay fails very freq…
Dec 19, 2017
e03cee7
HADOOP-12181. Fix intermittent test failure of TestZKSignerSecretProv…
Nov 23, 2015
9e5fffa
HADOOP-12611. TestZKSignerSecretProvider#testMultipleInit occasionall…
rkanter Oct 7, 2016
88d951e
HADOOP-14246. Authentication Tokens should use SecureRandom instead o…
templedf Apr 12, 2017
17a673e
HADOOP-15177. Update the release year to 2018. Contributed by Bharat …
aajisaka Jan 18, 2018
ea57d10
HADOOP-14842. Hadoop 2.8.2 release build process get stuck due to jav…
JunpingDu Sep 8, 2017
83177a2
YARN-7590. Improve container-executor validation check. Contributed b…
miklosszegedi Jan 18, 2018
dec5f3e
Move changes for YARN-7590 to hadoop-yarn-project/CHANGES.txt
shvachko Jan 18, 2018
d2531df
HADOOP-12751. While using kerberos Hadoop incorrectly assumes names w…
steveloughran May 6, 2016
9ff8597
HADOOP-13263. Reload cached groups in background after expiry. (Contr…
arp7 Jun 27, 2016
e029556
HADOOP-13375. o.a.h.security.TestGroupsCaching.testBackgroundRefreshC…
liuml07 Sep 1, 2016
314f09d
HDFS-11003. Expose XmitsInProgress through DataNodeMXBean. Contribute…
brahmareddybattula Oct 15, 2016
d37b73c
HADOOP-13508. FsPermission string constructor does not recognize stic…
jojochuang Dec 15, 2016
3345d11
HDFS-12371. BlockVerificationFailures and BlocksVerified show up as 0…
kihwal Sep 21, 2017
995e059
HADOOP-15143. NPE due to Invalid KerberosTicket in UGI. Contributed b…
jnp Jan 2, 2018
1ef88c9
MAPREDUCE-7020. Task timeout in uber mode can crash AM. Contributed b…
jlowe Jan 26, 2018
6ea2a93
HADOOP-15212. Add independent secret manager method for logging expir…
kihwal Feb 6, 2018
dc57c1d
HDFS-13120. Snapshot diff could be corrupted after concat. Contribute…
xiaoyuyao Feb 8, 2018
53a72f6
HDFS-7959. WebHdfs logging is missing on Datanode (Kihwal Lee via sjlee)
kihwal Aug 19, 2016
02f6030
HDFS-10453. ReplicationMonitor thread could stuck for long time due t…
arp7 Feb 12, 2018
6d3cf02
HDFS-10453. Update CHANGES.txt.
arp7 Feb 12, 2018
331d384
MAPREDUCE-7048. Uber AM can crash due to unknown task in statusUpdate…
jlowe Feb 12, 2018
3630c07
HADOOP-9477. Add posixGroups support for LDAP groups mapping service.…
Mar 12, 2015
faf87dd
HADOOP-12568. Update core-default.xml to describe posixGroups support…
aajisaka Nov 18, 2015
7a40641
xattr api cleanup
kihwal Feb 15, 2018
010ed19
MAPREDUCE-7052. TestFixedLengthInputFormat#testFormatCompressedIn is …
jlowe Feb 15, 2018
7f6ab3f
HDFS-13112. Token expiration edits may cause log corruption or deadlo…
kihwal Feb 15, 2018
75a303b
HADOOP-15206. BZip2 drops and duplicates records when input split siz…
jlowe Feb 16, 2018
829959a
HDFS-11187. Optimize disk access for last partial chunk checksum of F…
xiao-chen Feb 21, 2018
1f2ab8b
HDFS-4210. Throw helpful exception when DNS entry for JournalNode can…
xiao-chen Aug 30, 2016
7eb70a8
HADOOP-15283. Upgrade from findbugs 3.0.1 to spotbugs 3.1.2 in branch…
aajisaka Mar 4, 2018
06eafee
HADOOP-15279. increase maven heap size recommendations
aw-was-here Mar 1, 2018
98f9d6f
HADOOP-12001. Fixed LdapGroupsMapping to include configurable Posix U…
vinoduec Jun 15, 2015
00f7d72
HADOOP-12472. Make GenericTestUtils.assertExceptionContains robust. C…
Jing9 Oct 26, 2015
b2015d2
HADOOP-13105. Support timeouts in LDAP queries in LdapGroupsMapping. …
cnauroth Jun 3, 2016
fec04c4
Revert "HADOOP-13119. Add ability to secure log servlet using proxy u…
shvachko Mar 16, 2018
37403e1
HDFS-12884. BlockUnderConstructionFeature.truncateBlock should be of …
shvachko Mar 21, 2018
85502d3
HDFS-13195. DataNode conf page cannot display the current value after…
kihwal Mar 22, 2018
94bb6fa
HDFS-12299. Race Between update pipeline and DN Re-Registration. Cont…
kihwal Aug 25, 2017
65baefb
HADOOP-15345. Backport HADOOP-12185 to branch-2.7: NetworkTopology is…
Mar 28, 2018
caf518c
HADOOP-12862. LDAP Group Mapping over SSL can not specify trust store…
shvachko Mar 30, 2018
257d5a1
Revert "HDFS-12299. Race Between update pipeline and DN Re-Registrati…
shvachko Mar 30, 2018
4a5d0e5
HDFS-12299. Race Between update pipeline and DN Re-Registration. Cont…
shvachko Mar 30, 2018
d9df7cd
Update CHANGES.txt for HADOOP-15212, HADOOP-15345, HADOOP-15143, HDFS…
shvachko Mar 31, 2018
dbdf662
YARN-7249. Fix CapacityScheduler NPE issue when a container preempted…
erichadoop Sep 26, 2017
b4d24d8
Preparing for 2.7.7 development
shvachko Apr 6, 2018
f7830f3
HADOOP-14970. MiniHadoopClusterManager doesn't respect lack of format…
xkrogen Apr 13, 2018
027b8c0
Set the release date for 2.7.6
shvachko Apr 17, 2018
112041d
Update index.md.vm to reflect summary of changes in release 2.7.6
shvachko Apr 18, 2018
20c6b44
HDFS-12156. TestFSImage fails without -Pnative
aajisaka Mar 13, 2018
e877734
HDFS-13486. Backport HDFS-11817 (A faulty node can cause a lease leak…
jojochuang May 7, 2018
04219e5
Skip the proxy user check if the ugi has not been initialized. Contri…
shahrs87 May 21, 2018
45a1c68
Additional check when unpacking archives. Contributed by Jason Lowe a…
aajisaka May 23, 2018
7be1bc5
Addendum fix in container executor. Contributed by Wilfred Spiegelenb…
aajisaka May 23, 2018
be22e24
HADOOP-15486. Make NetworkTopology#netLock fair. Contributed by Nanda…
arp7 May 23, 2018
5b57f9c
HADOOP-15473. Configure serialFilter in KeyProvider to avoid Unrecove…
xiao-chen May 25, 2018
eaa2b80
Additional check when unpacking archives. Contributed by Wilfred Spie…
kihwal May 29, 2018
25052fb
HDFS-13602. Add checkOperation(WRITE) checks in FSNamesystem. Contrib…
sunchao May 31, 2018
8ae2ca4
HADOOP-15509 Preparing to release Hadoop 2.7.7: Update CHANGES.TXT files
steveloughran Jun 3, 2018
1714b12
Preparing for 2.7.8 development
steveloughran Jun 3, 2018
e5df5ce
HADOOP-14891. Remove references to Guava Objects.toStringHelper. Cont…
jlowe Sep 26, 2017
b9c2cda
Fix potential FSImage corruption. Contributed by Ekanth Sethuramaling…
shvachko Jul 17, 2018
4845464
HADOOP-15509. Set the release date for 2.7.7 to 2018-07-18.
steveloughran Jul 23, 2018
2ed1a5d
HADOOP-15674. Test failure TestSSLHttpServer.testExcludedCiphers with…
xiao-chen Aug 17, 2018
a9d86c5
YARN-8640. Restore previous state in container-executor after failure…
jlowe Aug 17, 2018
0a3eefe
HDFS-13812. Fix the inconsistent default refresh interval on Caching …
Sep 5, 2018
feefa57
MAPREDUCE-7131. Job History Server has race condition where it moves …
jlowe Sep 6, 2018
9914613
MAPREDUCE-7133. History Server task attempts REST API returns invalid…
jlowe Sep 13, 2018
b9b7377
HADOOP-15735. backport HADOOP-11687 Intermittent signature match fail…
steveloughran Sep 21, 2018
bd79bfc
HDFS-12319. DirectoryScanner will throw IllegalStateException when Mu…
arp7 Aug 25, 2017
29d969e
HADOOP-15900. Update JSch versions in LICENSE.txt.
aajisaka Nov 5, 2018
af3b37d
YARN-4245. Generalize config file handling in container-executor. Con…
Nov 12, 2018
1569cc6
Disable mounting cgroups by default ([email protected] via …
Nov 12, 2018
b1258ad
HADOOP-15959. Revert "HADOOP-12751. While using kerberos Hadoop incor…
steveloughran Nov 30, 2018
d9fe688
HDFS-13999. Bogus missing block warning if the file is under construc…
jojochuang Dec 4, 2018
6ef99d1
HADOOP-16009. Replace the url of the repository in Apache Hadoop sour…
aajisaka Dec 30, 2018
cc5bc89
HADOOP-16025. Update the year to 2019.
Jan 2, 2019
109d446
Fix potential FSImage corruption. Contributed by Ekanth Sethuramaling…
Sep 17, 2018
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Auto detect text files and perform LF normalization
* text=auto

*.cs text diff=csharp
*.java text diff=java
*.html text diff=html
*.py text diff=python
*.pl text diff=perl
*.pm text diff=perl
*.css text
*.js text
*.sql text

*.sh text eol=lf

*.bat text eol=crlf
*.cmd text eol=crlf
*.vcxproj text merge=union eol=crlf
*.csproj text merge=union eol=crlf
*.sln text merge=union eol=crlf
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
.DS_Store
*.iml
*.ipr
*.iws
*.orig
*.rej
**/.keep
*.sdf
*.suo
*.vcxproj.user
.idea
.svn
.classpath
.project
.settings
target
build

# External tool builders
*/.externalToolBuilders
*/maven-eclipse.xml

hadoop-common-project/hadoop-kms/downloads/
hadoop-hdfs-project/hadoop-hdfs/downloads
hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads
hadoop-common-project/hadoop-common/src/test/resources/contract-test-options.xml
hadoop-tools/hadoop-openstack/src/test/resources/contract-test-options.xml
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/tla/yarnregistry.toolbox
yarnregistry.pdf
hadoop-tools/hadoop-aws/src/test/resources/contract-test-options.xml
patchprocess/
278 changes: 260 additions & 18 deletions BUILDING.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,60 @@

Build instructions for Hadoop Common/HDFS using Maven
Build instructions for Hadoop

----------------------------------------------------------------------------------
Requirements:

* Unix System
* JDK 1.6
* Maven 3.0
* Forrest 0.8 (if generating docs)
* JDK 1.7+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* Autotools (if compiling native code)
* ProtocolBuffer 2.5.0
* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac
* Zlib devel (if compiling native code)
* openssl devel ( if compiling native hadoop-pipes and to get the best HDFS encryption performance )
* Linux FUSE (Filesystem in Userspace) version 2.6 or above ( if compiling fuse_dfs )
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)

----------------------------------------------------------------------------------
Maven modules:
Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:

* Oracle JDK 1.7 (preferred)
$ sudo apt-get purge openjdk*
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
* Maven
$ sudo apt-get -y install maven
* Native libraries
$ sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev
* ProtocolBuffer 2.5.0 (required)
$ sudo apt-get -y install libprotobuf-dev protobuf-compiler

Optional packages:

* Snappy compression
$ sudo apt-get install snappy libsnappy-dev
* Bzip2
$ sudo apt-get install bzip2 libbz2-dev
* Jansson (C Library for JSON)
$ sudo apt-get install libjansson-dev
* Linux FUSE
$ sudo apt-get install fuse libfuse-dev

----------------------------------------------------------------------------------
Maven main modules:

hadoop (Main Hadoop project)
- hadoop-project (Parent POM for all Hadoop Maven modules. )
(All plugins & dependencies versions are defined here.)
- hadoop-project-dist (Parent POM for modules that generate distributions.)
- hadoop-annotations (Generates the Hadoop doclet used to generated the Javadocs)
- hadoop-common (Hadoop Common)
- hadoop-hdfs (Hadoop HDFS)
hadoop (Main Hadoop project)
- hadoop-project (Parent POM for all Hadoop Maven modules. )
(All plugins & dependencies versions are defined here.)
- hadoop-project-dist (Parent POM for modules that generate distributions.)
- hadoop-annotations (Generates the Hadoop doclet used to generated the Javadocs)
- hadoop-assemblies (Maven assemblies used by the different modules)
- hadoop-common-project (Hadoop Common)
- hadoop-hdfs-project (Hadoop HDFS)
- hadoop-mapreduce-project (Hadoop MapReduce)
- hadoop-tools (Hadoop tools like Streaming, Distcp, etc.)
- hadoop-dist (Hadoop distribution assembler)

----------------------------------------------------------------------------------
Where to run Maven from?
Expand All @@ -45,22 +78,231 @@ Maven build goals:
* Run Rat : mvn apache-rat:check
* Build javadocs : mvn javadoc:javadoc
* Build distribution : mvn package [-Pdist][-Pdocs][-Psrc][-Pnative][-Dtar]
* Change Hadoop version : mvn versions:set -DnewVersion=NEWVERSION

Build options:

* Use -Pnative to compile/bundle native code
* Use -Dsnappy.prefix=(/usr/local) & -Dbundle.snappy=(false) to compile
Snappy JNI bindings and to bundle Snappy SO files
* Use -Pdocs to generate & bundle the documentation in the distribution (using -Pdist)
* Use -Psrc to bundle the source in the distribution (using -Pdist)
* Use -Psrc to create a project source TAR.GZ
* Use -Dtar to create a TAR with the distribution (using -Pdist)

Snappy build options:

Snappy is a compression library that can be utilized by the native code.
It is currently an optional component, meaning that Hadoop can be built with
or without this dependency.

* Use -Drequire.snappy to fail the build if libsnappy.so is not found.
If this option is not specified and the snappy library is missing,
we silently build a version of libhadoop.so that cannot make use of snappy.
This option is recommended if you plan on making use of snappy and want
to get more repeatable builds.

* Use -Dsnappy.prefix to specify a nonstandard location for the libsnappy
header files and library files. You do not need this option if you have
installed snappy using a package manager.
* Use -Dsnappy.lib to specify a nonstandard location for the libsnappy library
files. Similarly to snappy.prefix, you do not need this option if you have
installed snappy using a package manager.
* Use -Dbundle.snappy to copy the contents of the snappy.lib directory into
the final tar file. This option requires that -Dsnappy.lib is also given,
and it ignores the -Dsnappy.prefix option.

OpenSSL build options:

OpenSSL includes a crypto library that can be utilized by the native code.
It is currently an optional component, meaning that Hadoop can be built with
or without this dependency.

* Use -Drequire.openssl to fail the build if libcrypto.so is not found.
If this option is not specified and the openssl library is missing,
we silently build a version of libhadoop.so that cannot make use of
openssl. This option is recommended if you plan on making use of openssl
and want to get more repeatable builds.
* Use -Dopenssl.prefix to specify a nonstandard location for the libcrypto
header files and library files. You do not need this option if you have
installed openssl using a package manager.
* Use -Dopenssl.lib to specify a nonstandard location for the libcrypto library
files. Similarly to openssl.prefix, you do not need this option if you have
installed openssl using a package manager.
* Use -Dbundle.openssl to copy the contents of the openssl.lib directory into
the final tar file. This option requires that -Dopenssl.lib is also given,
and it ignores the -Dopenssl.prefix option.

Tests options:

* Use -DskipTests to skip tests when running the following Maven goals:
'package', 'install', 'deploy' or 'verify'
* -Dtest=<TESTCLASSNAME>,....
* -Dtest=<TESTCLASSNAME>,<TESTCLASSNAME#METHODNAME>,....
* -Dtest.exclude=<TESTCLASSNAME>
* -Dtest.exclude.pattern=**/<TESTCLASSNAME1>.java,**/<TESTCLASSNAME2>.java

----------------------------------------------------------------------------------
Building components separately

If you are building a submodule directory, all the hadoop dependencies this
submodule has will be resolved as all other 3rd party dependencies. This is,
from the Maven cache or from a Maven repository (if not available in the cache
or the SNAPSHOT 'timed out').
An alternative is to run 'mvn install -DskipTests' from Hadoop source top
level once; and then work from the submodule. Keep in mind that SNAPSHOTs
time out after a while, using the Maven '-nsu' will stop Maven from trying
to update SNAPSHOTs from external repos.

----------------------------------------------------------------------------------
Protocol Buffer compiler

The version of Protocol Buffer compiler, protoc, must match the version of the
protobuf JAR.

If you have multiple versions of protoc in your system, you can set in your
build shell the HADOOP_PROTOC_PATH environment variable to point to the one you
want to use for the Hadoop build. If you don't define this environment variable,
protoc is looked up in the PATH.
----------------------------------------------------------------------------------
Importing projects to eclipse

When you import the project to eclipse, install hadoop-maven-plugins at first.

$ cd hadoop-maven-plugins
$ mvn install

Then, generate eclipse project files.

$ mvn eclipse:eclipse -DskipTests

At last, import to eclipse by specifying the root directory of the project via
[File] > [Import] > [Existing Projects into Workspace].

----------------------------------------------------------------------------------
Building distributions:

Create binary distribution without native code and without documentation:

$ mvn package -Pdist -DskipTests -Dtar

Create binary distribution with native code and with documentation:

$ mvn package -Pdist,native,docs -DskipTests -Dtar

Create source distribution:

$ mvn package -Psrc -DskipTests

Create source and binary distributions with native code and documentation:

$ mvn package -Pdist,native,docs,src -DskipTests -Dtar

Create a local staging version of the website (in /tmp/hadoop-site)

$ mvn clean site; mvn site:stage -DstagingDirectory=/tmp/hadoop-site

----------------------------------------------------------------------------------
Installing Hadoop

Look for these HTML files after you build the document by the above commands.

* Single Node Setup:
hadoop-project-dist/hadoop-common/SingleCluster.html

* Cluster Setup:
hadoop-project-dist/hadoop-common/ClusterSetup.html

----------------------------------------------------------------------------------

Handling out of memory errors in builds

----------------------------------------------------------------------------------

If the build process fails with an out of memory error, you should be able to fix
it by increasing the memory used by maven -which can be done via the environment
variable MAVEN_OPTS.

Here is an example setting to allocate between 256 MB and 1.5 GB of heap space to
Maven

export MAVEN_OPTS="-Xms256m -Xmx1536m"

----------------------------------------------------------------------------------

Building on Windows

----------------------------------------------------------------------------------
Requirements:

* Windows System
* JDK 1.7+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0
* CMake 2.6 or newer
* Windows SDK 7.1 or Visual Studio 2010 Professional
* Windows SDK 8.1 (if building CPU rate control for the container executor)
* 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,
which is problematic if running a 64-bit system. The Windows SDK 7.1 is free to
download here:

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

The Windows SDK 8.1 is available to download at:

http://msdn.microsoft.com/en-us/windows/bg162891.aspx

Cygwin is neither required nor supported.

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

Keep the source code tree in a short path to avoid running into problems related
to Windows maximum path length limitation. (For example, C:\hdc).

Run builds from a Windows SDK Command Prompt. (Start, All Programs,
Microsoft Windows SDK v7.1, Windows SDK 7.1 Command Prompt.)

JAVA_HOME must be set, and the path must not contain spaces. If the full path
would contain spaces, then use the Windows short path instead.

You must set the Platform environment variable to either x64 or Win32 depending
on whether you're running a 64-bit or 32-bit system. Note that this is
case-sensitive. It must be "Platform", not "PLATFORM" or "platform".
Environment variables on Windows are usually case-insensitive, but Maven treats
them as case-sensitive. Failure to set this environment variable correctly will
cause msbuild to fail while building the native code in hadoop-common.

set Platform=x64 (when building on a 64-bit system)
set Platform=Win32 (when building on a 32-bit system)

Several tests require that the user must have the Create Symbolic Links
privilege.

All Maven goals are the same as described above with the exception that
native code is built by enabling the 'native-win' Maven profile. -Pnative-win
is enabled by default when building on Windows since the native components
are required (not optional) on Windows.

If native code bindings for zlib are required, then the zlib headers must be
deployed on the build machine. Set the ZLIB_HOME environment variable to the
directory containing the headers.

set ZLIB_HOME=C:\zlib-1.2.7

At runtime, zlib1.dll must be accessible on the PATH. Hadoop has been tested
with zlib 1.2.7, built using Visual Studio 2010 out of contrib\vstudio\vc10 in
the zlib 1.2.7 source tree.

http://www.zlib.net/

----------------------------------------------------------------------------------
Building distributions:

* Build distribution with native code : mvn package [-Pdist][-Pdocs][-Psrc][-Dtar]
Loading