HDFS-10844. test_libhdfs_threaded_hdfs_static and test_libhdfs_zerocopy_hdfs_static are failing.
This commit is contained in:
parent
63f594892e
commit
2d1bf53c7e
|
@ -114,7 +114,7 @@ int hdfsFileGetReadStatistics(hdfsFile file,
|
||||||
jthr = invokeMethod(env, &jVal, INSTANCE, file->file,
|
jthr = invokeMethod(env, &jVal, INSTANCE, file->file,
|
||||||
"org/apache/hadoop/hdfs/client/HdfsDataInputStream",
|
"org/apache/hadoop/hdfs/client/HdfsDataInputStream",
|
||||||
"getReadStatistics",
|
"getReadStatistics",
|
||||||
"()Lorg/apache/hadoop/hdfs/DFSInputStream$ReadStatistics;");
|
"()Lorg/apache/hadoop/hdfs/ReadStatistics;");
|
||||||
if (jthr) {
|
if (jthr) {
|
||||||
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||||
"hdfsFileGetReadStatistics: getReadStatistics failed");
|
"hdfsFileGetReadStatistics: getReadStatistics failed");
|
||||||
|
@ -127,7 +127,7 @@ int hdfsFileGetReadStatistics(hdfsFile file,
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
||||||
"org/apache/hadoop/hdfs/DFSInputStream$ReadStatistics",
|
"org/apache/hadoop/hdfs/ReadStatistics",
|
||||||
"getTotalBytesRead", "()J");
|
"getTotalBytesRead", "()J");
|
||||||
if (jthr) {
|
if (jthr) {
|
||||||
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||||
|
@ -137,7 +137,7 @@ int hdfsFileGetReadStatistics(hdfsFile file,
|
||||||
s->totalBytesRead = jVal.j;
|
s->totalBytesRead = jVal.j;
|
||||||
|
|
||||||
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
||||||
"org/apache/hadoop/hdfs/DFSInputStream$ReadStatistics",
|
"org/apache/hadoop/hdfs/ReadStatistics",
|
||||||
"getTotalLocalBytesRead", "()J");
|
"getTotalLocalBytesRead", "()J");
|
||||||
if (jthr) {
|
if (jthr) {
|
||||||
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||||
|
@ -147,7 +147,7 @@ int hdfsFileGetReadStatistics(hdfsFile file,
|
||||||
s->totalLocalBytesRead = jVal.j;
|
s->totalLocalBytesRead = jVal.j;
|
||||||
|
|
||||||
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
||||||
"org/apache/hadoop/hdfs/DFSInputStream$ReadStatistics",
|
"org/apache/hadoop/hdfs/ReadStatistics",
|
||||||
"getTotalShortCircuitBytesRead", "()J");
|
"getTotalShortCircuitBytesRead", "()J");
|
||||||
if (jthr) {
|
if (jthr) {
|
||||||
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||||
|
@ -156,7 +156,7 @@ int hdfsFileGetReadStatistics(hdfsFile file,
|
||||||
}
|
}
|
||||||
s->totalShortCircuitBytesRead = jVal.j;
|
s->totalShortCircuitBytesRead = jVal.j;
|
||||||
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
jthr = invokeMethod(env, &jVal, INSTANCE, readStats,
|
||||||
"org/apache/hadoop/hdfs/DFSInputStream$ReadStatistics",
|
"org/apache/hadoop/hdfs/ReadStatistics",
|
||||||
"getTotalZeroCopyBytesRead", "()J");
|
"getTotalZeroCopyBytesRead", "()J");
|
||||||
if (jthr) {
|
if (jthr) {
|
||||||
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||||
|
|
Loading…
Reference in New Issue