Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
5805a81
YARN-2404. Removed ApplicationAttemptState and ApplicationState class…
jian-he Nov 25, 2014
78f7cdb
MAPREDUCE-5568. Fixed CompletedJob in JHS to show progress percentage…
jian-he Nov 25, 2014
56f3eec
HADOOP-11300. KMS startup scripts must not display the keystore / tru…
umbrant Nov 25, 2014
f43a20c
HDFS-7097. Allow block reports to be processed during checkpointing o…
umbrant Nov 25, 2014
fae266b
HADOOP-11173. Improve error messages for some KeyShell commands.
umbrant Nov 26, 2014
8a7ca13
YARN-2906. CapacitySchedulerPage shows HTML tags for a queue's Active…
jian-he Nov 26, 2014
fe1f2db
YARN-2188. [YARN-1492] Client service for cache manager. (Chris Trezz…
kambatla Nov 26, 2014
a655973
Revert "MAPREDUCE-5785. Derive heap size or mapreduce.*.memory.mb aut…
kambatla Nov 26, 2014
4a31611
HDFS-7440. Consolidate snapshot related operations in a single class.…
Nov 26, 2014
aa7dac3
HDFS-6803 Document DFSClient#DFSInputStream expectations reading and …
steveloughran Nov 26, 2014
058af60
HDFS-7310. Mover can give first priority to local DN if it has target…
umamaheswararao Nov 26, 2014
f5b1631
HDFS-7444. convertToBlockUnderConstruction should preserve BlockColle…
Nov 26, 2014
978736d
HDFS-7444. Addendum patch to resolve conflicts between HDFS-7444 and …
Nov 26, 2014
8f1454c
YARN-2165. Added the sanity check for the numeric configuration value…
zjshen14 Nov 26, 2014
aa2f277
HADOOP-11257. Update "hadoop jar" documentation to warn against using…
Nov 26, 2014
c1f2bb2
CHANGES.txt: add HADOOP-11257
Nov 26, 2014
1556f86
HDFS-7210. Avoid two separate RPC's namenode.append() and namenode.ge…
umamaheswararao Nov 28, 2014
c732ed7
YARN-2907. SchedulerNode#toString should print all resource detail in…
JunpingDu Dec 1, 2014
86e3993
HADOOP-11333. Fix deadlock in DomainSocketWatcher when the notificati…
Dec 1, 2014
2b30fb1
MAPREDUCE-6172. TestDbClasses timeouts are too aggressive. Contribute…
jlowe Dec 1, 2014
0f9528b
YARN-2905. AggregatedLogsBlock page can infinitely loop if the aggreg…
jlowe Dec 1, 2014
0c58890
MAPREDUCE-6160. Potential NullPointerException in MRClientProtocol in…
jlowe Dec 1, 2014
031f980
HADOOP-11081. Document hadoop properties expected to be set by the sh…
aw-was-here Dec 2, 2014
a7fba0b
YARN-2765. Added leveldb-based implementation for RMStateStore. Contr…
jian-he Dec 2, 2014
51af8d3
YARN-2890. MiniYARNCluster should start the timeline server based on …
zjshen14 Dec 2, 2014
9fa2990
HADOOP-11337. KeyAuthorizationKeyProvider access checks need to be do…
umbrant Dec 2, 2014
0af44ea
HDFS-7450. Consolidate the implementation of GetFileInfo(), GetListin…
Dec 1, 2014
0426994
HDFS-7438. Consolidate the implementation of rename() into a single c…
Dec 2, 2014
31b4d2d
HADOOP-11341. KMS support for whitelist key ACLs. Contributed by Arun…
umbrant Dec 2, 2014
fb41615
HBASE-11301 [optionally] update jmx cache to drop old metrics (Maysam…
saintstack Dec 2, 2014
4e312a4
Revert "HBASE-11301 [optionally] update jmx cache to drop old metrics…
saintstack Dec 2, 2014
74f4d85
HBASE-11301 [optionally] update jmx cache to drop old metrics (Maysam…
saintstack Dec 2, 2014
692d3b8
Revert "HBASE-11301 [optionally] update jmx cache to drop old metrics…
saintstack Dec 2, 2014
b36f292
HADOOP-11301. [optionally] update jmx cache to drop old metrics (May…
saintstack Dec 2, 2014
75d5345
HDFS-7448 TestBookKeeperHACheckpoints fails in trunk build
steveloughran Dec 2, 2014
26319ba
YARN-2472. yarn-daemons.sh should jsut call yarn directly (Masatake I…
aw-was-here Dec 2, 2014
52bcefc
YARN-2136. Changed RMStateStore to ignore store opearations when fenc…
jian-he Dec 2, 2014
185e0c7
HDFS-7462. Consolidate implementation of mkdirs() into a single class…
Dec 2, 2014
75a326a
HDFS-7446. HDFS inotify should have the ability to determine what txi…
Nov 26, 2014
392c3aa
YARN-2894. Fixed a bug regarding application view acl when RM fails o…
jian-he Dec 3, 2014
3d48ad7
HADOOP-11344. KMS kms-config.sh sets a default value for the keystore…
umbrant Dec 3, 2014
92ce6ed
HADOOP-11296. hadoop-daemons.sh throws 'host1: bash: host3: command n…
vinayakumarb Dec 3, 2014
7caa3bc
HDFS-6735. A minor optimization to avoid pread() be blocked by read()…
saintstack Dec 3, 2014
e65b7c5
YARN-1156. Enhance NodeManager AllocatedGB and AvailableGB metrics fo…
JunpingDu Dec 3, 2014
22afae8
HDFS-7448 TestBookKeeperHACheckpoints fails in trunk -move CHANGES.TX…
steveloughran Dec 3, 2014
03ab24a
MAPREDUCE-5932. Provide an option to use a dedicated reduce-side shuf…
jlowe Dec 3, 2014
1812241
HADOOP-11342. KMS key ACL should ignore ALL operation for default key…
umbrant Dec 3, 2014
a1e8225
HDFS-7458. Add description to the nfs ports in core-site.xml used by …
Dec 3, 2014
799353e
YARN-2874. Dead lock in DelegationTokenRenewer which blocks RM to exe…
kambatla Dec 3, 2014
a31e016
YARN-2891. Failed Container Executor does not provide a clear error m…
Dec 3, 2014
73fbb3c
YARN-2880. Added a test to make sure node labels will be recovered if…
jian-he Dec 4, 2014
9d1a8f5
HADOOP-11332. KerberosAuthenticator#doSpnegoSequence should check if …
atm Dec 4, 2014
1bbcc3d
HDFS-7424. Add web UI for NFS gateway. Contributed by Brandon Li
Dec 4, 2014
565b0e6
HADOOP-11348. Remove unused variable from CMake error message for fin…
Dec 4, 2014
258623f
YARN-2301. Improved yarn container command. Contributed by Naganarasi…
jian-he Dec 4, 2014
26d8dec
HDFS-7468. Moving verify* functions to corresponding classes. Contrib…
Dec 4, 2014
7896815
YARN-2189. [YARN-1492] Admin service for cache manager. (Chris Trezzo…
kambatla Dec 5, 2014
0653918
HDFS-7454. Reduce memory footprint for AclEntries in NameNode. Contri…
Dec 5, 2014
2829b7a
HADOOP-11356. Removed deprecated o.a.h.fs.permission.AccessControlExc…
Dec 5, 2014
6a5596e
HDFS-7478. Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNa…
Dec 5, 2014
f6452eb
HDFS-7472. Fix typo in message of ReplicaNotFoundException. Contribut…
Dec 5, 2014
9cdaec6
HADOOP-11355. When accessing data in HDFS and the key has been delete…
umbrant Dec 5, 2014
3c72f54
YARN-2461. Fix PROCFS_USE_SMAPS_BASED_RSS_ENABLED property in YarnCon…
rkanter Dec 5, 2014
4b13082
YARN-2056. Disable preemption at Queue level. Contributed by Eric Payne
jlowe Dec 5, 2014
475c6b4
HDFS-7474. Avoid resolving path in FSPermissionChecker. Contributed b…
Jing9 Dec 5, 2014
e69af83
YARN-2869. CapacityScheduler should trim sub queue names when parse c…
jian-he Dec 6, 2014
0707e4e
HADOOP-11343. Overflow is not properly handled in caclulating final i…
umbrant Dec 6, 2014
e227fb8
HDFS-7459. Consolidate cache-related implementation in FSNamesystem i…
Dec 6, 2014
9297f98
HDFS-7476. Consolidate ACL-related operations to a single class. Cont…
cnauroth Dec 6, 2014
1b3bb9e
HADOOP-11313. Adding a document about NativeLibraryChecker. Contribut…
cnauroth Dec 7, 2014
120e1de
YARN-2927. [YARN-1492] InMemorySCMStore properties are inconsistent. …
kambatla Dec 8, 2014
8963515
MAPREDUCE-6177. Minor typo in the EncryptedShuffle document about ssl…
Dec 8, 2014
144da2e
HADOOP-10530 Make hadoop build on Java7+ only (stevel)
steveloughran Dec 8, 2014
ffe942b
HDFS-7384. getfacl command and getAclStatus output should be in sync.…
cnauroth Dec 8, 2014
d555bb2
HDFS-7473. Document setting dfs.namenode.fs-limits.max-directory-item…
cnauroth Dec 8, 2014
57cb43b
HADOOP-11354. ThrottledInputStream doesn't perform effective throttli…
Jing9 Dec 8, 2014
6c5bbd7
HDFS-7486. Consolidate XAttr-related implementation into a single cla…
Dec 8, 2014
ddffcd8
HADOOP-11329. Add JAVA_LIBRARY_PATH to KMS startup options. Contribut…
umbrant Dec 8, 2014
0ee4161
HADOOP-11287. Simplify UGI#reloginFromKeytab for Java 7+. Contributed…
Dec 9, 2014
db73cc9
YARN-2931. PublicLocalizer may fail until directory is initialized by…
kambatla Dec 9, 2014
394c70c
HADOOP-11363 Hadoop maven surefire-plugin uses must set heap size.
steveloughran Dec 9, 2014
f71eb51
HADOOP-10134 [JDK8] Fix Javadoc errors caused by incorrect or illegal…
steveloughran Dec 9, 2014
82707b4
HADOOP-11352 Clean up test-patch.sh to disable "+1 contrib tests"
steveloughran Dec 9, 2014
b557693
HADOOP-10476. Bumping the findbugs version to 3.0.0. Contributed by H…
Dec 9, 2014
7bceb13
HADOOP-11367. Fix warnings from findbugs 3.0 in hadoop-streaming. Con…
Dec 9, 2014
d777a1e
HADOOP-11369. Fix new findbugs warnings in hadoop-mapreduce-client, n…
Dec 9, 2014
74d4bfd
HADOOP-11368. Fix SSLFactory truststore reloader thread leak in KMSCl…
umbrant Dec 9, 2014
be86237
HADOOP-11372. Fix new findbugs warnings in mapreduce-examples. Contri…
Dec 9, 2014
d8352b9
Incorrect locking in FsVolumeList#checkDirs can hang datanodes (Noah …
Dec 9, 2014
d08fc9a
HADOOP-11273. TestMiniKdc failure: login options not compatible with …
Dec 9, 2014
5776a41
HDFS-7498. Simplify the logic in INodesInPath. Contributed by Jing Zhao.
Jing9 Dec 9, 2014
6df457a
HADOOP-11379. Fix new findbugs warnings in hadoop-auth*. Contributed …
Dec 9, 2014
1340617
HADOOP-11378. Fix new findbugs warnings in hadoop-kms. Contributed by…
Dec 9, 2014
a2e07a5
YARN-2910. FSLeafQueue can throw ConcurrentModificationException. (Wi…
kambatla Dec 9, 2014
03867eb
HADOOP-11349. RawLocalFileSystem leaks file descriptor while creating…
Dec 9, 2014
2ed90a5
YARN-2930. Fixed TestRMRestart#testRMRestartRecoveringNodeLabelManage…
jian-he Dec 10, 2014
437322a
YARN-2924. Fixed RMAdminCLI to not convert node labels to lower case.…
jian-he Dec 10, 2014
d93f3b9
HDFS-7481. Add ACL indicator to the 'Permission Denied' exception. (C…
vinayakumarb Dec 10, 2014
195f31a
HDFS-7502. Fix findbugs warning in hdfs-nfs project. Contributed by B…
Dec 10, 2014
2e98ad3
HADOOP-11381. Fix findbugs warnings in hadoop-distcp, hadoop-aws, had…
Dec 10, 2014
bbd6a32
HADOOP-10482. Fix various findbugs warnings in hadoop-common. Contrib…
Dec 10, 2014
44870dc
HADOOP-11388. Remove deprecated o.a.h.metrics.file.FileContext. Contr…
Dec 10, 2014
a7c6c71
HADOOP-10950. rework heap management vars (John Smith via aw)
aw-was-here Dec 10, 2014
c536142
HADOOP-6590. Add a username check for hadoop sub-commands (John Smith…
aw-was-here Dec 10, 2014
59cb8b9
YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via…
aw-was-here Dec 10, 2014
84d5000
HADOOP-11386. Replace \n by %n in format hadoop-common format strings…
Dec 10, 2014
92916ae
HDFS-5578. [JDK8] Fix Javadoc errors caused by incorrect or illegal t…
Dec 10, 2014
9a44db4
HDFS-7475. Make TestLazyPersistFiles#testLazyPersistBlocksAreSaved de…
arp7 Dec 11, 2014
cb99f43
MAPREDUCE-5420. Remove mapreduce.task.tmp.dir from mapred-default.xml…
Dec 8, 2014
d693a25
HDFS-7463. Simplify FSNamesystem#getBlockLocationsUpdateTimes. Contri…
Dec 11, 2014
390642a
HDFS-7503. Namenode restart after large deletions can cause slow proc…
arp7 Dec 11, 2014
8e9a266
HADOOP-11353. Add support for .hadooprc (aw)
aw-was-here Dec 11, 2014
614b6af
YARN-2917. Fixed potential deadlock when system.exit is called in Asy…
jian-he Dec 11, 2014
b9f6d0c
HDFS-7515. Fix new findbugs warnings in hadoop-hdfs. Contributed by H…
Dec 11, 2014
0bcea11
HADOOP-11211. mapreduce.job.classloader.system.classes semantics shou…
gerashegalov Dec 11, 2014
f6f2a3f
HDFS-7449. Add metrics to NFS gateway. Contributed by Brandon Li
Dec 11, 2014
5b9fced
HADOOP-11389. Clean up byte to string encoding issues in hadoop-commo…
Dec 12, 2014
b437f5e
HDFS-7497. Inconsistent report of decommissioning DataNodes between d…
umbrant Dec 12, 2014
0bd0229
MAPREDUCE-6046. Change the class name for logs in RMCommunicator.
Dec 12, 2014
bda748a
YARN-2243. Order of arguments for Preconditions.checkNotNull() is wro…
Dec 12, 2014
3681de2
YARN-2912 Jersey Tests failing with port in use. (varun saxena via s…
steveloughran Dec 12, 2014
46612c7
HDFS-7517. Remove redundant non-null checks in FSNamesystem#getBlockL…
Dec 12, 2014
7784b10
HDFS-7514. TestTextCommand fails on Windows. (Arpit Agarwal)
arp7 Dec 12, 2014
c78e3a7
HDFS-7059. Avoid resolving path multiple times. Contributed by Jing Z…
Jing9 Dec 12, 2014
e5a6925
HADOOP-11238. Update the NameNode's Group Cache in the background whe…
Dec 13, 2014
fa7b924
HDFS-7426. Change nntop JMX format to be a JSON blob.
umbrant Dec 13, 2014
0e37bbc
YARN-2950. Change message to mandate, not suggest JS requirement on U…
Dec 13, 2014
9458cd5
HADOOP-11394. hadoop-aws documentation missing. Contributed by Chris …
cnauroth Dec 13, 2014
cbfb996
HADOOP-11396. Provide navigation in the site documentation linking to…
cnauroth Dec 13, 2014
25a0440
MAPREDUCE-4879. TeraOutputFormat may overwrite an existing output dir…
gerashegalov Dec 14, 2014
298d09c
MAPREDUCE-6194. Bubble up final exception in failures during creation…
Dec 15, 2014
fae3e86
YARN-2356. yarn status command for non-existent application/application
Dec 15, 2014
6e13fc6
HDFS-7513. HDFS inotify: add defaultBlockSize to CreateEvent (cmccabe)
Dec 15, 2014
832ebd8
HDFS-7506. Consolidate implementation of setting inode attributes int…
Dec 15, 2014
a4f2995
Revert "YARN-2890. MiniYARNCluster should start the timeline server b…
jian-he Dec 15, 2014
42d8858
HDFS-7516. Fix findbugs warnings in hdfs-nfs project. Contributed by …
Dec 15, 2014
e8a67be
HADOOP-11380. Restore Rack Awareness documenation (aw)
aw-was-here Dec 15, 2014
e597249
YARN-2914. [YARN-1492] Potential race condition in Singleton implemen…
kambatla Dec 15, 2014
a095622
HADOOP-10852 Fix thread safety issues in NetgroupCache. (Benoy Antony)
Dec 15, 2014
fb20797
HADOOP-11410. Make the rpath of libhadoop.so configurable (cmccabe)
Dec 16, 2014
af00693
MAPREDUCE-6166. Reducers do not validate checksum of map outputs when…
gerashegalov Dec 16, 2014
c379e10
MAPREDUCE-6191. Improve clearing stale state of Java serialization
macroadster Dec 16, 2014
07bb0b0
HADOOP-11412 POMs mention "The Apache Software License" rather than "…
steveloughran Dec 16, 2014
b7923a3
HDFS-6425. Large postponedMisreplicatedBlocks has impact on blockRepo…
kihwal Dec 16, 2014
c65f1b3
YARN-2762. Fixed RMAdminCLI to trim and check node-label related argu…
jian-he Dec 16, 2014
a97a1e7
HDFS-7494. Checking of closed in DFSInputStream#pread() should be pro…
Dec 16, 2014
565d72f
HDFS-7536. Remove unused CryptoCodec in org.apache.hadoop.fs.Hdfs. Co…
Dec 16, 2014
e996a1b
HADOOP-11321. copyToLocal cannot save a file to an SMB share unless t…
cnauroth Dec 16, 2014
bc21a1c
HADOOP-11397. Can't override HADOOP_IDENT_STRING (Kengo Seki via aw)
aw-was-here Dec 17, 2014
4281c96
HADOOP-11416. Move ChunkedArrayList into hadoop-common (cmccabe)
Dec 17, 2014
9b4ba40
YARN-2189. Admin service for cache manager. Addendum to sort entries
kambatla Dec 17, 2014
f2d150e
YARN-2964. FSLeafQueue#assignContainer - document the reason for usin…
kambatla Dec 17, 2014
316613b
HADOOP-11420. Use latest maven-site-plugin and replace link to svn wi…
Dec 17, 2014
0da1330
HDFS-7528. Consolidate symlink-related implementation into a single c…
Dec 17, 2014
6ba8fd7
HADOOP-9629. Move attribution in CHANGES.txt to 2.7.0 section.
cnauroth Dec 17, 2014
9937eef
HADOOP-11421. Add IOUtils#listDirectory (cmccabe)
Dec 17, 2014
a1bd140
YARN-2944. InMemorySCMStore can not be instantiated with ReflectionUt…
kambatla Dec 18, 2014
b7f6482
YARN-2203. [YARN-1492] Web UI for cache manager. (Chris Trezzo via ka…
kambatla Dec 18, 2014
3b173d9
HDFS-7531. Improve the concurrent access on FsVolumeList (Lei Xu via …
Dec 18, 2014
2b4b0e8
YARN-2972. DelegationTokenRenewer thread pool never expands. Contribu…
JunpingDu Dec 18, 2014
1050d42
HADOOP-11358. Tests for encryption/decryption with IV calculation ove…
y-liu Dec 17, 2014
389f881
YARN-2949. Add documentation for CGroups. (Contributed by Varun Vasudev)
JunpingDu Dec 18, 2014
c0d666c
HDFS-7373. Clean up temporary files after fsimage transfer failures. …
kihwal Dec 18, 2014
abb2ebb
HADOOP-11125. Remove redundant tests in TestOsSecureRandom. Contribut…
Dec 18, 2014
07619aa
HADOOP-11427. ChunkedArrayList: fix removal via iterator and implemen…
Dec 18, 2014
65f2a4e
HDFS-7543. Avoid path resolution when getting FileStatus for audit lo…
Dec 18, 2014
ef1fc51
HADOOP-11385. Prevent cross site scripting attack on JMXJSONServlet. …
Dec 18, 2014
b9d4976
HADOOP-11409. FileContext.getFileContext can stack overflow if defaul…
jlowe Dec 18, 2014
c4d9713
HADOOP-11428. Remove obsolete reference to Cygwin in BUILDING.txt. Co…
Dec 18, 2014
b0b9084
HDFS-7530. Allow renaming of encryption zone roots. Contributed by Ch…
umbrant Dec 18, 2014
5df7ecb
HDFS-7431. log message for InvalidMagicNumberException may be incorre…
cnauroth Dec 18, 2014
0402bad
YARN-2964. RM prematurely cancels tokens for jobs that submit jobs (o…
jlowe Dec 18, 2014
efe6357
HADOOP-11431. Clean up redundant maven-site-plugin configuration. Con…
Dec 19, 2014
6635ccd
HADOOP-11430. Add GenericTestUtils#disableLog, GenericTestUtils#setLo…
Dec 19, 2014
a4876c1
HDFS-7552. Change FsVolumeList toString() to fix TestDataNodeVolumeFa…
Dec 19, 2014
d9e4d67
MAPREDUCE-6045. need close the DataInputStream after open it in TestM…
rkanter Dec 19, 2014
e369d98
HADOOP-11422. Check CryptoCodec is AES-CTR for Crypto input/output st…
Dec 19, 2014
8fa265a
HDFS-7443. Datanode upgrade to BLOCKID_BASED_LAYOUT fails if duplicat…
Dec 19, 2014
6f1e366
HADOOP-11213. Typos in html pages: SecureMode and EncryptedShuffle. (…
kambatla Dec 19, 2014
a22ffc3
YARN-2738. [YARN-2574] Add FairReservationSystem for FairScheduler. (…
kambatla Dec 19, 2014
390a7c1
MAPREDUCE-6199. AbstractCounters are not reset completely on deserial…
rkanter Dec 19, 2014
954fb85
YARN-2675. containersKilled metrics is not updated when the container…
kambatla Dec 20, 2014
808cba3
YARN-2952. Fixed incorrect version check in StateStore. Contributed b…
jian-he Dec 20, 2014
c1f857b
HADOOP-11395. Add site documentation for Azure Storage FileSystem int…
arp7 Dec 20, 2014
cf7fe58
YARN-2977. Fixed intermittent TestNMClient failure. (Contributed by J…
oza Dec 20, 2014
76b0370
CHANGES.txt: add YARN-2977
oza Dec 20, 2014
24ee9e3
YARN-2975. FSLeafQueue app lists are accessed without required locks.…
kambatla Dec 20, 2014
8f5522e
CHANGES.txt: move YARN-2977 from 2.6.1 to 2.7.0
oza Dec 21, 2014
2860eeb
HDFS-7555. Remove the support of unmanaged connectors in HttpServer2.…
Dec 21, 2014
02b21b7
HADOOP-11429. Findbugs warnings in hadoop extras. Contributed by Varu…
Dec 21, 2014
7bc0a6d
HDFS-7557. Fix spacing for a few keys in DFSConfigKeys.java (Colin P.…
y-liu Dec 21, 2014
ecf1469
HADOOP-11414. FileBasedIPList#readLines() can leak file descriptors. …
oza Dec 22, 2014
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
  •  
  •  
  •  
12 changes: 9 additions & 3 deletions BUILDING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Build instructions for Hadoop
Requirements:

* Unix System
* JDK 1.6+
* JDK 1.7+
* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0
Expand Down Expand Up @@ -204,15 +204,19 @@ Building on Windows
Requirements:

* Windows System
* JDK 1.6+
* 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 or Visual Studio 2010 Professional
* Unix command-line tools from GnuWin32 or Cygwin: sh, mkdir, rm, cp, tar, gzip
* zlib headers (if building native code bindings for zlib)
* Internet connection for first build (to fetch all Maven and Hadoop dependencies)
* Unix command-line tools from GnuWin32: sh, mkdir, rm, cp, tar, gzip. These
tools must be present on your PATH.

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

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

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

Cygwin is neither required nor supported.

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

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

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

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

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

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

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

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

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

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

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

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

###############################################################################
### Submit a comment to the defect's Jira
submitJiraComment () {
Expand Down Expand Up @@ -1059,10 +991,7 @@ checkReleaseAuditWarnings
if [[ $JENKINS == "true" || $RUN_TESTS == "true" ]] ; then
runTests
(( RESULT = RESULT + $? ))
runContribTests
(( RESULT = RESULT + $? ))
fi
checkInjectSystemFaults
(( RESULT = RESULT + $? ))
JIRA_COMMENT_FOOTER="Test results: $BUILD_URL/testReport/
$JIRA_COMMENT_FOOTER"
Expand Down
4 changes: 2 additions & 2 deletions hadoop-assemblies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
<configuration>
<rules>
<requireMavenVersion>
<version>[3.0.0,)</version>
<version>${enforced.maven.version}</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.6</version>
<version>${enforced.java.version}</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion hadoop-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
limitations under the License. See accompanying LICENSE file.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hadoop</groupId>
Expand Down
17 changes: 0 additions & 17 deletions hadoop-common-project/hadoop-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,6 @@
</dependencies>

<profiles>
<profile>
<id>os.linux</id>
<activation>
<os>
<family>!Mac</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
<profile>
<id>jdk1.7</id>
<activation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.Charset;

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

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

/**
* Interface for client authentication mechanisms.
* <p/>
* <p>
* Implementations are use-once instances, they don't need to be thread safe.
*/
public interface Authenticator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
import org.slf4j.LoggerFactory;

import javax.security.auth.Subject;
import javax.security.auth.kerberos.KerberosKey;
import javax.security.auth.kerberos.KerberosTicket;
import javax.security.auth.login.AppConfigurationEntry;
import javax.security.auth.login.Configuration;
import javax.security.auth.login.LoginContext;
Expand All @@ -41,9 +43,9 @@

/**
* The {@link KerberosAuthenticator} implements the Kerberos SPNEGO authentication sequence.
* <p/>
* <p>
* It uses the default principal for the Kerberos cache (normally set via kinit).
* <p/>
* <p>
* It falls back to the {@link PseudoAuthenticator} if the HTTP endpoint does not trigger an SPNEGO authentication
* sequence.
*/
Expand Down Expand Up @@ -160,9 +162,9 @@ public void setConnectionConfigurator(ConnectionConfigurator configurator) {

/**
* Performs SPNEGO authentication against the specified URL.
* <p/>
* <p>
* If a token is given it does a NOP and returns the given token.
* <p/>
* <p>
* If no token is given, it will perform the SPNEGO authentication sequence using an
* HTTP <code>OPTIONS</code> request.
*
Expand Down Expand Up @@ -209,7 +211,7 @@ public void authenticate(URL url, AuthenticatedURL.Token token)

/**
* If the specified URL does not support SPNEGO authentication, a fallback {@link Authenticator} will be used.
* <p/>
* <p>
* This implementation returns a {@link PseudoAuthenticator}.
*
* @return the fallback {@link Authenticator}.
Expand Down Expand Up @@ -247,7 +249,9 @@ private void doSpnegoSequence(AuthenticatedURL.Token token) throws IOException,
try {
AccessControlContext context = AccessController.getContext();
Subject subject = Subject.getSubject(context);
if (subject == null) {
if (subject == null
|| (subject.getPrivateCredentials(KerberosKey.class).isEmpty()
&& subject.getPrivateCredentials(KerberosTicket.class).isEmpty())) {
LOG.debug("No subject in context, logging in");
subject = new Subject();
LoginContext login = new LoginContext("", subject,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* The {@link PseudoAuthenticator} implementation provides an authentication equivalent to Hadoop's
* Simple authentication, it trusts the value of the 'user.name' Java System property.
* <p/>
* <p>
* The 'user.name' value is propagated using an additional query string parameter {@link #USER_NAME} ('user.name').
*/
public class PseudoAuthenticator implements Authenticator {
Expand All @@ -47,13 +47,13 @@ public void setConnectionConfigurator(ConnectionConfigurator configurator) {

/**
* Performs simple authentication against the specified URL.
* <p/>
* <p>
* If a token is given it does a NOP and returns the given token.
* <p/>
* <p>
* If no token is given, it will perform an HTTP <code>OPTIONS</code> request injecting an additional
* parameter {@link #USER_NAME} in the query string with the value returned by the {@link #getUserName()}
* method.
* <p/>
* <p>
* If the response is successful it will update the authentication token.
*
* @param url the URl to authenticate against.
Expand All @@ -79,7 +79,7 @@ public void authenticate(URL url, AuthenticatedURL.Token token) throws IOExcepti

/**
* Returns the current user name.
* <p/>
* <p>
* This implementation returns the value of the Java system property 'user.name'
*
* @return the current user name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
* to allow a developer to implement their own custom authentication for browser
* access. The alternateAuthenticate method will be called whenever a request
* comes from a browser.
* <p/>
*/
public abstract class AltKerberosAuthenticationHandler
extends KerberosAuthenticationHandler {
Expand All @@ -52,7 +51,6 @@ public abstract class AltKerberosAuthenticationHandler
/**
* Returns the authentication type of the authentication handler,
* 'alt-kerberos'.
* <p/>
*
* @return the authentication type of the authentication handler,
* 'alt-kerberos'.
Expand Down Expand Up @@ -80,7 +78,6 @@ public void init(Properties config) throws ServletException {
* completed successfully (in the case of Java access) and only after the
* custom authentication implemented by the subclass in alternateAuthenticate
* has completed successfully (in the case of browser access).
* <p/>
*
* @param request the HTTP client request.
* @param response the HTTP client response.
Expand Down Expand Up @@ -109,7 +106,7 @@ public AuthenticationToken authenticate(HttpServletRequest request,
* refers to a browser. If its not a browser, then Kerberos authentication
* will be used; if it is a browser, alternateAuthenticate from the subclass
* will be used.
* <p/>
* <p>
* A User-Agent String is considered to be a browser if it does not contain
* any of the values from alt-kerberos.non-browser.user-agents; the default
* behavior is to consider everything a browser unless it contains one of:
Expand Down
Loading