Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8617 commits
Select commit Hold shift + click to select a range
a852800
MAPREDUCE-6768. TestRecovery.testSpeculative failed with NPE. Contrib…
jlowe Aug 29, 2016
4fd2adb
HDFS-10625. VolumeScanner to report why a block is found bad. Contrib…
Aug 29, 2016
32a86f1
YARN-5550. TestYarnCLI#testGetContainers should format according to C…
zhe-thoughts Aug 29, 2016
a9479f8
HADOOP-12418. TestRPC.testRPCInterruptedSimple fails intermittently. …
kihwal Oct 20, 2015
d499a8c
MAPREDUCE-4784. TestRecovery occasionally fails. Contributed by Haibo…
jlowe Aug 30, 2016
85a067f
HDFS-10809. getNumEncryptionZones causes NPE in branch-2.7. Contribut…
zhe-thoughts Aug 30, 2016
319a600
HDFS-10655. Fix path related byte array conversion bugs. (daryn)
daryn-sharp Aug 1, 2016
d3c6120
HDFS-10656. Optimize conversion of byte arrays back to path string. C…
kihwal Aug 3, 2016
73ba5a0
HDFS-10674. Optimize creating a full path from an inode. Contributed …
kihwal Aug 3, 2016
6793ef0
HDFS-10817. Add Logging for Long-held NN Read Locks. Contributed by E…
zhe-thoughts Aug 31, 2016
67204f2
HDFS-10662. Optimize UTF8 string/byte conversions. Contributed by Dar…
kihwal Aug 4, 2016
607801b
HDFS-9038. DFS reserved space is erroneously counted towards non-DFS …
arp7 Sep 8, 2016
e807fde
HADOOP-13579. Fix source-level compatibility after HADOOP-11252. Cont…
aajisaka Sep 9, 2016
97e4b13
HDFS-5802. NameNode does not check for inode type before traversing d…
Sep 18, 2015
e6c162a
HDFS-10276. HDFS should not expose path info that user has no permiss…
May 27, 2016
d7da703
HDFS-9019. Adding informative message to sticky bit permission denied…
xiaoyuyao Sep 8, 2015
32d8101
HDFS-8818. Changes the global moveExecutor to per datanode executors …
Aug 10, 2015
a39a9fc
HDFS-10673. Optimize FSPermissionChecker's internal path usage. Contr…
kihwal Aug 4, 2016
9afc661
In Balancer, the target task should be removed when its size < 0. Co…
Aug 4, 2016
199ccd4
HDFS-10744. Internally optimize path component resolution. Contribute…
kihwal Sep 2, 2016
6f44510
HDFS-8200. Refactor FSDirStatAndListingOp. Contributed by Haohui Mai.
Apr 30, 2015
a8b7817
HDFS-9621. Consolidate FSDirStatAndListingOp#createFileStatus to let …
kihwal Sep 2, 2016
81ac060
HADOOP-13558. UserGroupInformation created from a Subject incorrectly…
xiao-chen Sep 7, 2016
d6c36c2
YARN-5540. Scheduler spends too much time looking at empty priorities…
jlowe Sep 19, 2016
2a1e48b
HADOOP-13601. Fix a log message typo in AbstractDelegationTokenSecret…
liuml07 Sep 20, 2016
4b58062
HDFS-10843. Update space quota when a UC block is completed rather t…
shvachko Sep 23, 2016
66ee9f5
HDFS-10843. Add missing file to commit 4b5806217e6846bcecc6480af46c0e…
shvachko Sep 23, 2016
aaff203
HADOOP-12597. In kms-site.xml configuration hadoop.security.keystore.…
brahmareddybattula Sep 26, 2016
ff4fb48
HDFS-9885. Correct the distcp counters name while displaying counters…
brahmareddybattula Sep 27, 2016
1190f83
adding the entry in CHANGE.txt for HDFS-9885
brahmareddybattula Sep 27, 2016
5c3294d
HDFS-10889. Remove outdated Fault Injection Framework documentaion. C…
brahmareddybattula Sep 27, 2016
bdc97f7
HDFS-10915. Fix time measurement bug in TestDatanodeRestart. Contribu…
liuml07 Sep 28, 2016
031125b
HADOOP-11780. Prevent IPC reader thread death. Contributed by Daryn S…
kihwal Sep 28, 2016
7a2d602
MAPREDUCE-6771. RMContainerAllocator sends container diagnostics even…
jlowe Sep 29, 2016
c08346e
HDFS-10713. Throttle FsNameSystem lock warnings. Contributed by Hanis…
arp7 Sep 27, 2016
3eff087
HDFS-10878. TestDFSClientRetries#testIdempotentAllocateBlockAndClose …
kihwal Oct 4, 2016
5c99959
HDFS-10896. Move lock logging logic from FSNamesystem into FSNamesyst…
zhe-thoughts Oct 4, 2016
599146d
MAPREDUCE-6741. Add MR support to redact job conf properties. Contrib…
jlowe Oct 5, 2016
039c3a7
HDFS-10609. Uncaught InvalidEncryptionKeyException during pipeline re…
jojochuang Oct 5, 2016
7e241cf
HADOOP-13670. Update CHANGES.txt to reflect all the changes in branch…
brahmareddybattula Oct 6, 2016
23d4351
adding entry for HADOOP-13670 in changes.txt
brahmareddybattula Oct 6, 2016
47fcae7
HDFS-10745. Directly resolve paths into INodesInPath. Contributed by …
zhe-thoughts Oct 5, 2016
b23b60e
HDFS-8824. Do not use small blocks for balancing the cluster.
Aug 14, 2015
165febb
HDFS-10991. Export hdfsTruncateFile symbol in libhdfs. Contributed by…
umbrant Oct 11, 2016
ac395be
YARN-3877. YarnClientImpl.submitApplication swallows exceptions. Cont…
naga-apache Sep 25, 2016
8eb0b6f
HDFS-11002. Fix broken attr/getfattr/setfattr links in ExtendedAttrib…
aajisaka Oct 13, 2016
1fcaba9
HDFS-10301. Remove FBR tracking state to fix false zombie storage det…
vgankidi Oct 18, 2016
86f291f
HDFS-10712. TestDataNodeVolumeFailure should pass not null BlockRepor…
vgankidi Oct 18, 2016
b2dfab4
HDFS-10512. VolumeScanner may terminate due to NPE in DataNode.report…
Jul 9, 2016
f27cf17
HADOOP-13535. Add jetty6 acceptor startup issue workaround to branch-…
jojochuang Oct 18, 2016
d053d1c
HDFS-10879. TestEncryptionZonesWithKMS#testReadWrite fails intermitte…
xiao-chen Sep 20, 2016
bd16763
HADOOP-12259. Utility to Dynamic port allocation (brahmareddy via rka…
rkanter Jul 24, 2015
fd3df4b
HDFS-9333. Some tests using MiniDFSCluster errored complaining port i…
iwasakims Sep 21, 2016
4aea760
Update CHANGES.txt for HDFS-10712 and HDFS-10301. (shv)
shvachko Oct 18, 2016
1e5c40b
HDFS-9444. Add utility to find set of available ephemeral ports to Se…
brahmareddybattula Sep 28, 2016
6ae7b9f
HDFS-10627. Volume Scanner marks a block as "suspect" even if the exc…
kihwal Oct 20, 2016
f6d8746
HADOOP-13236. truncate will fail when we use viewfilesystem. Contribu…
brahmareddybattula Oct 20, 2016
897cf09
Revert "HADOOP-13236. truncate will fail when we use viewfilesystem. …
steveloughran Oct 20, 2016
d05e737
HADOOP-13236. truncate will fail when we use viewfilesystem. Contribu…
brahmareddybattula Oct 20, 2016
c05d701
HDFS-11015. Enforce timeout in balancer. Contributed by Kihwal Lee.
zhe-thoughts Oct 25, 2016
fdd645b
HDFS-11053. Unnecessary superuser check in versionRequest(). Contribu…
kihwal Oct 26, 2016
cd07a88
HDFS-10921. TestDiskspaceQuotaUpdate doesn't wait for NN to get out o…
liuml07 Oct 26, 2016
616d634
HADOOP-13201. Print the directory paths when ViewFs denies the rename…
brahmareddybattula Oct 27, 2016
a49510f
HDFS-11069. Tighten the authorization of datanode RPC. Contributed by…
kihwal Oct 27, 2016
edaa371
YARN-4328. Fix findbugs warnings in resourcemanager (Akira Ajisaka vi…
varunsaxena Oct 27, 2016
d002e4d
HDFS-9500. Fix software version counts for DataNodes during rolling u…
xkrogen Oct 27, 2016
5aa26aa
MAPREDUCE-6724. Single shuffle to memory must not exceed Integer#MAX_…
jlowe Oct 28, 2016
2de984a
YARN-3432. Cluster metrics have wrong Total Memory when there is res…
Oct 27, 2016
c60cbb3
HADOOP-10597. RPC Server signals backoff to clients when all request …
arp7 Apr 23, 2015
c10428b
HADOOP-12325. RPC Metrics : Add the ability track and log slow RPCs. …
zhe-thoughts Oct 31, 2016
8570832
HDFS-8709. Clarify automatic sync in FSEditLog#logEdit.
umbrant Jul 2, 2015
49f0591
Addendum of HDFS-8709: update CHANGES.TXT.
zhe-thoughts Oct 31, 2016
5194a9b
YARN-5001. Aggregated Logs root directory is created with wrong group…
jlowe Nov 1, 2016
e6ee3e2
HADOOP-10300. Allowed deferred sending of call responses. Contributed…
zhe-thoughts Nov 2, 2016
49f9836
HADOOP-12483. Maintain wrapped SASL ordering for postponed IPC respon…
y-liu Oct 19, 2015
c1a6f4f
YARN-5837. NPE when getting node status of a decommissioned node afte…
jlowe Nov 4, 2016
64657cd
HADOOP-13804. MutableStat mean loses accuracy if add(long, long) is u…
zhe-thoughts Nov 8, 2016
d762730
HADOOP-13782. Make MutableRates metrics thread-local write, aggregate…
zhe-thoughts Nov 9, 2016
95edf26
HDFS-8307. Spurious DNS Queries from hdfs shell. Contributed by Andr…
anuengineer Nov 10, 2016
c997fc6
HDFS-11087. NamenodeFsck should check if the output writer is still w…
xkrogen Nov 13, 2016
81bf6f2
HDFS-11056. Concurrent append and read operations lead to checksum er…
jojochuang Nov 14, 2016
cc1979b
HDFS-10872. Add MutableRate metrics for FSNamesystemLock operations. …
zhe-thoughts Nov 15, 2016
ec0f854
Add CHANGES.txt entry for HDFS-10872.
zhe-thoughts Nov 15, 2016
7d87e11
YARN-4355. NPE while processing localizer heartbeat. Contributed by V…
naga-apache Nov 15, 2016
501e1e1
YARN-4355. NPE while processing localizer heartbeat. Contributed by V…
naga-apache Nov 15, 2016
8517f34
Updated CHANGES.txt for YARN-4328.
varunsaxena Nov 15, 2016
f6e517c
Updated CHANGES.txt for HDFS-11087.
shvachko Nov 15, 2016
0da0bf0
HDFS-10941. Improve BlockManager#processMisReplicatesAsync log. Contr…
xiaoyuyao Nov 11, 2016
01ad9de
HDFS-10966. Enhance Dispatcher logic on deciding when to give up a so…
kihwal Nov 21, 2016
48a2dac
HADOOP-13655. document object store use with fs shell and distcp. Con…
liuml07 Nov 22, 2016
c594904
HDFS-11174. Wrong HttpFS test command in doc. Contributed by John Zhuge.
aajisaka Nov 25, 2016
ba10a05
HADOOP-13742. Expose NumOpenConnectionsPerUser as a metric. Brahma Re…
kihwal Nov 17, 2016
45bc79d
HADOOP-13812. Upgrade Tomcat to 6.0.48. Contributed by John Zhuge.
aajisaka Nov 29, 2016
6d8df4e
HDFS-11180. Intermittent deadlock in NameNode when failover happens.
aajisaka Dec 3, 2016
c95ab6b
YARN-5694. ZKRMStateStore can prevent the transition to standby if th…
jian-he Dec 5, 2016
deae1f8
HADOOP-11859. PseudoAuthenticationHandler fails with httpcomponents v…
kihwal Dec 9, 2016
2123b66
HDFS-11229. HDFS-11056 failed to close meta file. Contributed by Wei-…
jojochuang Dec 10, 2016
bbf380a
HDFS-11160. VolumeScanner reports write-in-progress replicas as corru…
jojochuang Dec 16, 2016
3e0bd99
HDFS-11263. ClassCastException when we use Bzipcodec for Fsimage comp…
brahmareddybattula Dec 20, 2016
7820eeb
YARN-6024. Capacity Scheduler 'continuous reservation looking' doesn'…
sunilgovind Dec 28, 2016
d90f741
HDFS-11280. Allow WebHDFS to reuse HTTP connections to NN. Contribute…
Dec 31, 2016
a3f4ee5
Revert "HDFS-11280. Allow WebHDFS to reuse HTTP connections to NN. Co…
brahmareddybattula Jan 3, 2017
04ccb1b
HADOOP-13839. Fix outdated tracing documentation. Contributed by Elek…
iwasakims Jan 5, 2017
977fb0c
HDFS-11280. Allow WebHDFS to reuse HTTP connections to NN. Contribute…
Jan 5, 2017
01dff41
MAPREDUCE-6711. JobImpl fails to handle preemption events on state CO…
JunpingDu Jan 8, 2017
8f2fa65
HADOOP-13958. Bump up release year to 2017. Contributed by Junping Du.
JunpingDu Jan 8, 2017
a6625e6
HDFS-10733. NameNode terminated after full GC thinking QJM is unrespo…
vgankidi Jan 18, 2017
1cf20b3
HADOOP-14001. Improve delegation token validity checking.
aajisaka Jan 19, 2017
b13492a
HADOOP-13119. Add ability to secure log servlet using proxy users. C…
macroadster Jan 21, 2017
b0b3966
HDFS-11290. TestFSNameSystemMBean should wait until JMX cache is clea…
aajisaka Jan 18, 2017
3acc96e
HDFS-11352. Potential deadlock in NN when failing over. Contributed b…
aajisaka Jan 24, 2017
ab62484
HDFS-11352. Add missing entry in CHANGES.txt.
aajisaka Jan 24, 2017
03a67e1
HDFS-10534. NameNode WebUI should display DataNode usage histogram. C…
zhe-thoughts Jan 26, 2017
f5a4f69
Addendum for HDFS-10534: revert accidental change to MiniHadoopCluste…
zhe-thoughts Jan 26, 2017
086ee0a
YARN-3269. Yarn.nodemanager.remote-app-log-dir could not be configure…
JunpingDu Mar 20, 2015
bc3e188
YARN-6152. Used queue percentage not accurate in UI for 2.7 and below…
erichadoop Feb 7, 2017
18dfff8
HADOOP-13433 Race in UGI.reloginFromKeytab. Contributed by Duo Zhang.
xiao-chen Feb 9, 2017
f133e01
HDFS-11333. Print a user friendly error message when plugins are not …
jojochuang Feb 15, 2017
c2a4ce7
HDFS-11379. DFSInputStream may infinite loop requesting block locatio…
xiao-chen Feb 17, 2017
33f4263
HDFS-11466. Change dfs.namenode.write-lock-reporting-threshold-ms def…
zhe-thoughts Feb 28, 2017
c8b1112
YARN-1728. Workaround guice3x-undecoded pathInfo in YARN WebApp. (Yua…
gerashegalov Feb 28, 2017
c67d2f9
HADOOP-14138. Remove S3A ref from META-INF service discovery, rely on…
steveloughran Mar 2, 2017
39b483e
YARN-6274. Documentation refers to incorrect nodemanager health check…
jlowe Mar 3, 2017
a47d828
Treat encrypted files as private. Contributed by Daniel Templeton.
aajisaka Mar 7, 2017
ef99e5e
YARN-6310. OutputStreams in AggregatedLogFormat.LogWriter can be left…
jlowe Mar 10, 2017
830a602
HDFS-11499. Decommissioning stuck because of failing recovery. Contri…
jojochuang Mar 13, 2017
1d035c8
HADOOP-14169. Implement listStatusIterator, listLocatedStatus for Vie…
xkrogen Mar 18, 2017
4cc53b5
HADOOP-9631. ViewFs should use underlying FileSystem's server side de…
zhe-thoughts Mar 23, 2017
295aab8
HADOOP-14211. FilterFs and ChRootedFs are too aggressive about enforc…
umbrant Mar 24, 2017
0ece3c8
HDFS-11486. Client close() should not fail fast if the last block is …
iwasakims Mar 28, 2017
79f7bfb
MAPREDUCE-6873. MR Job Submission Fails if MR framework application p…
zhe-thoughts Mar 30, 2017
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
4c66bfc
Preparing for release 2.7.4
shvachko Jul 28, 2017
cd915e1
Set the release date for 2.7.4
shvachko Jul 28, 2017
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 and 512 MB of heap space to
Maven

export MAVEN_OPTS="-Xms256m -Xmx512m"

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

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