You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ju...@apache.org on 2016/02/06 20:41:28 UTC
parquet-mr git commit: PARQUET-509: Fix args passed to string format
calls
Repository: parquet-mr
Updated Branches:
refs/heads/master 0a711ebce -> a4acf5333
PARQUET-509: Fix args passed to string format calls
This PR fixes the args passed to the `String.format()` call.
Author: Nezih Yigitbasi <ny...@netflix.com>
Closes #320 from nezihyigitbasi/debug_args and squashes the following commits:
43a6088 [Nezih Yigitbasi] Fix args passed to string format calls
Project: http://git-wip-us.apache.org/repos/asf/parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-mr/commit/a4acf533
Tree: http://git-wip-us.apache.org/repos/asf/parquet-mr/tree/a4acf533
Diff: http://git-wip-us.apache.org/repos/asf/parquet-mr/diff/a4acf533
Branch: refs/heads/master
Commit: a4acf53336a482f50335d33b4f650a70c9243b7b
Parents: 0a711eb
Author: Nezih Yigitbasi <ny...@netflix.com>
Authored: Sat Feb 6 11:41:21 2016 -0800
Committer: Julien Le Dem <ju...@dremio.com>
Committed: Sat Feb 6 11:41:21 2016 -0800
----------------------------------------------------------------------
.../main/java/org/apache/parquet/hadoop/DirectCodecFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/a4acf533/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java
----------------------------------------------------------------------
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java
index bb711da..d90ab51 100644
--- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java
+++ b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java
@@ -389,7 +389,7 @@ class DirectCodecFactory extends CodecFactory implements AutoCloseable {
decompressorPool.returnObject(decom);
} else {
if (Log.DEBUG) {
- LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "decompressor" + codec.getClass().getName()));
+ LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "decompressor", codec.getClass().getName()));
}
}
@@ -409,7 +409,7 @@ class DirectCodecFactory extends CodecFactory implements AutoCloseable {
} else {
supportDirectDecompressor = false;
if (Log.DEBUG) {
- LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "compressor" + codec.getClass().getName()));
+ LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "compressor", codec.getClass().getName()));
}
}