Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Trunk #1

Open
wants to merge 7,417 commits into
base: branch-2.5.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7417 commits
Select commit Hold shift + click to select a range
7500edf
Fix up HDFS CHANGES.txt for 2.5.0
umbrant Jul 25, 2014
e0b988c
Fix up Common CHANGES.txt for 2.5.0
umbrant Jul 25, 2014
7c3bf97
YARN-2211. Persist AMRMToken master key in RMStateStore for RM recove…
jian-he Jul 25, 2014
e667ddf
HDFS-6755. There is an unnecessary sleep in the code path where DFSOu…
cmccabe Jul 25, 2014
c0b111e
HDFS-6750. The DataNode should use its shared memory segment to mark …
cmccabe Jul 25, 2014
a35958f
HADOOP-10896. Update compatibility doc to capture visibility of un-an…
kambatla Jul 26, 2014
aae3181
YARN-1726. ResourceSchedulerWrapper broken due to AbstractYarnSchedul…
kambatla Jul 26, 2014
5da23a5
YARN-1796. container-executor shouldn't require o-r permissions. Cont…
atm Jul 26, 2014
f39308e
YARN-1726. Add missing files. ResourceSchedulerWrapper broken due to …
kambatla Jul 26, 2014
eee7a2f
HDFS-6749. FSNamesystem methods should call resolvePath. Contributed …
cnauroth Jul 26, 2014
d167334
MAPREDUCE-6002. Made MR task avoid reporting error to AM when the tas…
zjshen14 Jul 27, 2014
6df1ae1
merge from trunk r1613787
Jul 27, 2014
b99c1fd
YARN-2247. Made RM web services authenticate users via kerberos and d…
zjshen14 Jul 27, 2014
5e6266d
HDFS-6717. JIRA HDFS-5804 breaks default nfs-gateway behavior for uns…
Jul 28, 2014
fce41af
HDFS-6739. Add getDatanodeStorageReport to ClientProtocol.
szetszwo Jul 28, 2014
44cfbaf
HADOOP-10876. The constructor of Path should not take an empty URL as…
umbrant Jul 29, 2014
be9eb19
HADOOP-8069. Enable TCP_NODELAY by default for IPC. (Contributed by T…
arp7 Jul 29, 2014
9787063
YARN-2328. FairScheduler: Verify update and continuous scheduling thr…
kambatla Jul 29, 2014
df8ea0f
HDFS-6509. Create a special /.reserved/raw directory for raw access t…
umbrant Jul 29, 2014
cff4b4c
HDFS-6509 addendum, extra file
umbrant Jul 29, 2014
f396e96
HDFS-6771. Require specification of an encryption key when creating a…
umbrant Jul 29, 2014
e718afa
HDFS-6730. Create a .RAW extended attribute namespace. (clamb)
Jul 30, 2014
d6c9579
YARN-2354. DistributedShell may allocate more containers than client …
jian-he Jul 30, 2014
5740c8c
HDFS-6665. Add tests for XAttrs in combination with viewfs. Contribut…
umbrant Jul 30, 2014
3142f3b
HDFS-6778. The extended attributes javadoc should simply refer to the…
umbrant Jul 30, 2014
941674e
Merge from trunk to branch
umbrant Jul 30, 2014
8ca2b46
HDFS-4629. Using com.sun.org.apache.xml.internal.serialize.* in XmlEd…
steveloughran Jul 30, 2014
06c0b43
HDFS-4629. Using com.sun.org.apache.xml.internal.serialize.* in XmlEd…
steveloughran Jul 30, 2014
6ce375c
HDFS-6570. add api that enables checking if a user has certain permis…
cnauroth Jul 30, 2014
cae52de
HADOOP-10756. KMS audit log should consolidate successful similar req…
Jul 30, 2014
0c1353e
HDFS-6768. Fix a few unit tests that use hard-coded port numbers. (Ar…
arp7 Jul 30, 2014
cf7c537
HDFS-6692. Add more HDFS encryption tests. (wang)
umbrant Jul 30, 2014
1cdd6c9
HDFS-6785. Should not be able to create encryption zone using path to…
Jul 30, 2014
6b11bff
HADOOP-10910. Increase findbugs maxHeap size. (wang)
umbrant Jul 30, 2014
412b7b9
HDFS-6441. Add ability to exclude/include specific datanodes while ba…
arp7 Jul 31, 2014
11e784e
YARN-2347. Consolidated RMStateVersion and NMDBSchemaVersion into Ver…
zjshen14 Jul 31, 2014
bd768e8
YARN-1994. Expose YARN/MR endpoints on multiple interfaces. Contr…
xgong Jul 31, 2014
59c57b2
Fix some merge errors that slipped through.
umbrant Jul 31, 2014
b5b4c2f
HDFS-6685. Balancer should preserve storage type of replicas.
szetszwo Aug 1, 2014
95d1bc9
HDFS-6797. DataNode logs wrong layoutversion during upgrade. (Contrib…
arp7 Aug 1, 2014
652a4f8
HDFS-3482. Update CHANGES.txt.
arp7 Aug 1, 2014
1ec7c62
YARN-2051. Fix bug in PBimpls and add more unit tests with reflection…
JunpingDu Aug 1, 2014
4a5d2b3
HDFS-6798. Add test case for incorrect data node condition during bal…
arp7 Aug 1, 2014
2d048f8
HDFS-6796. Improve the argument check during balancer command line pa…
szetszwo Aug 1, 2014
42ea0f2
HDFS-6794. Update BlockManager methods to use DatanodeStorageInfo whe…
arp7 Aug 1, 2014
07b7a8c
HADOOP-10902. Deletion of directories with snapshots will not output …
umbrant Aug 1, 2014
89ccdb1
HADOOP-10900. CredentialShell args should use single-dash style. (wang)
umbrant Aug 1, 2014
9704e44
HADOOP-10793. KeyShell args should use single-dash style. (wang)
umbrant Aug 1, 2014
13e092f
HADOOP-10920. site plugin couldn't parse hadoop-kms index.apt.vm. Con…
umbrant Aug 1, 2014
9f1be1c
HDFS-6802. Some tests in TestDFSClientFailover are missing @Test anno…
umbrant Aug 1, 2014
5dc6583
HDFS-6807. Fix TestReservedRawPaths. (clamb)
Aug 1, 2014
e2140fb
HDFS-6780. Batch the encryption zones listing API. (wang)
umbrant Aug 1, 2014
4659c92
HDFS-6788. Improve synchronization in BPOfferService with read write …
umbrant Aug 1, 2014
b016bcd
HDFS-6482. Use block ID-based block layout on datanodes (James Thomas…
cmccabe Aug 1, 2014
a718b79
YARN-2343. Improve NMToken expire exception message. Contributed by L…
jian-he Aug 1, 2014
cedeabd
HADOOP-10925. Compilation fails in native link0 function on Windows. …
cnauroth Aug 2, 2014
bf1ad60
HDFS-6810. StorageReport array is initialized with wrong size in Data…
arp7 Aug 3, 2014
7970160
HADOOP-10903. Enhance hadoop classpath command to expand wildcards or…
cnauroth Aug 3, 2014
25604eb
YARN-2370. Fix comment in o.a.h.y.server.resourcemanager.schedulerApp…
JunpingDu Aug 4, 2014
abd2b4f
HDFS-5723. Append failed FINALIZED replica should not be accepted as …
vinayakumarb Aug 4, 2014
3a87630
HDFS-5185. DN fails to startup if one of the data dir is full. Contri…
vinayakumarb Aug 4, 2014
6f01132
HADOOP-10886. CryptoCodec#getCodecclasses throws NPE when configurati…
umamaheswararao Aug 4, 2014
84dcec0
HDFS-6814. Mistakenly dfs.namenode.list.encryption.zones.num.response…
umamaheswararao Aug 4, 2014
2ac4e9e
YARN-1354. Recover applications upon nodemanager restart. (Contribute…
JunpingDu Aug 4, 2014
5c38473
HDFS-6787. Remove duplicate code in FSDirectory#unprotectedConcat. Co…
umamaheswararao Aug 4, 2014
5ce121f
HADOOP-10759. Remove hardcoded JAVA_HEAP_MAX. (Eric Yang)
macroadster Aug 4, 2014
7df0144
HDFS-6451. NFS should not return NFS3ERR_IO for AccessControlExceptio…
Aug 4, 2014
d469993
HADOOP-10759. Remove hardcoded JAVA_HEAP_MAX. (Sam Liu via Eric Yang)
macroadster Aug 4, 2014
d7762be
commit the additional doc change for HDFS-6717
Aug 4, 2014
5f40d31
HADOOP-10928. Incorrect usage on . Contributed by Josh Elser.
umbrant Aug 4, 2014
4a0668c
HADOOP-10927. Fix CredentialShell help behavior and error codes. Cont…
umbrant Aug 5, 2014
362bc16
HADOOP-10937. Need to set version name correctly before decrypting EE…
umbrant Aug 5, 2014
112aa8b
Merge from trunk to branch
umbrant Aug 5, 2014
66af8b0
HADOOP-10936. Change default KeyProvider bitlength to 128. (wang)
umbrant Aug 5, 2014
fd51e01
Merge from trunk to branch
umbrant Aug 5, 2014
e1eb546
HADOOP-10918. JMXJsonServlet fails when used within Tomcat. (tucu)
Aug 5, 2014
6a36b92
HADOOP-10791. AuthenticationFilter should support externalizing the s…
Aug 5, 2014
78cc7b9
HADOOP-10933. FileBasedKeyStoresFactory Should use Configuration.getP…
Aug 5, 2014
5339782
HDFS-6394. HDFS encryption documentation. (wang)
umbrant Aug 5, 2014
6430709
MAPREDUCE-6014. New task status field in task attempts table can lead…
jlowe Aug 5, 2014
b4706ad
HADOOP-10939. Fix TestKeyProviderFactory testcases to use default 128…
umbrant Aug 5, 2014
a11bab4
Edit CHANGES.txt files to move HADOOP-10759 and HDFS-6717 from 2.5.0 …
kambatla Aug 5, 2014
f28ed6c
HADOOP-10905. LdapGroupsMapping Should use configuration.getPassword …
Aug 5, 2014
68708ca
HDFS-6790. DFSUtil Should Use configuration.getPassword for SSL passw…
Aug 6, 2014
4235a0b
HDFS-6817. Fix findbugs and other warnings. (yliu)
y-liu Aug 6, 2014
ff826dd
YARN-2298. Move TimelineClient to yarn-common project (Contributed by…
JunpingDu Aug 6, 2014
b9a22fe
HDFS-6517. Remove hadoop-metrics2.properties from hdfs project (Akira…
aw-was-here Aug 6, 2014
c166aad
HDFS-6517. Remove hadoop-metrics2.properties from hdfs project (Akira…
aw-was-here Aug 6, 2014
8fbfda1
YARN-2374. Fixed TestDistributedShell#testDSShell failure due to host…
jian-he Aug 6, 2014
daf529e
HDFS-6791. A block could remain under replicated if all of its replic…
Jing9 Aug 6, 2014
eeeddf3
YARN-2359. Application hangs when it fails to launch AM container. (Z…
kambatla Aug 7, 2014
6d1eaed
YARN-2388. Fixed TestTimelineWebServices failure due to HADOOP-10791.…
zjshen14 Aug 7, 2014
1bb58be
HDFS-6809. Move Balancer's inner classes MovedBlocks and Matcher as t…
szetszwo Aug 7, 2014
d43015a
HDFS-6812. Remove addBlock and replaceBlock from DatanodeDescriptor.
szetszwo Aug 7, 2014
0103a75
HADOOP-10931 compile error on tools/hadoop-openstack
steveloughran Aug 7, 2014
5013ab6
YARN-2288. Made persisted data in LevelDB timeline store be versioned…
zjshen14 Aug 7, 2014
98ee2dd
HDFS-6781. Separate HDFS commands from CommandsManual.apt.vm. (Contri…
arp7 Aug 7, 2014
f02681b
YARN-2008. Fixed CapacityScheduler to calculate headroom based on max…
jian-he Aug 7, 2014
978d631
MAPREDUCE-6021. MR AM should have working directory in LD_LIBRARY_PAT…
jlowe Aug 7, 2014
f558bd8
Merge from trunk to branch.
umbrant Aug 7, 2014
6f520c3
HDFS-6728. Dynamically add new volumes to DataStorage, formatted if n…
atm Aug 7, 2014
5443c12
HADOOP-10929. Typo in Configuration.getPasswordFromCredentialProvider…
Aug 7, 2014
2d69c1e
HDFS-6740. Make FSDataset support adding data volumes dynamically. Co…
atm Aug 7, 2014
225d4bb
MAPREDUCE-6007. Add support to distcp to preserve raw.* namespace ext…
Aug 8, 2014
acaed47
Revert HADOOP-10876.
umbrant Aug 8, 2014
65e6ee3
HDFS-6722. Display readable last contact time for dead nodes on NN we…
Aug 8, 2014
12c50eb
HADOOP-10771. Refactor HTTP delegation support out of httpfs to commo…
Aug 8, 2014
a5a2836
HADOOP-10771. Refactor HTTP delegation support out of httpfs to commo…
Aug 8, 2014
e957709
HDFS-6772. Get DN storages out of blockContentsStale state faster aft…
arp7 Aug 8, 2014
cbca43e
HDFS-6834. Improve the configuration guidance in DFSClient when there…
umamaheswararao Aug 8, 2014
609421b
YARN-2352. FairScheduler: Collect metrics on duration of critical met…
kambatla Aug 8, 2014
aa0f96d
YARN-2352. Add missing file. FairScheduler: Collect metrics on durati…
kambatla Aug 8, 2014
579d304
HDFS-573. Porting libhdfs to Windows. Contributed by Chris Nauroth.
cnauroth Aug 8, 2014
31e45ef
HADOOP-10919. Copy command should preserve raw.* namespace extended a…
Aug 8, 2014
f944dc9
HDFS-6823. dfs.web.authentication.kerberos.principal shows up in logs…
raviprak Aug 8, 2014
d9972ce
HDFS-6823. dfs.web.authentication.kerberos.principal shows up in logs…
raviprak Aug 8, 2014
d0792d7
HDFS-6830. BlockInfo.addStorage fails when DN changes the storage for…
arp7 Aug 8, 2014
1f429cc
HDFS-6830. Revert accidental checkin
arp7 Aug 8, 2014
9158d1c
HDFS-6828. Separate block replica dispatching from Balancer. Contribu…
Jing9 Aug 8, 2014
9c4285b
YARN-2212: ApplicationMaster needs to find a way to update the AMRMTo…
xgong Aug 8, 2014
75abed8
HADOOP-10862. Miscellaneous trivial corrections to KMS classes. (asur…
Aug 8, 2014
0d29703
HADOOP-10224. JavaKeyStoreProvider has to protect against corrupting …
Aug 9, 2014
61e252d
YARN-2026. Fair scheduler: Consider only active queues for computing …
kambatla Aug 9, 2014
85b337c
YARN-1954. Added waitFor to AMRMClient(Async). Contributed by Tsuyosh…
zjshen14 Aug 9, 2014
8453901
YARN-2400. Fixed TestAMRestart fails intermittently. Contributed by J…
xgong Aug 9, 2014
29bcfe6
YARN-2302. Refactor TimelineWebServices. (Contributed by Zhijie Shen)
JunpingDu Aug 10, 2014
77f18e3
HADOOP-10402. Configuration.getValByRegex does not substitute for var…
kambatla Aug 10, 2014
2dc8937
YARN-2337. ResourceManager sets ClientRMService in RMContext multiple…
kambatla Aug 11, 2014
7895e8b
YARN-2361. RMAppAttempt state machine entries for KILLED state has du…
kambatla Aug 11, 2014
d2e4ccd
YARN-2400: Addendum fix for TestAMRestart failure. Contributed by Jia…
xgong Aug 11, 2014
7f5391d
HDFS-6837. Code cleanup for Balancer and Dispatcher. Contributed by T…
Jing9 Aug 11, 2014
0b8fec1
YARN-2138. Cleaned up notifyDone* APIs in RMStateStore. Contributed b…
jian-he Aug 11, 2014
50ff7d5
HDFS-6838. Code cleanup for unnecessary INode replacement. Contribute…
Aug 11, 2014
3d2eae7
HDFS-6582. Missing null check in RpcProgramNfs3#read(XDR, SecurityHan…
Aug 11, 2014
4b56017
HADOOP-10835. Implement HTTP proxyuser support in HTTP authentication…
Aug 12, 2014
b5a9d07
YARN-1337. Recover containers upon nodemanager restart. (Contributed …
JunpingDu Aug 12, 2014
48f5d92
HDFS-6839. Fix TestCLI to expect new output. (clamb)
Aug 12, 2014
f702285
merge from trunk r1617527
Aug 12, 2014
056d867
HADOOP-10820. Throw an exception in GenericOptionsParser when passed …
umbrant Aug 12, 2014
61cc859
YARN-2373. Changed WebAppUtils to use Configuration#getPassword for a…
jian-he Aug 12, 2014
6340b29
YARN-2317. Updated the document about how to write YARN applications.…
zjshen14 Aug 12, 2014
c989a1b
HDFS-6830. BlockInfo.addStorage fails when DN changes the storage for…
arp7 Aug 12, 2014
bcdd891
YARN-2399. FairScheduler: Merge AppSchedulable and FSSchedulerApp int…
kambatla Aug 12, 2014
643bd18
HDFS-6836. HDFS INFO logging is verbose & uses file appenders. (Contr…
arp7 Aug 12, 2014
d964282
HADOOP-10851. NetgroupCache does not remove group memberships. (Contr…
arp7 Aug 12, 2014
ea971a0
YARN-2399. Delete old versions of files. FairScheduler: Merge AppSche…
kambatla Aug 12, 2014
458eb31
HADOOP-10962. Flags for posix_fadvise are not valid in some architect…
cmccabe Aug 12, 2014
b4d5fc9
HADOOP-10281. Create a scheduler, which assigns schedulables a priori…
arp7 Aug 13, 2014
392b547
YARN-1370. Fair scheduler to re-populate container allocation state. …
kambatla Aug 13, 2014
fc8802e
HADOOP-8944. Shell command fs -count should include human readable op…
aw-was-here Aug 13, 2014
b23dec4
HDFS-6567. Normalize the order of public final in HdfsFileStatus. Con…
Aug 13, 2014
dee5892
HDFS-6847. Avoid timeouts for replaceBlock() call by sending intermed…
vinayakumarb Aug 13, 2014
7a94bee
Reverted
vinayakumarb Aug 13, 2014
3e310a8
HDFS-6247. Avoid timeouts for replaceBlock() call by sending intermed…
vinayakumarb Aug 13, 2014
58b38b1
HADOOP-8944. Shell command fs -count should include human readable op…
aw-was-here Aug 13, 2014
5acc470
MAPREDUCE-5944. Remove MRv1 commands from CommandsManual.apt.vm (Akir…
aw-was-here Aug 13, 2014
f06473f
MAPREDUCE-5943. Separate mapred commands from CommandManual.apt.vm (A…
aw-was-here Aug 13, 2014
fde7cf0
HADOOP-10966. Hadoop Common native compilation broken in windows. (Co…
arp7 Aug 13, 2014
e2f05bd
HDFS-6849. Replace HttpFS custom proxyuser handling with common imple…
Aug 13, 2014
5313630
YARN-2277. Added cross-origin support for the timeline server web ser…
zjshen14 Aug 13, 2014
07a8cf2
YARN-2070. Made DistributedShell publish the short user name to the t…
zjshen14 Aug 13, 2014
b978c02
HADOOP-10843. TestGridmixRecord unit tests failure on PowerPC (Jinghu…
cmccabe Aug 14, 2014
047b1e5
HDFS-6783. Fix HDFS CacheReplicationMonitor rescan logic. Contributed…
umamaheswararao Aug 14, 2014
fbef34d
HADOOP-10838. Byte array native checksumming. Contributed by James Th…
toddlipcon Aug 14, 2014
7e062a3
Updated contributors name in CHANGES.txt for HDFS-6783
umamaheswararao Aug 14, 2014
9fa1e10
MAPREDUCE-883. harchive: Document how to unarchive (Akira AJISAKA and…
aw-was-here Aug 14, 2014
a40c722
MAPREDUCE-4791. Javadoc for KeyValueTextInputFormat should include de…
aw-was-here Aug 14, 2014
815f5dc
MAPREDUCE-5363. Fix doc and spelling for TaskCompletionEvent#getTaskS…
aw-was-here Aug 14, 2014
6b90c21
MAPREDUCE-6010. HistoryServerFileSystemStateStore fails to update tok…
jlowe Aug 14, 2014
5d7e562
MAPREDUCE-5597. Missing alternatives in javadocs for deprecated const…
aw-was-here Aug 14, 2014
2f72d99
MAPREDUCE-5950. incorrect description in distcp2 document (Akira AJIS…
aw-was-here Aug 14, 2014
e2d769d
MAPREDUCE-5998. CompositeInputFormat javadoc is broken (Akira AJISAKA…
aw-was-here Aug 14, 2014
89097da
MAPREDUCE-5999. Fix dead link in InputFormat javadoc (Akira AJISAKA v…
aw-was-here Aug 14, 2014
93b80f9
MAPREDUCE-5906. Inconsistent configuration in property "mapreduce.red…
aw-was-here Aug 14, 2014
803adca
HDFS-6546. Add non-superuser capability to get the encryption zone fo…
Aug 14, 2014
3532b9d
HADOOP-10121. Fix javadoc spelling for HadoopArchives#writeTopLevelDi…
aw-was-here Aug 14, 2014
b98f9e1
YARN-2397. Avoided loading two authentication filters for RM and TS w…
zjshen14 Aug 14, 2014
b9c3dcf
HADOOP-10231. Add some components in Native Libraries document (Akira…
aw-was-here Aug 14, 2014
fce6a95
YARN-2197. Add a link to YARN CHANGES.txt in the left side of doc (Ak…
aw-was-here Aug 14, 2014
1797db3
YARN-1918. Typo in description and error message for yarn.resourceman…
aw-was-here Aug 14, 2014
ef8eb23
MAPREDUCE-5878. some standard JDK APIs are not part of system classes…
jlowe Aug 14, 2014
87e5c33
HDFS-6850. Move NFS out of order write unit tests into TestWrites cla…
atm Aug 15, 2014
d8663c2
HADOOP-10770. KMS add delegation token support. (tucu)
Aug 15, 2014
859fe45
HADOOP-10967. Improve DefaultCryptoExtension#generateEncryptedKey per…
Aug 15, 2014
fba3c9e
HADOOP-10964. Small fix for NetworkTopologyWithNodeGroup#sortByDistan…
umbrant Aug 15, 2014
e45e0b3
Move HADOOP-10121 to correct section of CHANGES.txt
umbrant Aug 15, 2014
010bfdf
YARN-2378. Added support for moving applications across queues in Cap…
jian-he Aug 15, 2014
9e87d27
HADOOP-10698. KMS, add proxyuser support. (tucu)
Aug 15, 2014
e28c608
Wrong categorization for a variety of commits in the CHANGES.txt files
aw-was-here Aug 15, 2014
e080069
MAPREDUCE-6032. Made MR jobs write job history files on the default F…
zjshen14 Aug 15, 2014
7da1a9f
MAPREDUCE-6032. Fix the non-unicode character in the change log in CH…
zjshen14 Aug 15, 2014
c30e0a3
YARN-2389. Added functionality for schedulers to kill all application…
jian-he Aug 15, 2014
3914555
HADOOP-10650. Add ability to specify a reverse ACL (black list) of us…
arp7 Aug 17, 2014
afecd32
HADOOP-10335. An ip whilelist based implementation to resolve Sasl pr…
arp7 Aug 17, 2014
44beb4f
HADOOP-10335. Undo checkin to resolve test build issue.
arp7 Aug 17, 2014
dd7adf1
HADOOP-10335. An ip whilelist based implementation to resolve Sasl pr…
arp7 Aug 17, 2014
f4c25c1
YARN-2411. Support simple user and group mappings to queues. Contribu…
jian-he Aug 18, 2014
7fe5110
HDFS-6783. Addendum patch to fix test failures. (Contributed by Yi Liu)
arp7 Aug 18, 2014
5afb8d8
MAPREDUCE-6033. Updated access check for displaying job information
macroadster Aug 18, 2014
6271252
HADOOP-10059. RPC authentication and authorization metrics overflow t…
jlowe Aug 18, 2014
9d923eb
MAPREDUCE-6024. Shortened the time when Fetcher is stuck in retrying …
zjshen14 Aug 18, 2014
acca21c
HDFS-6561. org.apache.hadoop.util.DataChecksum should support native …
cmccabe Aug 18, 2014
df4f294
HADOOP-10973. Native Libraries Guide contains format error. (Contribu…
arp7 Aug 18, 2014
d6a62ad
HDFS-6825. Edit log corruption due to delayed block removal. Contribu…
umbrant Aug 18, 2014
4bd3ee0
Update CHANGES.txt for HDFS-6561 which was renamed to HADOOP-10975.
toddlipcon Aug 18, 2014
dc24b7d
MAPREDUCE-6036. TestJobEndNotifier fails intermittently in branch-2. …
jlowe Aug 18, 2014
d67cfc6
MAPREDUCE-6012. DBInputSplit creates invalid ranges on Oracle. (Wei Y…
kambatla Aug 18, 2014
fcde39c
Merge from trunk to branch.
umbrant Aug 18, 2014
a3151c4
HADOOP-10972. Native Libraries Guide contains mis-spelt build line (P…
aw-was-here Aug 18, 2014
f433906
HADOOP-10873. Fix dead link in Configuration javadoc (Akira AJISAKA v…
aw-was-here Aug 18, 2014
46deff1
HDFS-6188. An ip whitelist based implementation of TrustedChannelReso…
arp7 Aug 18, 2014
ac61bc3
HDFS-6569. OOB message can't be sent to the client when DataNode shut…
Aug 18, 2014
2c97f17
HADOOP-9902. Shell script rewrite (aw)
aw-was-here Aug 19, 2014
1178efe
YARN-2409. RM ActiveToStandBy transition missing stoping previous rmD…
jian-he Aug 19, 2014
6a8d4f2
HADOOP-10968. hadoop native build fails to detect java_libarch on ppc…
cmccabe Aug 19, 2014
5ecd54a
YARN-2249. Avoided AM release requests being lost on work preserving …
zjshen14 Aug 19, 2014
531f3ec
HDFS-6872. Fix TestOptionsParser. (clamb)
Aug 19, 2014
2675a19
HDFS-6873. Constants in CommandWithDestination should be static. (clamb)
Aug 19, 2014
a2357c1
HDFS-6868. portmap and nfs3 are documented as hadoop commands instead…
Aug 19, 2014
3c2d550
Merge from trunk to branch.
umbrant Aug 20, 2014
dcf8120
YARN-2174. Enable HTTPs for the writer REST API of TimelineServer. Co…
jian-he Aug 20, 2014
fc79e63
YARN-2034. Description for yarn.nodemanager.localizer.cache.target-si…
jlowe Aug 20, 2014
acf4989
HDFS-6870. Blocks and INodes could leak for Rename with overwrite fla…
Jing9 Aug 20, 2014
eb14192
Merge from trunk to branch
umbrant Aug 20, 2014
39468f1
HDFS-6134 and HADOOP-10150 subtasks. Merge fs-encryption branch to tr…
umbrant Aug 20, 2014
7d30f04
[post-HADOOP-9902] mapred version is missing (Akira AJISAKA via aw)
aw-was-here Aug 20, 2014
a5f4a9e
Fix up CHANGES.txt for HDFS-6134, HADOOP-10150 and related JIRAs.
umbrant Aug 20, 2014
370c9bf
Set the release date for 2.5.0 in CHANGES.txt
kambatla Aug 20, 2014
6f1eb04
YARN-1919. Potential NPE in EmbeddedElectorService#stop. (Tsuyoshi Oz…
kambatla Aug 20, 2014
07cac56
HDFS-6858. Allow dfs.data.transfer.saslproperties.resolver.class defa…
cnauroth Aug 20, 2014
72aec7f
HDFS-6878. Change MiniDFSCluster to support StorageType configuration…
arp7 Aug 21, 2014
0c648ba
HDFS-6758. Block writer should pass the expected block size to DataXc…
arp7 Aug 21, 2014
233359b
YARN-2424. LCE should support non-cgroups, non-secure mode (Chris Dou…
aw-was-here Aug 21, 2014
549ad6a
MAPREDUCE-5974. Allow specifying multiple MapOutputCollectors with fa…
kambatla Aug 21, 2014
46ae452
HDFS-6890. NFS readdirplus doesn't return dotdot attributes. Contribu…
Aug 21, 2014
6416c30
HADOOP-10992. Merge KMS to branch-2, updating hadoop-common CHANGES.t…
Aug 21, 2014
0a9f2c5
YARN-2436. [post-HADOOP-9902] yarn application help doesn't work
aw-was-here Aug 21, 2014
abf276c
HADOOP-10893. isolated classloader on the client side. Contributed by…
jlowe Aug 21, 2014
cb7b2ce
YARN-2434. RM should not recover containers from previously failed at…
jlowe Aug 21, 2014
cd9622f
MAPREDUCE-5130. Add missing job config options to mapred-default.xml …
sryza Aug 21, 2014
1bec2ac
HADOOP-8896. Javadoc points to Wrong Reader and Writer classes in Seq…
aw-was-here Aug 21, 2014
ee0e327
HADOOP-10989. Work around buggy getgrouplist() implementations on Lin…
cnauroth Aug 22, 2014
fd200dc
HDF-6905. fs-encryption merge triggered release audit failures. (cla…
Aug 22, 2014
61c87d7
YARN-2393. FairScheduler: Add the notion of steady fair share. (Wei Y…
kambatla Aug 22, 2014
4494e3c
MAPREDUCE-6044. Fully qualified intermediate done dir path breaks per…
zjshen14 Aug 22, 2014
acdddff
HDFS-6829. DFSAdmin refreshSuperUserGroupsConfiguration failed in sec…
arp7 Aug 22, 2014
5ec92af
HADOOP-10998. Fix bash tab completion code to work (Jim Hester via aw)
aw-was-here Aug 22, 2014
c041fb7
HADOOP-10282. Create a FairCallQueue: a multi-level call queue which …
arp7 Aug 22, 2014
e0c9f89
HDFS-4852. libhdfs documentation is out of date. Contributed by Chris…
cnauroth Aug 23, 2014
42a61a4
HDFS-6899. Allow changing MiniDFSCluster volumes per DN and capacity …
arp7 Aug 23, 2014
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
*.iml
*.ipr
*.iws
*.orig
*.rej
.idea
.svn
.classpath
.project
.settings
target
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
242 changes: 224 additions & 18 deletions BUILDING.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@

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.6+
* 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)
* Zlib devel (if compiling native code)
* openssl devel ( if compiling native hadoop-pipes )
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)

----------------------------------------------------------------------------------
Maven modules:
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 +50,223 @@ 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

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

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 OS/X

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

A one-time manual step is required to enable building Hadoop OS X with Java 7
every time the JDK is updated.
see: https://issues.apache.org/jira/browse/HADOOP-9350

$ sudo mkdir `/usr/libexec/java_home`/Classes
$ sudo ln -s `/usr/libexec/java_home`/lib/tools.jar `/usr/libexec/java_home`/Classes/classes.jar

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

Building on Windows

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

* Windows System
* JDK 1.6+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* 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)

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 is free to
download here:

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

----------------------------------------------------------------------------------
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]

72 changes: 0 additions & 72 deletions common/src/test/bin/smart-apply-patch.sh

This file was deleted.

Loading