Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Branch 2.7.1 #127

Closed
wants to merge 7,841 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7841 commits
Select commit Hold shift + click to select a range
5f7926d
Fix CHANGES.txt for HDFS-7722.
arp7 Mar 18, 2015
482aeee
HDFS-7697. Mark the PB OIV tool as experimental. Contributed by Lei (…
Mar 18, 2015
bb98698
HDFS-7914. TestJournalNode#testFailToStartWithBadConfig fails when th…
arp7 Mar 18, 2015
388696c
HDFS-7945. The WebHdfs system on DN does not honor the length paramet…
Mar 18, 2015
94976cb
HDFS-7054. Make DFSOutputStream tracing more fine-grained (cmccabe)
Mar 19, 2015
4b8de15
HDFS-7943. Append cannot handle the last block with length greater th…
Jing9 Mar 19, 2015
0bf5497
HDFS-7587. Edit log corruption can happen if append fails with a quot…
Jing9 Mar 19, 2015
9e61835
HDFS-7929. inotify unable fetch pre-upgrade edit log segments once up…
Mar 19, 2015
84acee0
HADOOP-9329. document native build dependencies in BUILDING.txt (Vija…
Mar 19, 2015
7129287
HADOOP-10703. HttpServer2 creates multiple authentication filters. Co…
Mar 19, 2015
b8f269a
HDFS-7816. Unable to open webhdfs paths with "+". Contributed by Haoh…
kihwal Mar 19, 2015
76ce2e8
HDFS.7849. Update documentation for enabling a new feature in rolling…
vinayakumarb Mar 19, 2015
4821f0c
HADOOP-11729. Fix link to cgroups doc in site.xml. Contributed by Mas…
oza Mar 19, 2015
4e967d0
HDFS-7932. Speed up the shutdown of datanode during rolling upgrade. …
kihwal Mar 19, 2015
0be2461
MAPREDUCE-6275. Race condition in FileOutputCommitter v2 for user-spe…
jlowe Mar 19, 2015
0da3fcb
HDFS-7930. commitBlockSynchronization() does not remove locations. (y…
y-liu Mar 19, 2015
e67bd31
YARN-3379. Fixed missing data in localityTable and ResourceRequests t…
jian-he Mar 20, 2015
faeb8b9
HDFS-7962. Remove duplicated logs in BlockManager. (yliu)
y-liu Mar 19, 2015
b63ff4c
YARN-2777. Mark the end of individual log in aggregated log. Contributed
xgong Mar 20, 2015
57a0382
YARN-3369. Missing NullPointer check in AppSchedulingInfo causes RM t…
wangdatan Mar 20, 2015
03fb9b4
HDFS-7957. Truncate should verify quota before making changes. Contri…
Jing9 Mar 20, 2015
08f2f7e
HDFS-6841. Use Time.monotonicNow() wherever applicable instead of Tim…
kihwal Mar 20, 2015
929b04c
MAPREDUCE-6286. A typo in HistoryViewer makes some code useless, whic…
Mar 22, 2015
d2e1916
YARN-3384. TestLogAggregationService.verifyContainerLogs fails after …
oza Mar 23, 2015
6b9f2d9
HDFS-7942. NFS: support regexp grouping in nfs.exports.allowed.hosts.…
Mar 23, 2015
57e2972
YARN-3336. FileSystem memory leak in DelegationTokenRenewer.
cnauroth Mar 23, 2015
2742f12
HDFS-7881. TestHftpFileSystem#testSeek fails in branch-2. Contributed…
aajisaka Mar 23, 2015
8e1c33e
HDFS-7917. Use file to replace data dirs in test to simulate a disk f…
cnauroth Mar 23, 2015
4dfd84e
YARN-3393. Getting application(s) goes wrong when app finishes before
xgong Mar 24, 2015
87079cd
HDFS-7884. Fix NullPointerException in BlockSender when the generatio…
Mar 24, 2015
af0af28
HDFS-7960. The full block report should prune zombie storages even if…
umbrant Mar 24, 2015
da318cb
HDFS-7956. Improve logging for DatanodeRegistration. Contributed by P…
pjeli Mar 24, 2015
913fdea
HADOOP-11609. Correct credential commands info in CommandsManual.html…
oza Mar 24, 2015
01460c0
MAPREDUCE-6285. ClientServiceDelegate should not retry upon Authentic…
oza Mar 24, 2015
a7f447d
HDFS-7961. Trigger full block report after hot swapping disk. Contrib…
umbrant Mar 24, 2015
cc59226
HDFS-7976. Update NFS user guide for mount option 'sync' to minimize …
Mar 24, 2015
14d1ccc
HDFS-7977. NFS couldn't take percentile intervals. Contributed by Bra…
Mar 24, 2015
d286673
HDFS-6826. Plugin interface to enable delegation of HDFS authorizatio…
Mar 24, 2015
557dfe5
HADOOP-11014. Potential resource leak in JavaKeyStoreProvider due to …
oza Mar 25, 2015
c8f2880
HADOOP-11738. Fix a link of Protocol Buffers 2.5 for download in BUIL…
oza Mar 25, 2015
da6228e
MAPREDUCE-6292. Use org.junit package instead of junit.framework in T…
aajisaka Mar 25, 2015
6467103
YARN-2213. Change proxy-user cookie log in AmIpFilter to DEBUG.
xgong Mar 25, 2015
28095c2
HADOOP-10670. Allow AuthenticationFilters to load secret from signatu…
Mar 25, 2015
2e9c690
Addendum for HADOOP-10670.
Mar 25, 2015
370c914
HDFS-7963. Fix expected tracing spans in TestTracing. Contributed by …
kihwal Mar 26, 2015
c808d5f
HDFS-7824. GetContentSummary API and its namenode implementation for …
arp7 Mar 26, 2015
9411cf9
HDFS-7410. Support CreateFlags with append() to support hsync() for a…
Mar 26, 2015
d481a8d
HADOOP-11748. The secrets of auth cookies should not be specified in …
Mar 26, 2015
cf2bda8
HADOOP-11257. Update "hadoop jar" documentation to warn against using…
cnauroth Mar 27, 2015
ae6a76d
HADOOP-11691. X86 build of libwinutils is broken. Contributed by Kira…
cnauroth Mar 27, 2015
b849a51
HADOOP-11639. Clean up Windows native code compilation warnings relat…
cnauroth Mar 27, 2015
a0ed29a
HDFS-7742. Favoring decommissioning node for replication can cause a …
kihwal Mar 30, 2015
35af6f1
YARN-3304. Cleaning up ResourceCalculatorProcessTree APIs for public …
vinoduec Mar 30, 2015
fa30500
MAPREDUCE-6288. Changed permissions on JobHistory server's done direc…
vinoduec Mar 30, 2015
3ec1ad9
HADOOP-11761. Fix findbugs warnings in org.apache.hadoop.security.aut…
Mar 30, 2015
530c2ef
HADOOP-11754. RM fails to start in non-secure mode due to authenticat…
Mar 30, 2015
86c0c6b
HDFS-7748. Separate ECN flags from the Status in the DataTransferPipe…
Mar 30, 2015
96d0430
Revert "MAPREDUCE-6288. Changed permissions on JobHistory server's do…
vinoduec Mar 30, 2015
02646dd
Revert "MAPREDUCE-6286. A typo in HistoryViewer makes some code usele…
vinoduec Mar 31, 2015
1c050bd
Revert "MAPREDUCE-6199. AbstractCounters are not reset completely on …
vinoduec Mar 31, 2015
ec123ab
Revert "MAPREDUCE-5875. Make Counter limits consistent across JobClie…
vinoduec Mar 31, 2015
3acfde6
YARN-3304. Addendum patch. Cleaning up ResourceCalculatorProcessTree …
vinoduec Apr 1, 2015
aa32608
HADOOP-11787. OpensslSecureRandom.c pthread_threadid_np usage signatu…
cnauroth Apr 1, 2015
e4059b9
YARN-3430. Made headroom data available on app attempt page of RM Web…
zjshen14 Apr 1, 2015
cf33bc1
Revert "YARN-3430. Made headroom data available on app attempt page o…
zjshen14 Apr 1, 2015
8ebbbc6
HDFS-8036. Use snapshot path as source when using snapshot diff repor…
Apr 1, 2015
1bde06a
HADOOP-11757. NFS gateway should shutdown when it can't start UDP or …
Apr 2, 2015
a445f8b
HDFS-8001 RpcProgramNfs3 : wrong parsing of dfs.blocksize. Contribute…
Apr 2, 2015
acfe44e
HDFS-7954. TestBalancer#testBalancerWithPinnedBlocks should not be ex…
Apr 2, 2015
86e8c99
MAPREDUCE-6303. Read timeout when retrying a fetch error can be fatal…
JunpingDu Apr 2, 2015
b08bc43
HDFS-7811. Avoid recursive call getStoragePolicyID in INodeFile#compu…
Jing9 Apr 3, 2015
6855bbc
HDFS-8039. Fix TestDebugAdmin#testRecoverLease and testVerfiyBlockChe…
cnauroth Apr 3, 2015
520043b
HDFS-7996. After swapping a volume, BlockReceiver reports ReplicaNotF…
Apr 3, 2015
54b8894
HDFS-8051. FsVolumeList#addVolume should release volume reference if …
Apr 3, 2015
aa5eab8
HDFS-8051. Fix missing import statement from backport.
Apr 4, 2015
996b0ca
HADOOP-11377. Added Null.java without which jdiff completely flops. C…
vinoduec Apr 4, 2015
5387a28
HADOOP-11776. Fixed the broken JDiff support in Hadoop 2. Contributed…
vinoduec Apr 4, 2015
3f1d1d0
HDFS-7999. FsDatasetImpl#createTemporary sometimes holds the FSDatase…
Apr 6, 2015
edc3cb7
YARN-3273. Improve scheduler UI to facilitate scheduling analysis and…
jian-he Mar 18, 2015
64cf079
YARN-3430. Made headroom data available on app attempt page of RM Web…
zjshen14 Apr 1, 2015
2cb9dac
HDFS-8071. Redundant checkFileProgress() in PART II of getAdditionalB…
shvachko Apr 6, 2015
5021f52
HDFS-8038. PBImageDelimitedTextWriter#getEntry output HDFS path in pl…
cnauroth Apr 7, 2015
c6ad39e
HADOOP-11796. Skip TestShellBasedIdMapping.testStaticMapUpdate on Win…
cnauroth Apr 7, 2015
ffa3f3a
HADOOP-11801. Update BUILDING.txt for Ubuntu. (Contributed by Gabor L…
arp7 Apr 8, 2015
12739b5
HDFS-8072. Reserved RBW space is not released if client terminates wh…
arp7 Apr 8, 2015
eb53d6b
Revert HDFS-7808.
Apr 8, 2015
84ba4db
Revert HDFS-7813.
Apr 8, 2015
9a111fc
HDFS-8025. Addendum fix for HDFS-3087 Decomissioning on NN restart ca…
kihwal Apr 9, 2015
d665d11
HADOOP-11815. HttpServer2 should destroy SignerSecretProvider when it…
Apr 9, 2015
4d5b1fb
HDFS-8063: Fix intermittent test failures in TestTracing (Masatake Iw…
Apr 9, 2015
4c6867f
YARN-3055. Fixed ResourceManager's DelegationTokenRenewer to not stop…
vinoduec Apr 9, 2015
2b44fca
Adding release 2.7.1 to CHANGES.txt
vinoduec Apr 9, 2015
a7fa46c
Preparing for 2.7.1 development: mvn versions:set
vinoduec Apr 9, 2015
e964bbc
HDFS-8081. Split getAdditionalBlock() into two methods. Contributed b…
shvachko Apr 10, 2015
70ac8cd
YARN-3466. Fix RM nodes web page to sort by node HTTP-address, #conta…
jlowe Apr 10, 2015
743c74a
MAPREDUCE-6300. Task list sort by task id broken. Contributed by Siqi…
aajisaka Apr 10, 2015
0a95b4f
HDFS-7931. DistributedFileSystem should not look for keyProvider in c…
xslogic Apr 10, 2015
a41c1c8
Revert "MAPREDUCE-6300. Task list sort by task id broken. Contributed…
aajisaka Apr 11, 2015
50c8d06
HDFS-8127. NameNode Failover during HA upgrade can cause DataNode to …
Jing9 Apr 14, 2015
d4a462c
YARN-3462. Patches applied for YARN-2424 are inconsistent between tru…
Apr 15, 2015
9e11ae6
HDFS-8151. Always use snapshot path as source when invalid snapshot n…
Jing9 Apr 15, 2015
e1ce070
HDFS-7934. Update RollingUpgrade rollback documentation: should use b…
Jing9 Apr 15, 2015
35e1936
HDFS-8149. The footer of the Web UI "Hadoop, 2014" is old. Contribute…
aajisaka Apr 15, 2015
48d6e99
MAPREDUCE-6300. Task list sort by task id broken. Contributed by Siqi…
aajisaka Apr 16, 2015
cffc801
Revert "Merge r1588258 from trunk, HDFS-6153. Document "fileId" and "…
aajisaka Apr 16, 2015
0743f12
HDFS-8153. Error Message points to wrong parent directory in case of …
jnp Apr 17, 2015
7569289
HADOOP-11837. AuthenticationFilter should destroy SignerSecretProvide…
Apr 17, 2015
d6105d9
YARN-3487. CapacityScheduler scheduler lock obtained unnecessarily wh…
wangdatan Apr 18, 2015
b493ec2
YARN-3497. ContainerManagementProtocolProxy modifies IPC timeout conf…
jian-he Apr 20, 2015
cc42ad0
HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of …
arp7 Apr 20, 2015
1c8d54b
HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPService…
vinayakumarb Apr 2, 2015
7dd5f42
Set the release date for 2.7.0
vinoduec Apr 21, 2015
b17d365
HDFS-8163. Using monotonicNow for block report scheduling causes test…
arp7 Apr 21, 2015
2419861
HADOOP-11868. Invalid user logins trigger large backtraces in server …
jlowe Apr 22, 2015
b3f2826
YARN-2605. [RM HA] Rest api endpoints doing redirect incorrectly. (Xu…
steveloughran Apr 23, 2015
b2568d6
YARN-3522. Fixed DistributedShell to instantiate TimeLineClient as th…
jian-he Apr 23, 2015
5b4eda7
HDFS-8147. StorageGroup in Dispatcher should override equals nad hash…
Apr 23, 2015
3767326
HADOOP-11872. "hadoop dfs" command prints message about using "yarn j…
cnauroth Apr 23, 2015
ecab7d2
HADOOP-11730. Regression: s3n read failure recovery broken. (Takenor…
steveloughran Apr 23, 2015
e1843c9
YARN-3351. AppMaster tracking URL is broken in HA. (Anubhav Dhoot via…
kambatla Mar 18, 2015
6cc0e9b
YARN-3382. Some of UserMetricsInfo metrics are incorrectly set to roo…
jian-he Apr 13, 2015
5cf35b9
YARN-3472. Fixed possible leak in DelegationTokenRenewer#allTokens. C…
jian-he Apr 13, 2015
0eae3bc
MAPREDUCE-6238. MR2 can't run local jobs with -libjars command option…
rkanter Apr 20, 2015
496afb5
HADOOP-11802. DomainSocketWatcher thread terminates sometimes after t…
Apr 24, 2015
c2e6d25
HADOOP-11802. Fix renamed constant in test file in backport to 2.7.1…
Apr 24, 2015
176d22b
HDFS-8070. Pre-HDFS-7915 DFSClient cannot use short circuit on post-H…
Apr 24, 2015
b5cc78e
YARN-3465. Use LinkedHashMap to preserve order of resource requests. …
kambatla Apr 9, 2015
bec78f9
YARN-3516. killing ContainerLocalizer action doesn't take effect when
xgong Apr 23, 2015
4ddcc7e
YARN-3464. Race condition in LocalizerRunner kills localizer before l…
kambatla Apr 26, 2015
3a7bfdf
MAPREDUCE-6324. Fixed MapReduce uber jobs to not fail the udpate of A…
vinoduec Apr 27, 2015
a940f19
MAPREDUCE-6252. JobHistoryServer should not fail when encountering a
Apr 27, 2015
6b20b32
HDFS-8204. Mover/Balancer should not schedule two replicas to the sam…
Apr 28, 2015
30d0f10
MAPREDUCE-6334. Fetcher#copyMapOutput is leaking usedMemory upon IOEx…
jlowe Apr 28, 2015
4b9147e
HDFS-8273. FSNamesystem#Delete() should not call logSync() when holdi…
Apr 29, 2015
396c41b
YARN-3485. FairScheduler headroom calculation doesn't consider maxRes…
kambatla Apr 29, 2015
6ac2b57
HDFS-8269. getBlockLocations() does not resolve the .reserved path an…
Apr 29, 2015
9828638
MAPREDUCE-6339. Job history file is not flushed correctly because
Apr 30, 2015
185a1ff
HDFS-7770. Need document for storage type label of data node storage …
aajisaka Apr 30, 2015
04dd059
YARN-3544. Got back AM logs link on the RM web UI for a completed app…
zjshen14 Apr 30, 2015
a38dbbc
YARN-3243. CapacityScheduler should pass headroom from parent to chil…
jian-he Mar 17, 2015
91db060
HADOOP-11891. OsSecureRandom should lazily fill its reservoir (asuresh)
xslogic Apr 30, 2015
4e6ff8c
HDFS-8091: ACLStatus and XAttributes should be presented to INodeAttr…
xslogic Apr 9, 2015
472fd56
HDFS-8213. DFSClient should use hdfs.client.htrace HTrace configurati…
May 1, 2015
3389bac
YARN-3006. Improve the error message when attempting manual failover …
wangdatan May 1, 2015
919cbc1
HADOOP-9658. SnappyCodec#checkNativeCodeLoaded may unexpectedly fail …
oza May 4, 2015
e7b6a07
MAPREDUCE-6259. IllegalArgumentException due to missing job submit ti…
jlowe May 4, 2015
69d8374
HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPService…
vinayakumarb May 5, 2015
e056e0a
HDFS-8305: HDFS INotify: the destination field of RenameOp should alw…
May 5, 2015
4e8e9d7
YARN-3301. Fixed the format issue of the new RM attempt web page. Con…
jian-he May 6, 2015
fbd4bbb
YARN-3469. ZKRMStateStore: Avoid setting watches that are not require…
kambatla Apr 10, 2015
419b8f6
Fix up author name to Jun Gong in CHANGES.txt for YARN-3469
kambatla Apr 13, 2015
3d1d551
YARN-3385. Fixed a race-condition in ResourceManager's ZooKeeper base…
vinoduec May 7, 2015
74bd966
HDFS-7980. Incremental BlockReport will dramatically slow down nameno…
May 7, 2015
ada2f74
YARN-3358. Audit log not present while refreshing Service ACLs.
May 8, 2015
99309a9
HDFS-8226. Non-HA rollback compatibility broken (Contributed by J.And…
vinayakumarb May 8, 2015
1fbefe5
HDFS-8226. Non-HA rollback compatibility broken (Contributed by J.And…
vinayakumarb May 8, 2015
1b95bf9
YARN-3554. Default value for maximum nodemanager connect wait time is…
jlowe May 8, 2015
bbb9f6a
HDFS-7894. Rolling upgrade readiness is not updated in jmx until quer…
kihwal May 8, 2015
f57b1bf
HDFS-8245. Standby namenode doesn't process DELETED_BLOCK if the addb…
kihwal May 8, 2015
a75f4be
YARN-3476. Nodemanager can fail to delete local logs if log aggregati…
jlowe May 8, 2015
8f1dd57
HADOOP-11663. Remove description about Java 6 from docs. Contributed …
aajisaka May 11, 2015
1e4a686
HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPService…
kihwal May 11, 2015
84f7641
YARN-3434. Interaction between reservations and userlimit can result …
wangdatan May 11, 2015
6b4adbf
backport YARN-3493. RM fails to come up with error "Failed to load/re…
wangdatan May 12, 2015
0e68e30
MAPREDUCE-6251. Added a new config for JobClient to retry JobStatus c…
vinoduec May 12, 2015
071e21c
YARN-3539. Updated timeline server documentation and marked REST APIs…
zjshen14 May 13, 2015
ef2488e
HDFS-6300. Prevent multiple balancers from running simultaneously (Co…
vinayakumarb May 13, 2015
2113e0a
HDFS-8143. Mover should exit after some retry when failed to move blo…
May 13, 2015
82530ba
HADOOP-11966. Variable cygwin is undefined in hadoop-config.sh when e…
cnauroth May 13, 2015
9527cdd
YARN-3626. On Windows localized resources are not moved to the front …
xgong May 13, 2015
bfd28d6
YARN-3457. NPE when NodeManager.serviceInit fails and stopRecoverySto…
jlowe May 13, 2015
7110499
YARN-3537. NPE when NodeManager.serviceInit fails and stopRecoverySto…
jlowe Apr 24, 2015
5161751
YARN-3641. NodeManager: stopRecoveryStore() shouldn't be skipped when…
jlowe May 13, 2015
d9d7bbd
Fixing MR intermediate spills. Contributed by Arun Suresh.
vinoduec May 14, 2015
3c51654
Fixing HDFS state-store. Contributed by Arun Suresh.
vinoduec May 14, 2015
411c09b
YARN-3526. ApplicationMaster tracking URL is incorrectly redirected o…
xgong May 16, 2015
59d1b4a
HDFS-8405. Fix a typo in NamenodeFsck. Contributed by Takanobu Asanuma
May 18, 2015
f0399f5
YARN-3601. Fix UT TestRMFailover.testRMWebAppRedirect. Contributed by…
xgong May 19, 2015
7ac66f8
HDFS-8404. Pending block replication can get stuck using older gensta…
kihwal May 19, 2015
273d2f9
HADOOP-11973. Ensure ZkDelegationTokenSecretManager namespace znodes …
xslogic May 19, 2015
6b03ec5
MAPREDUCE-6361. NPE issue in shuffle caused by concurrent issue betwe…
oza May 12, 2015
6c7840f
YARN-3677. Fix findbugs warnings in yarn-server-resourcemanager. Cont…
oza May 19, 2015
114d41a
Backport "YARN-2918. RM should not fail on startup if queue's configu…
wangdatan May 20, 2015
b275818
YARN-3681. yarn cmd says "could not find main class 'queue'" in windo…
xgong May 20, 2015
ce45e4e
YARN-3609. Load node labels from storage inside RM serviceStart. Cont…
jian-he May 21, 2015
7a8e076
YARN-3694. Fix dead link for TimelineServer REST API. Contributed by …
aajisaka May 21, 2015
b68c338
YARN-3646. Applications are getting stuck some times in case of retry
May 21, 2015
c550825
HDFS-8451. DFSClient probe for encryption testing interprets empty UR…
xiaoyuyao May 21, 2015
c600547
YARN-3675. FairScheduler: RM quits when node removal races with conti…
kambatla May 21, 2015
eb4d1ed
YARN-3701. Isolating the error of generating a single app report when
xgong May 22, 2015
23994e8
YARN-2238. Filtering on UI sticks even if I move away from the page.
xgong May 26, 2015
fb57a1a
YARN-3686. CapacityScheduler should trim default_node_label_expressio…
wangdatan May 26, 2015
02ab202
YARN-3626. On Windows localized resources are not moved to the front …
cnauroth May 27, 2015
3f18827
YARN-3723. Need to clearly document primaryFilter and otherInfo value
xgong May 28, 2015
7489b12
HADOOP-11934. Use of JavaKeyStoreProvider in LdapGroupsMapping causes…
cnauroth May 28, 2015
bb83503
YARN-3489. RMServerUtils.validateResourceRequests should only obtain …
wangdatan May 29, 2015
9449b72
Fixed more FilesSystemRMStateStore issues. Contributed by Vinod Kumar…
vinoduec May 28, 2015
2032e8d
YARN-1462. Made RM write application tags to timeline server and expo…
zjshen14 May 30, 2015
0943e0f
YARN-2900. Application (Attempt and Container) Not Found in AHS results
xgong May 31, 2015
3f926f4
YARN-3725. App submission via REST API is broken in secure mode due t…
wangdatan May 31, 2015
1ad0d43
Revert "YARN-1462. Made RM write application tags to timeline server …
xgong Jun 1, 2015
1ff3f16
HDFS-5215. dfs.datanode.du.reserved is not considered while computing
kihwal Jun 2, 2015
b34825b
YARN-3753. RM failed to come up with "java.io.IOException: Wait for Z…
xgong Jun 2, 2015
323ffcc
HDFS-8486. DN startup may cause severe data loss (Daryn Sharp via Col…
Jun 2, 2015
a7058ca
HDFS-8521. Add VisibleForTesting annotation to BlockPoolSlice#selectR…
Jun 3, 2015
8090a6e
HDFS-8270. create() always retried with hardcoded timeout when file a…
vinayakumarb Jun 3, 2015
dd98cfd
HDFS-8523. Remove usage information on unsupported operation 'fsck -s…
vinayakumarb Jun 3, 2015
3d2c3f8
YARN-3585. NodeManager cannot exit on SHUTDOWN event triggered and NM…
jlowe Jun 3, 2015
718dca4
HADOOP-12058. Fix dead links to DistCp and Hadoop Archives pages. Con…
aajisaka Jun 4, 2015
e74e4d7
YARN-3733. Fix DominantRC#compare() does not work as expected if clus…
wangdatan Jun 4, 2015
a78ca0f
YARN-3764. CapacityScheduler should forbid moving LeafQueue from one …
jian-he Jun 4, 2015
6b05575
Add missing test file of YARN-3733
wangdatan Jun 4, 2015
d404caa
MAPREDUCE-6387. Serialize the recently added Task#encryptedSpillKey f…
kambatla Jun 5, 2015
8c1a46c
HDFS-8522. Change heavily recorded NN logs from INFO to DEBUG level. …
xiaoyuyao Jun 6, 2015
105cadb
HADOOP-12078. The default retry policy does not handle RetriableExcep…
arp7 Jun 10, 2015
0bcc683
HDFS-8566. HDFS documentation about debug commands wrongly identifies…
Jun 11, 2015
3ec9b63
HDFS-8583. Document that NFS gateway does not work with rpcbind on SL…
arp7 Jun 11, 2015
3651feb
HDFS-8572. DN always uses HTTP/localhost@REALM principals in SPNEGO. …
Jun 12, 2015
6dda57a
HDFS-8596. TestDistributedFileSystem et al tests are broken in branch…
Jun 14, 2015
1145d09
HDFS-8595. TestCommitBlockSynchronization fails in branch-2.7. (Patch…
arp7 Jun 14, 2015
a1810d7
HDFS-8600. TestWebHdfsFileSystemContract.testGetFileBlockLocations fa…
arp7 Jun 15, 2015
7a248f2
HDFS-8576. Lease recovery should return true if the lease can be rel…
Jun 15, 2015
632cb54
HDFS-8361. Choose SSD over DISK in block placement.
Jun 16, 2015
6c527f5
YARN-3711. Documentation of ResourceManager HA should explain configu…
oza Jun 16, 2015
f4ae56d
HDFS-8544. Incorrect port specified in HFTP Guide document in branch-…
Jun 16, 2015
fe35ba1
HDFS-8597. Fix TestFSImage#testZeroBlockSize on Windows. Contributed …
xiaoyuyao Jun 16, 2015
6de4d52
HDFS-4660. Block corruption can happen during pipeline recovery. Cont…
kihwal Jun 16, 2015
c0a419b
YARN-3804. Both RM are on standBy state when kerberos user not in yar…
xgong Jun 17, 2015
e5f9703
HADOOP-12100. ImmutableFsPermission should not override applyUmask si…
Jun 18, 2015
8c03a07
HDFS-8633. Fix setting of dfs.datanode.readahead.bytes in hdfs-defaul…
Jun 19, 2015
d06080b
HADOOP-12103. Small refactoring of DelegationTokenAuthenticationFilte…
Jun 19, 2015
dc4171c
HDFS-8626. Reserved RBW space is not released if creation of RBW File…
arp7 Jun 20, 2015
0adb6d8
HDFS-7546. Document, and set an accepting default for dfs.namenode.ke…
aw-was-here Feb 9, 2015
25b99e4
HDFS-7164. Feature documentation for HDFS-6581. (Contributed by Arpit…
arp7 Jun 20, 2015
86c01d9
HDFS-8480. Fix performance and timeout issues in HDFS-7929 by using h…
Jun 22, 2015
6b1a156
YARN-3842. NMProxy should retry on NMNotYetReadyException. (Robert Ka…
kambatla Jun 23, 2015
4a8db40
HDFS-8626. Add test case for branch-2.7
arp7 Jun 23, 2015
a90e9b2
MAPREDUCE-6410. Fixed MapReduce JobHistory server to use the right (l…
vinoduec Jun 23, 2015
37b89de
YARN-3809. Failed to launch new attempts because ApplicationMasterLau…
jlowe Jun 24, 2015
41d9677
YARN-3832. Resource Localization fails on a cluster due to existing c…
jlowe Jun 24, 2015
baf9e22
YARN-3850. NM fails to read files from full disks which can lead to c…
jlowe Jun 26, 2015
f655036
HDFS-8681. BlockScanner is incorrectly disabled by default. (Contribu…
arp7 Jun 28, 2015
2e99675
Adding release 2.7.2 to CHANGES.txt.
vinoduec Jun 28, 2015
36d8e86
Preparing for release 2.7.1 : mvn versions:set -DnewVersion=2.7.1
vinoduec Jun 29, 2015
9232ae2
Preparing for release 2.7.1 : Updating index.md.vm for site documenta…
vinoduec Jun 29, 2015
f68f76e
Preparing for release 2.7.1 : Updating release notes.
vinoduec Jun 29, 2015
15ecc87
Set the release date for 2.7.1-RC0
vinoduec Jun 29, 2015
ac0538a
Release process for 2.7.1: Set the release date for 2.7.1.
vinoduec Jul 6, 2015
5a1d236
YARN-3969. Allow jobs to be submitted to reservation that is active b…
Jul 24, 2015
a4c8829
Revert "YARN-3969. Allow jobs to be submitted to reservation that is …
Jul 24, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
*.iml
*.ipr
*.iws
*.orig
*.rej
**/.keep
*.sdf
*.suo
*.vcxproj.user
.idea
.svn
.classpath
.project
.settings
target
build
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
279 changes: 261 additions & 18 deletions BUILDING.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,61 @@

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 )
* Jansson C XML parsing library ( if compiling libwebhdfs )
* 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 +79,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