Commit Graph

2419 Commits

Author SHA1 Message Date
Akira Ajisaka e397cca456 HADOOP-11971. Move test utilities for tracing from hadoop-hdfs to hadoop-common. Contributed by Masatake Iwasaki.
(cherry picked from commit e4489d97e5)
2015-06-12 07:26:05 -07:00
Vinayakumar B 7454ed2b59 HADOOP-12074. in Shell.java#runCommand() rethrow InterruptedException as InterruptedIOException (Contributed by Lavkesh Lahngir)
(cherry picked from commit 95c73d49b1)
2015-06-11 12:00:17 +05:30
Vinayakumar B d21bc811d8 HADOOP-7817. RawLocalFileSystem.append() should give FSDataOutputStream with accurate .getPos() (Contributed by kanaka kumar avvaru)
(cherry picked from commit 48ca23def1)
2015-06-10 11:07:04 +05:30
Arpit Agarwal 2d67dff15f HADOOP-12078. The default retry policy does not handle RetriableException correctly. (Contributed by Arpit Agarwal) 2015-06-09 20:58:46 -07:00
cnauroth f5b0cce7fa HADOOP-12073. Azure FileSystem PageBlobInputStream does not return -1 on EOF. Contributed by Ivan Mitic.
(cherry picked from commit c45784bc90)
2015-06-08 22:42:24 -07:00
Xiaoyu Yao 116a72096d HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by Brahma Reddy Battula
(cherry picked from commit 927577c87c)
2015-06-08 22:03:07 -07:00
Arpit Agarwal 82e772bdbb HADOOP-12054. RPC client should not retry for InvalidToken exceptions. (Contributed by Varun Saxena) 2015-06-08 15:45:25 -07:00
cnauroth 8ee50d8ca7 HDFS-8554. TestDatanodeLayoutUpgrade fails on Windows. Contributed by Chris Nauroth.
(cherry picked from commit 0e80d51983)
2015-06-08 08:39:14 -07:00
Steve Loughran c3c2b4d318 HADOOP-12052 IPC client downgrades all exception types to IOE, breaks callers trying to use them. (Brahma Reddy Battula via stevel) 2015-06-08 13:02:26 +01:00
cnauroth 1d1841d40f HADOOP-12055. Deprecate usage of NativeIO#link. Contributed by Andrew Wang.
(cherry picked from commit e46cb80002)
2015-06-06 09:17:11 -07:00
Jason Lowe 588c22e5a0 MAPREDUCE-6354. ShuffleHandler should be able to log shuffle connections. Contributed by Chang Li
(cherry picked from commit b3ffa87003)
2015-06-05 22:39:52 +00:00
Andrew Wang 1137fd4c5b HADOOP-12056. Use DirectoryStream in DiskChecker#checkDirs to detect errors when listing a directory. Contributed by Zhihai Xu.
(cherry picked from commit bc11e158b1)
2015-06-05 13:52:43 -07:00
Andrew Wang 83a97907cc HADOOP-12059. S3Credentials should support use of CredentialProvider. Contributed by Sean Busbey.
(cherry picked from commit 2dbc40e608)
2015-06-05 13:11:12 -07:00
Gera Shegalov 2cc2488164 HADOOP-11924. Tolerate JDK-8047340-related exceptions in Shell#isSetSidAvailable preventing class init. (Tsuyoshi Ozawa via gera)
(cherry picked from commit 9f6d67844d)
2015-06-04 11:47:22 -07:00
Arpit Agarwal 75e962f367 HADOOP-11994. smart-apply-patch wrongly assumes that git is infallible. (Contributed by Kengo Seki) 2015-06-04 10:54:12 -07:00
Akira Ajisaka 1cccd1eeb3 HADOOP-12058. Fix dead links to DistCp and Hadoop Archives pages. Contributed by Kazuho Fujii.
(cherry picked from commit dbed757cba)
2015-06-05 01:46:33 +09:00
Vinayakumar B 2ce7659bf0 HADOOP-12019. update BUILDING.txt to include python for 'mvn site' in windows (Contributed by Vinayakumar B)
(cherry picked from commit 1bb79c9d01)
2015-06-04 10:44:04 +05:30
Akira Ajisaka e02df98f7d HADOOP-12018. smart-apply-patch.sh fails if the patch edits CR+LF files and is created by 'git diff --no-prefix'. Contributed by Kengo Seki.
(cherry picked from commit b5f0d294f8)
2015-06-04 11:16:24 +09:00
Akira Ajisaka 84cae6c101 HADOOP-11991. test-patch.sh isn't re-executed even if smart-apply-patch.sh is modified. Contributed by Kengo Seki.
(cherry picked from commit a6a8ee3c24)
2015-06-03 15:01:52 +09:00
Andrew Wang 52ff1610cd HADOOP-12037. Fix wrong classname in example configuration of hadoop-auth documentation. Contributed by Masatake Iwasaki.
(cherry picked from commit 990078b927)
2015-06-01 18:05:06 -07:00
Andrew Wang 600f5f5232 HADOOP-12043. Display warning if defaultFs is not set when running fs commands. Contributed by Eddy Xu.
(cherry picked from commit 374ddd9f9e)
2015-05-29 17:16:19 -07:00
Andrew Wang bdaa0fed13 HADOOP-11885. hadoop-dist dist-layout-stitching.sh does not work with dash. (wang)
(cherry picked from commit 7673d4f205)

 Conflicts:
	hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/pom.xml
	hadoop-mapreduce-project/pom.xml
2015-05-29 14:55:52 -07:00
Vinayakumar B 09d68d645a HADOOP-12042. Users may see TrashPolicy if hdfs dfs -rm is run (Contributed by Andreina J)
(cherry picked from commit 7366e42563)
2015-05-29 16:52:23 +05:30
cnauroth 33648268ce HADOOP-11934. Use of JavaKeyStoreProvider in LdapGroupsMapping causes infinite loop. Contributed by Larry McCay.
(cherry picked from commit 860b8373c3)
2015-05-28 15:01:57 -07:00
cnauroth 39f451e721 HADOOP-11959. WASB should configure client side socket timeout in storage client blob request options. Contributed by Ivan Mitic.
(cherry picked from commit 94e7d49a6d)

Conflicts:
	hadoop-project/pom.xml
2015-05-28 12:32:55 -07:00
Allen Wittenauer 6c71ac7b6b HADOOP-11930. test-patch in offline mode should tell maven to be in offline mode (Sean Busbey via aw) 2015-05-28 12:12:19 -07:00
Colin Patrick Mccabe 4b108a441d HADOOP-11894. Bump the version of Apache HTrace to 3.2.0-incubating (Masatake Iwasaki via Colin P. McCabe)
(cherry picked from commit a1140959da)
2015-05-28 12:03:07 -07:00
Colin Patrick Mccabe 2a56adc550 HDFS-8429. Avoid stuck threads if there is an error in DomainSocketWatcher that stops the thread. (zhouyingchao via cmccabe)
(cherry picked from commit 246cefa089)
2015-05-28 11:54:24 -07:00
Allen Wittenauer 1a3ccf4724 HADOOP-12030. test-patch should only report on newly introduced findbugs warnings. (Sean Busbey via aw) 2015-05-28 09:54:17 -07:00
Allen Wittenauer e6a171e7a2 HADOOP-12035. shellcheck plugin displays a wrong version potentially (Kengo Seki via aw) 2015-05-28 09:11:52 -07:00
Allen Wittenauer 7da2636232 HADOOP-12004. test-patch breaks with reexec in certain situations (Sean Busbey via aw) 2015-05-28 08:16:02 -07:00
Akira Ajisaka 9670762a82 HADOOP-11242. Record the time of calling in tracing span of IPC server. Contributed by Mastake Iwasaki.
(cherry picked from commit bb1816328a)
2015-05-27 18:05:08 +09:00
Colin Patrick Mccabe 3dec58dd78 HADOOP-11969. ThreadLocal initialization in several classes is not thread safe (Sean Busbey via Colin P. McCabe)
(cherry picked from commit 7dba7005b7)
2015-05-26 12:40:41 -07:00
Akira Ajisaka 70615947bd HADOOP-8751. NPE in Token.toString() when Token is constructed using null identifier. Contributed by kanaka kumar avvaru.
(cherry picked from commit 56996a685e)
2015-05-26 16:17:27 +09:00
Colin Patrick Mccabe 97ebe1b2cf HADOOP-11927. Fix "undefined reference to dlopen" error when compiling libhadooppipes (Xianyin Xin via Colin P. McCabe)
(cherry picked from commit f34638399a)
2015-05-22 12:57:29 -07:00
Vinayakumar B 19895a41ad HADOOP-11743. maven doesn't clean all the site files (Contributed by ramtin)
(cherry picked from commit 55ed6558ba)

Conflicts:
	hadoop-common-project/hadoop-common/pom.xml
2015-05-22 16:46:50 +05:30
Akira Ajisaka b95d21c379 HADOOP-11594. Improve the readability of site index of documentation. Contributed by Masatake Iwasaki.
(cherry picked from commit ab7958f227)
2015-05-22 16:54:46 +09:00
Akira Ajisaka 01e5de9120 HADOOP-11955. Fix a typo in the cluster setup doc. Contributed by Yanjun Wang.
(cherry picked from commit b2a40942c1)
2015-05-22 16:09:24 +09:00
Akira Ajisaka 6cd7672878 HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki.
(cherry picked from commit 07007bdbc8900cfe8421f4829b1444fc9e7aceb7)
2015-05-22 14:15:37 +09:00
Akira Ajisaka b578f76bed HADOOP-10366. Add whitespaces between classes for values in core-default.xml to fit better in browser. Contributed by kanaka kumar avvaru.
(cherry picked from commit 0e4f1081c7)
2015-05-21 17:53:18 +09:00
Haohui Mai e30f91644f HADOOP-11772. RPC Invoker relies on static ClientCache which has synchronized(this) blocks. Contributed by Haohui Mai. 2015-05-20 20:11:00 -07:00
Haohui Mai ed320da2ba HADOOP-11995. Make jetty version configurable from the maven command line. Contributed by Sriharsha Devineni. 2015-05-19 18:28:34 -07:00
Allen Wittenauer 511a503aab HADOOP-12000. cannot use --java-home in test-patch (aw) 2015-05-19 15:24:53 -07:00
cnauroth 7af9a78fe8 HADOOP-11963. Metrics documentation for FSNamesystem misspells PendingDataNodeMessageCount. Contributed by Anu Engineer.
(cherry picked from commit e422e76fca)
2015-05-19 11:50:38 -07:00
Arun Suresh 00e2a0a494 HADOOP-11973. Ensure ZkDelegationTokenSecretManager namespace znodes get created with ACLs. (Gregory Chanan via asuresh)
(cherry picked from commit fd3cb533d2)
2015-05-19 11:37:15 -07:00
Colin Patrick Mccabe 9534e533dc HADOOP-11970. Replace uses of ThreadLocal<Random> with JDK7 ThreadLocalRandom (Sean Busbey via Colin P. McCabe)
(cherry picked from commit 470c87dbc6)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicy.java
        hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
2015-05-19 11:15:04 -07:00
Allen Wittenauer 6c4aa89e56 HADOOP-11581. Multithreaded correctness Warnings #org.apache.hadoop.fs.shell.Ls (Brahma Reddy Battula via aw)
(cherry picked from commit b015fec601)

Conflicts:
	hadoop-common-project/hadoop-common/CHANGES.txt
2015-05-19 18:36:19 +09:00
Vinayakumar B 5bbf157cb2 HADOOP-11103. Clean up RemoteException (Contributed by Sean Busbey)
(cherry picked from commit d4a2830b63)
2015-05-19 14:41:34 +05:30
Akira Ajisaka fb49967e97 HADOOP-10971. Add -C flag to make `hadoop fs -ls` print filenames only. Contributed by Kengo Seki.
(cherry picked from commit 3b50dcdce4)

Conflicts:
	hadoop-common-project/hadoop-common/CHANGES.txt
2015-05-19 17:58:52 +09:00
Allen Wittenauer df6d242e28 HADOOP-8934. Shell command ls should include sort options (Jonathan Allen via aw) (missed file)
(cherry picked from commit 576459801c)
2015-05-19 17:39:12 +09:00
Allen Wittenauer 3d0e2e54a1 HADOOP-8934. Shell command ls should include sort options (Jonathan Allen via aw)
(cherry picked from commit 30b797ee9d)

Conflicts:
	hadoop-common-project/hadoop-common/src/site/apt/FileSystemShell.apt.vm
2015-05-19 17:38:22 +09:00
Jing Zhao 5caea4cd46 HADOOP-1540. Support file exclusion list in distcp. Contributed by Rich Haase.
(cherry picked from commit 0790275f05)
2015-05-18 13:26:09 -07:00
Arpit Agarwal 9bcb740049 HDFS-8345. Storage policy APIs must be exposed via the FileSystem interface. (Arpit Agarwal) 2015-05-18 11:49:01 -07:00
Allen Wittenauer baf782f353 HADOOP-11949. Add user-provided plugins to test-patch (Sean Busbey via aw) 2015-05-18 17:06:57 +00:00
Allen Wittenauer 10c922b5c6 HADOOP-11944. add option to test-patch to avoid relocating patch process directory (Sean Busbey via aw) 2015-05-18 16:14:24 +00:00
Allen Wittenauer d82222920e HADOOP-11884. test-patch.sh should pull the real findbugs version (Kengo Seki via aw) 2015-05-18 16:09:34 +00:00
Akira Ajisaka 8969a5d45a HADOOP-10582. Fix the test case for copying to non-existent dir in TestFsShellCopy. Contributed by Kousuke Saruta.
(cherry picked from commit a46506d99c)
2015-05-18 16:32:22 +09:00
Akira Ajisaka b26d99c394 HADOOP-11939. Deprecate DistCpV1 and Logalyzer. Contributed by Brahma Reddy Battula.
(cherry picked from commit f5c48238d5)
2015-05-18 16:14:19 +09:00
Akira Ajisaka 343effa2c7 HADOOP-11988. Fix typo in the document for hadoop fs -find. Contributed by Kengo Seki.
(cherry picked from commit cab0dadbd8)
2015-05-17 13:36:50 +09:00
cnauroth 91855c2340 HADOOP-11960. Enable Azure-Storage Client Side logging. Contributed by Dushyanth.
(cherry picked from commit cb8e69a80c)
2015-05-14 22:22:46 -07:00
cnauroth fa082e1a0a HADOOP-11713. ViewFileSystem should support snapshot methods. Contributed by Rakesh R.
(cherry picked from commit 09fe16f166)
2015-05-14 14:56:13 -07:00
Vinayakumar B 085841d9ac HADOOP-8174. Remove confusing comment in Path#isAbsolute() (Contributed by Suresh Srinivas)
(cherry picked from commit 0daa5ada68)
2015-05-14 14:18:00 +05:30
Tsuyoshi Ozawa 9f89c6656e HADOOP-11361. Fix a race condition in MetricsSourceAdapter.updateJmxCache. Contributed by Brahma Reddy Battula.
(cherry picked from commit 4356e8a5ef)
2015-05-14 10:20:57 +09:00
cnauroth ddc4afeff2 HADOOP-11966. Variable cygwin is undefined in hadoop-config.sh when executed through hadoop-daemon.sh. Contributed by Chris Nauroth. 2015-05-13 12:25:49 -07:00
Akira Ajisaka b9a92c4452 HADOOP-9723. Improve error message when hadoop archive output path already exists. Contributed by Jean-Baptiste Onofré and Yongjun Zhang.
(cherry picked from commit 92c38e41e1)
2015-05-13 17:30:49 +09:00
Zhijie Shen 6043224458 YARN-3539. Updated timeline server documentation and marked REST APIs evolving. Contributed by Steve Loughran.
(cherry picked from commit fcd0702c10)
2015-05-12 21:13:47 -07:00
Akira Ajisaka 7596c6e731 HDFS-6184. Capture NN's thread dump when it fails over. Contributed by Ming Ma.
(cherry picked from commit 2463666ecb)
2015-05-13 11:37:59 +09:00
Haohui Mai 8011d4688f HADOOP-11962. Sasl message with MD5 challenge text shouldn't be LOG out even in debug level. Contributed by Junping Du. 2015-05-12 10:30:43 -07:00
Allen Wittenauer 93bbbddda2 HADOOP-11947. test-patch should return early from determine-issue when run in jenkins mode. (Sean Busbey via aw) 2015-05-11 12:08:23 -07:00
Allen Wittenauer 5c7c7b7b74 HADOOP-11948. test-patch's issue matching regex should be configurable. (Sean Busbey via aw) 2015-05-11 11:54:21 -07:00
Allen Wittenauer cea8213c3e HADOOP-11950. Add cli option to test-patch to set the project-under-test (Sean Busbey via aw) 2015-05-11 11:51:04 -07:00
Allen Wittenauer 6307687f7d HADOOP-11951. test-patch should give better info about failures to handle dev-support updates without resetrepo option (Sean Busbey via aw) 2015-05-11 11:46:14 -07:00
Allen Wittenauer fa1cf5a51a HADOOP-11928. Test-patch check for @author tags incorrectly flags removal of @author tags (Kengo Seki via aw) 2015-05-11 11:35:42 -07:00
Akira Ajisaka 77587fe198 HADOOP-11663. Remove description about Java 6 from docs. Contributed by Masatake Iwasaki.
(cherry picked from commit b9cebfc0ba)
2015-05-12 00:31:28 +09:00
Junping Du a1a7deebf8 YARN-3587. Fix the javadoc of DelegationTokenSecretManager in yarn, etc. projects. Contributed by Gabor Liptak.
(cherry picked from commit 7e543c27fa)
2015-05-11 05:28:25 -07:00
Robert Kanter 015b30c3ab HADOOP-9737. JarFinder#getJar should delete the jar file upon destruction of the JVM (jbonofre via rkanter)
(cherry picked from commit 315074bb08)
2015-05-08 16:05:59 -07:00
Allen Wittenauer a1484cf771 HADOOP-11906. test-patch.sh should use file command for patch determinism (Sean Busbey via aw) 2015-05-08 15:14:13 -07:00
Jason Lowe 1523ed5a76 HADOOP-9729. The example code of org.apache.hadoop.util.Tool is incorrect. Contributed by hellojinjie
(cherry picked from commit ec2748dedb)
2015-05-08 21:29:18 +00:00
Jason Lowe 4b96834e0d HADOOP-7165. listLocatedStatus(path, filter) is not redefined in FilterFs. Contributed by Hairong Kuang
(cherry picked from commit c4bd2cdded)
2015-05-08 20:36:55 +00:00
Colin Patrick Mccabe d83ae68bb0 HDFS-8284. Update documentation about how to use HTrace with HDFS (Masatake Iwasaki via Colin P. McCabe)
(cherry picked from commit 8f7c2364d7)
2015-05-08 12:30:34 -07:00
Arpit Agarwal a481f950c3 HADOOP-10356. Corrections in winutils/chmod.c (Contributed by René Nyffenegger) 2015-05-08 11:42:55 -07:00
cnauroth 5c188908fe HDFS-5640. Add snapshot methods to FileContext. Contributed by Rakesh R.
(cherry picked from commit 26f61d41df)
2015-05-08 11:21:02 -07:00
Robert (Bobby) Evans eef8d70bb0 HADOOP-6842. "hadoop fs -text" does not give a useful text representation of MapWritable objects
(cherry picked from commit cc17c83585)
2015-05-08 12:00:31 -05:00
Vinayakumar B 2c3d79023b HADOOP-11877. SnappyDecompressor's Logger class name is wrong ( Contributed by surendra singh lilhore)
(cherry picked from commit 1ffb7fa42e)
2015-05-08 16:53:16 +05:30
Vinayakumar B a87ab77fec HDFS-6576. Datanode log is generating at root directory in security mode (Contributed by surendra singh lilhore) 2015-05-08 16:37:36 +05:30
Vinayakumar B 14d88a85e4 HADOOP-11922. Misspelling of threshold in log4j.properties for tests in hadoop-tools (Contributed by Gabor Liptak)
(cherry picked from commit f33efbc827)
2015-05-08 10:23:27 +05:30
Allen Wittenauer 1886bab0f1 HADOOP-11936. Dockerfile references a removed image (aw) 2015-05-07 11:47:20 -07:00
Akira Ajisaka 3b36f36576 HADOOP-10387. Misspelling of threshold in log4j.properties for tests in hadoop-common-project. Contributed by Brahma Reddy Battula.
(cherry picked from commit 305e4733d6)
2015-05-07 16:54:30 +09:00
Xiaoyu Yao bd88215393 HDFS-8310. Fix TestCLI.testAll 'help: help for find' on Windows. (Kiran Kumar M R via Xiaoyu Yao)
(cherry picked from commit 7a26d174af)
2015-05-06 10:27:07 -07:00
Colin Patrick Mccabe 606e4f4940 HADOOP-11912. Extra configuration key used in TraceUtils should respect prefix (Masatake Iwasaki via Colin P. McCabe)
(cherry picked from commit 90b3845648)
2015-05-05 17:50:04 -07:00
Allen Wittenauer b8e4507637 HADOOP-11926. test-patch.sh mv does wrong math (aw) 2015-05-05 17:02:35 -07:00
Robert Kanter bd207b6cc0 MAPREDUCE-6192. Create unit test to automatically compare MR related classes and mapred-default.xml (rchiang via rkanter) 2015-05-05 14:47:52 -07:00
Brandon Li a9d12128f3 HADOOP-11898. add nfs3 and portmap starting command in hadoop-daemon.sh in branch-2. Contributed by Brandon Li 2015-05-05 14:23:13 -07:00
Allen Wittenauer f95fd5b6df HADOOP-11925. backport trunk's smart-apply-patch.sh to branch-2 (aw) 2015-05-05 14:11:08 -07:00
Allen Wittenauer 50a5d0b62b HADOOP-11917. test-patch.sh should work with ${BASEDIR}/patchprocess setups (aw) 2015-05-05 11:28:16 -07:00
Allen Wittenauer 51df9e8379 HADOOP-11904. test-patch.sh goes into an infinite loop on non-maven builds (aw) 2015-05-05 11:05:56 -07:00
Allen Wittenauer 02892f674b HADOOP-11911. test-patch should allow configuration of default branch (Sean Busbey via aw) 2015-05-05 10:03:22 -07:00
Andrew Wang 84d8ba4f72 HADOOP-11120. hadoop fs -rmr gives wrong advice. Contributed by Juliet Houghland.
(cherry picked from commit 05adc76ace)
2015-05-05 08:37:41 -07:00
Tsuyoshi Ozawa aefadb838c HADOOP-11916. TestStringUtils#testLowerAndUpperStrings failed on MAC due to a JVM bug. Contributed by Ming Ma.
(cherry picked from commit 338e88a19e)
2015-05-05 12:39:43 +09:00
Wangda Tan 4e77ee2f6f YARN-3375. NodeHealthScriptRunner.shouldRun() check is performing 3 times for starting NodeHealthScriptRunner (Devaraj K via wangda)
(cherry picked from commit 71f4de220c)
2015-05-04 16:02:57 -07:00