Babneet Singh
44fdee351d
HDFS-15270. Account for *env == NULL in hdfsThreadDestructor ( #1951 )
...
OpenJ9 JVM properly terminates the thread before hdfsThreadDestructor is
invoked. JNIEnv is a mirror of J9VMThread in OpenJ9. After proper thread
termination, accessing JNIEnv in hdfsThreadDestructor (*env)->GetJavaVM,
yields a SIGSEGV since *env is NULL after thread cleanup is performed.
The main purpose of hdfsThreadDestructor is to invoke
DetachCurrentThread, which performs thread cleanup in OpenJ9. Since
OpenJ9 performs thread cleanup before hdfsThreadDestructor is invoked,
hdfsThreadDestructor should account for *env == NULL and skip
DetachCurrentThread.
Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
(cherry picked from commit 1996351b0b
)
(cherry picked from commit d1e5e393c3
)
2020-05-11 10:46:10 -07:00
Akira Ajisaka
1bbbef38d0
HDFS-15232. Fix libhdfspp test failures with GCC 7. ( #1906 )
...
(cherry picked from commit f59f6891c8
)
2020-03-24 11:38:12 +09:00
Istvan Fajth
e42ac486e7
HDFS-14668 Support Fuse with Users from multiple Security Realms ( #1739 )
...
(cherry picked from commit 57aa048516
)
2020-02-27 07:49:31 -08:00
Kihwal Lee
5257afb153
HDFS-12491. Support wildcard in CLASSPATH for libhdfs. Contributed by Muhammad Samir Khan.
...
(cherry picked from commit 10a60fbe20
)
2020-02-04 12:24:12 -06:00
Rohith Sharma K S
7d5bb2ebb7
Preparing for 3.2.2-SNAPSHOT development.
2019-09-07 08:52:08 +05:30
Chen Liang
3d3686a619
HDFS-14035. NN status discovery does not leverage delegation token. Contributed by Chen Liang.
2019-06-28 14:23:09 -07:00
Daniel Templeton
252c3a158d
HDFS-14047. [libhdfs++] Fix hdfsGetLastExceptionRootCause bug in test_libhdfs_threaded.c
...
(Contributed by Antoli Shein via Daniel Templeton)
Change-Id: Ia5546fd5f8270f285c373b9023a9bd9835059845
2019-06-27 15:02:59 -07:00
Akira Ajisaka
f68099aa13
HDFS-11950. Disable libhdfs zerocopy test on Mac. Contributed by Akira Ajisaka.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit a95e87d827
)
2019-06-17 17:03:51 -07:00
Takanobu Asanuma
a9a3450560
HADOOP-16331. Fix ASF License check in pom.xml. Contributed by Akira Ajisaka.
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2019-05-29 17:34:16 +09:00
Akira Ajisaka
855dc997d6
HADOOP-16323. https everywhere in Maven settings.
2019-05-27 15:27:33 +09:00
Takanobu Asanuma
8887980d32
HDFS-14232. libhdfs is not included in binary tarball. Contributed by Akira Ajisaka.
...
(cherry picked from commit ec77e95bbd
)
2019-02-04 10:12:53 +09:00
Sunil G
856dd1208e
HDFS-14033. [libhdfs++] Disable libhdfs++ build on systems that do not support thread_local. Contributed by Anatoli Shein.
...
(cherry picked from commit 9c438abe52
)
2018-10-31 12:33:55 +05:30
Sunil G
bde4fd5ed9
Preparing for 3.2.0 release
2018-10-18 17:07:45 +05:30
Giovanni Matteo Fumarola
7b1fa5693e
HDFS-13849. Migrate logging to slf4j in hadoop-hdfs-httpfs, hadoop-hdfs-nfs, hadoop-hdfs-rbf, hadoop-hdfs-native-client. Contributed by Ian Pickering.
2018-08-27 10:18:05 -07:00
Jason Lowe
a17eed1b87
HDFS-13822. speedup libhdfs++ build (enable parallel build). Contributed by Allen Wittenauer and Pradeep Ambati
2018-08-17 12:25:36 -05:00
Aaron Fabbri
40f9b0c5c1
HDFS-13322 fuse dfs - uid persists when switching between ticket caches. Contributed by Istvan Fajth.
2018-07-31 18:44:49 -07:00
Allen Wittenauer
5d0f01e1fe
HDFS-13722. HDFS Native Client Fails Compilation on Ubuntu 18.04 (contributed by Jack Bearden)
2018-07-10 12:17:44 -07:00
James Clampffer
7969cc4667
HDFS-13615. libhdfs++ SaslProtocol hanging while accessing invalid lock. Contributed by Mitchell Tracy
2018-06-07 16:02:57 -04:00
James Clampffer
b79ae5d93d
HDFS-13534. libhdfs++: Fix GCC7 build. Contributed by James Clampffer.
2018-06-07 14:16:17 -04:00
James Clampffer
19ae588fde
HDFS-11807. libhdfs++: Get minidfscluster tests running under valgrind. Contributed by Anatoli Shein.
2018-05-02 11:49:12 -04:00
James Clampffer
eefe2a147c
HDFS-13403: libhdfs++ Use hdfs::IoService object rather than asio::io_service. Contributed by James Clampffer.
2018-04-11 10:27:23 -04:00
James Clampffer
8620d2bdf9
HDFS-12110: libhdfs++: Rebase HDFS-8707 on trunk, minor conflict resolution in this patch. Contributed by Deepak Majeti and Anatoli Shein.
2018-03-22 17:19:47 -04:00
James
fc5e44d9ed
HDFS-12427: libhdfs++: Prevent requests from holding dangling pointer to RpcEngine. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James
48db24a430
HDFS-11294: libhdfs++: Segfault in HA failover if DNS lookup for both Namenodes fails. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James Clampffer
12942f679a
HDFS-10787: libhdfs++: Public API should expose configuration parser. Original patch contributed by Mitchell Tracy, followup work and compile warning fixes contributed by Anatoli Shein.
2018-03-22 17:19:47 -04:00
James Clampffer
eeb49d0ca7
HDFS-12237: libhdfs++: PROTOC_IS_COMPATIBLE check fails if protobuf library is built from source. Contributed by Anatoli Shein.
2018-03-22 17:19:47 -04:00
James Clampffer
22ea06a3dd
HDFS-12134: libhdfs++: Add a synchronization interface for the GSSAPI. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James Clampffer
033433bce7
HDFS-12026: libhdfs++: Fix compilation errors and warnings when compiling with Clang. Contributed by Anatoli Shein.
2018-03-22 17:19:47 -04:00
James Clampffer
53e40bc718
HDFS-10874: libhdfs++: Public API headers should not depend on internal implementation. Contributed by James Clampffer
2018-03-22 17:19:47 -04:00
James Clampffer
3db261d45b
HDFS-12103: libhdfs++: Provide workaround to support cancel on filesystem connect until HDFS-11437 is resolved. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James Clampffer
23afd50865
HDFS-11908: libhdfs++: Authentication failure when first NN of a kerberized HA cluster is standby. Contributed by James Clampffer
2018-03-22 17:19:47 -04:00
James Clampffer
e64ba87486
HDFS-12104: libhdfs++: Make sure all steps in SaslProtocol end up calling AuthComplete. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James Clampffer
3c743b475e
HDFS-12013: libhdfs++: read with offset at EOF should return 0 bytes instead of error. Contributed by Xiaowei Zhu
2018-03-22 17:19:47 -04:00
James Clampffer
c5e7a69523
HDFS-11971: libhdfs++: [Fix] a few portability issues. Contributed by Anatoli Schein
2018-03-22 17:19:47 -04:00
James Clampffer
1c9b174663
HDFS-11518: libhdfs++: Add a build option to skip building examples, tests, and tools. Contributed by Anatoli Schein.
2018-03-22 17:19:47 -04:00
James Clampffer
869317be0a
HDFS-10785: libhdfs++: Implement the rest of the tools. Contributed by Anatoli Schein
2018-03-22 17:19:47 -04:00
James Clampffer
52445fd4ee
HDFS-11544: libhdfs++: Revert HDFS-11544.HDFS-8707.001.patch due to invalid memory access regression. Done by James Clampffer
2018-03-22 17:19:47 -04:00
James Clampffer
c2386bc2f3
HDFS-11758: libhdfs++: Catch exceptions thrown by runtime hooks. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James
57cdad73de
HDFS-11767: libhdfs++: SASL events should be scoped closer to usage. Contributed by James Clampffer
2018-03-22 17:19:47 -04:00
James
b584e34f2f
HDFS-11730: libhdfs++: RpcConnection should handle authorization error call id. Contributed by James Clampffer
2018-03-22 17:19:47 -04:00
James
fdb88eb57e
HDFS-11544: libhdfs++: Improve C API error reporting. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James
3e53da2d62
HDFS-11106: libhdfs++: Some refactoring to better organize files (part 2). Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James
0f3f8db113
HDFS-11449: libhdfs++: Log Datanode read size when reading from an HDFS block. Contributed by Xiaowei Zhu.
2018-03-22 17:19:47 -04:00
James
606d20c6c0
HDFS-11436: libhdfs++: Fix race condition in ScopedResolver. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James
8783461e2e
HDFS-11028: libhdfs++: FileSystem needs to be able to cancel pending connections. Contributed by James Clampffer
2018-03-22 17:19:47 -04:00
James
58de2df860
HDFS-10685: libhdfs++: return explicit error when non-secured client connects to secured server. Contributed by Kai Jiang.
2018-03-22 17:19:47 -04:00
James
69d55340f8
HDFS-11305: libhdfs++: Log Datanode information when reading an HDFS block. Contributed by Xiaowei Zhu.
2018-03-22 17:19:47 -04:00
James
a30cf6a369
HDFS-10796: libhdfs++: Previous commit was missing test/hdfs_ioservice_test.cc, adding it.
2018-03-22 17:19:47 -04:00
James
fbff671e0f
HDFS-10796: libhdfs++: rationalize ioservice interactions. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00
James
dd7837c429
HDFS-11106: libhdfs++: Some refactoring to better organize files. Contributed by James Clampffer.
2018-03-22 17:19:47 -04:00