Gautham B A
c3006be516
HDFS-16407. Make hdfs_du tool cross platform ( #3848 )
2022-01-04 22:29:54 +05:30
Gautham B A
6dddbd42ed
HDFS-16285. Make HDFS ownership tools cross platform ( #3588 )
2021-12-09 10:17:41 +05:30
Gautham B A
0a952e4d1f
HDFS-16304. Locate OpenSSL libs for libhdfspp ( #3625 )
2021-11-08 08:58:07 -08:00
Gautham B A
1032724aa3
HDFS-16300. Use libcrypto in Windows for libhdfspp ( #3617 )
2021-11-04 09:19:11 -07:00
Gautham B A
a2f089df4d
HDFS-16278. Make HDFS snapshot tools cross platform ( #3563 )
2021-10-21 10:24:33 -07:00
Viraj Jasani
516f36c6f1
HADOOP-17967. Keep restrict-imports-enforcer-rule for Guava VisibleForTesting in hadoop-main pom ( #3555 )
2021-10-21 16:54:25 +09:00
Gautham B A
107fe227eb
HDFS-16267. Make hdfs_df tool cross platform ( #3542 )
2021-10-13 09:11:21 -07:00
Gautham B A
a05eb23a85
HDFS-16260. Make hdfs_deleteSnapshot tool cross platform ( #3532 )
2021-10-11 18:25:28 -07:00
Viraj Jasani
3ac0cc9e6f
HADOOP-17957. Replace Guava VisibleForTesting by Hadoop's own annotation in hadoop-hdfs-project modules ( #3530 )
...
Reviewed-by: Ahmed Hussein <ahussein@apache.org>
2021-10-11 15:32:49 +09:00
Gautham B A
4f3dfb7c1c
HDFS-16265. Refactor HDFS tool tests for better reuse ( #3536 )
2021-10-09 11:00:43 -07:00
Gautham B A
cc95fc4cc6
HDFS-16263. Add CMakeLists for hdfs_allowSnapshot ( #3531 )
2021-10-08 08:49:56 -07:00
Gautham B A
6bad3badf5
HDFS-16251. Make hdfs_cat tool cross platform ( #3523 )
2021-10-07 10:57:11 -07:00
Gautham B A
e12cd0c638
HDFS-16254. Cleanup protobuf on exit of hdfs_allowSnapshot ( #3518 )
2021-10-06 09:24:27 -07:00
Gautham B A
84f10fd78b
HDFS-16250. Refactor AllowSnapshotMock using GMock ( #3513 )
2021-10-05 09:16:42 -07:00
Gautham B A
35a8d48872
HDFS-16205. Make hdfs_allowSnapshot tool cross platform ( #3388 )
2021-09-22 10:29:38 -07:00
Gautham B A
b6d1971820
HDFS-16178. Make recursive rmdir in libhdfs++ cross platform ( #3311 )
2021-08-20 10:04:55 -07:00
Gautham B A
409878ef80
HDFS-16174. Refactor TempFile and TempDir in libhdfs++ ( #3303 )
2021-08-17 09:49:52 -07:00
Gautham B A
77383a4d55
HDFS-15976. Make mkdtemp cross platform ( #2908 )
2021-08-10 09:23:28 -07:00
Akira Ajisaka
4972e7a246
Fix potential heap buffer overflow in hdfs.c. Contributed by Igor Chervatyuk.
2021-08-07 11:27:25 +09:00
Gautham B A
ef5dbc7283
HADOOP-17766. CI for Debian 10 ( #3129 )
2021-06-23 10:02:33 -07:00
Gautham B A
bcaeb1ac8c
Revert "Revert "HDFS-15971. Make mkstemp cross platform ( #2898 )"" ( #3044 )
2021-05-26 14:12:53 -07:00
Eric Badger
aed13f0f42
Revert "HDFS-15971. Make mkstemp cross platform ( #2898 )"
...
This reverts commit b088f46b68
.
2021-04-16 17:15:33 +00:00
Akira Ajisaka
f0241ec216
HDFS-15977. Call explicit_bzero only if it is available. ( #2914 )
...
Reviewed-by: Masatake Iwasaki <iwasakims@apache.org>
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
2021-04-16 13:26:45 +09:00
Masatake Iwasaki
2717203f85
HADOOP-17569. Building native code fails on Fedora 33. ( #2886 )
2021-04-15 21:33:18 +09:00
Gautham B A
b088f46b68
HDFS-15971. Make mkstemp cross platform ( #2898 )
2021-04-13 08:54:45 -07:00
Gautham B A
3148791da4
HDFS-15962. Make strcasecmp cross platform ( #2883 )
2021-04-09 09:01:33 -07:00
Gautham B A
bf66116407
HDFS-15955. Make explicit_bzero cross platform ( #2875 )
2021-04-08 09:44:47 -07:00
Gautham B A
42ddb5c6fe
HDFS-15909. Make fnmatch cross platform ( #2792 )
2021-04-06 09:23:21 -07:00
Gautham B A
36014b8282
HDFS-15949. Fix integer overflow ( #2857 )
...
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-04-06 18:22:54 +09:00
Gautham B A
6e1df1c048
HDFS-15947. Replace deprecated protobuf APIs ( #2856 )
2021-04-05 09:52:48 -07:00
Gautham B A
70536ba1f9
HDFS-15944. Prevent truncation by snprintf ( #2853 )
2021-04-02 09:37:33 -07:00
Gautham B A
7dfff496fa
HDFS-15929. Replace RAND_pseudo_bytes in util.cc ( #2826 )
2021-03-30 13:36:02 -07:00
Gautham B A
8668abf87e
HDFS-15927. Catch polymorphic type by reference ( #2824 )
2021-03-30 13:35:45 -07:00
Gautham B A
50b1e1c0c4
HDFS-15928. Replace RAND_pseudo_bytes in rpc_engine.cc ( #2825 )
2021-03-30 10:37:10 -07:00
Gautham B A
6a3e135316
HDFS-15922. Use memcpy for copying non-null terminated string. ( #2827 )
2021-03-29 10:38:59 -07:00
Gautham B A
1fed18bb2d
HDFS-15922. Use memcpy for copying non-null terminated string in jni_helper.c ( #2818 )
2021-03-26 09:26:35 -07:00
Gautham B A
654555783d
HDFS-15918. Replace deprecated RAND_pseudo_bytes ( #2811 )
2021-03-24 10:52:33 -07:00
Gautham B A
714427c414
HDFS-15910. Improve security with explicit_bzero ( #2793 )
2021-03-23 09:58:19 -07:00
Gautham B A
61bfa42389
HDFS-15903. Refactor X-Platform lib ( #2783 )
2021-03-22 08:40:54 -07:00
Gautham B A
47620f8821
HDFS-15843. Make write cross-platform ( #2710 )
2021-03-16 09:06:51 -07:00
Akira Ajisaka
0ed9e36282
HDFS-15834. Remove the usage of org.apache.log4j.Level ( #2696 )
2021-02-17 01:59:24 -05:00
Gautham B A
ad483fd66e
HDFS-15740. Add x-platform utilities ( #2567 )
2021-01-29 10:11:38 -08:00
Gautham B A
4ffec79b7c
HDFS-15712. Upgrade googletest to 1.10.0 ( #2523 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2020-12-08 17:08:14 +09:00
Hui Fei
474fa80bfb
HADOOP-17277. Correct spelling errors for separator ( #2322 )
...
Contributed by Hui Fei.
2020-09-22 17:10:33 +01:00
Gautham B A
909f1e82d3
HADOOP-17196. Fix C/C++ standard warnings ( #2208 )
...
* Passing C/C++ standard flags -std is
not cross-compiler friendly as not all
compilers support all values.
* Thus, we need to make use of the
appropriate flags provided by CMake in
order to specify the C/C++ standards.
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2020-08-11 16:35:08 +09:00
Yuan
e756fe3590
HDFS-14950. fix missing libhdfspp lib in dist-package ( #1947 )
...
libhdfspp.{a,so} are missed in dist-package.
This patch fixed this by copying these libs to the right directory
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2020-07-31 16:49:49 +09:00
Suraj Naik
4101b0c0ed
HDFS-15476 Make AsyncStream executor private ( #2151 )
2020-07-19 23:26:54 +05:30
Gautham B A
cce5a6f609
HDFS-15385 Upgrade boost library to 1.72 ( #2051 )
...
* Removed the asio-1.10.2 that was
checked in under libhdfspp/third_party
directory.
2020-07-15 13:39:48 +09:00
Babneet Singh
1996351b0b
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>
2020-05-04 13:08:53 -07:00
Aryan Gupta
816042e62b
HDFS-15301. statfs function in hdfs-fuse not working. Contributed by Aryan Gupta.( #1980 )
2020-04-29 09:19:59 +05:30