You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2017/01/27 05:20:19 UTC

hive git commit: HIVE-15712 : new HiveConf in SQLOperation.getSerDe() impacts CPU on hiveserver2 (Anishek Agarwal, via Thejas Nair)

Repository: hive
Updated Branches:
  refs/heads/master 6ed305fd5 -> 93755e997


HIVE-15712 : new HiveConf in SQLOperation.getSerDe() impacts CPU on hiveserver2 (Anishek Agarwal, via Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/93755e99
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/93755e99
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/93755e99

Branch: refs/heads/master
Commit: 93755e997321f88cae239e5af5eca6d54940a14a
Parents: 6ed305f
Author: Anishek Agarwal <an...@gmail.com>
Authored: Thu Jan 26 21:20:15 2017 -0800
Committer: Thejas M Nair <th...@hortonworks.com>
Committed: Thu Jan 26 21:20:15 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/hive/service/cli/operation/SQLOperation.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/93755e99/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java
----------------------------------------------------------------------
diff --git a/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java b/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java
index e9f619a..a652756 100644
--- a/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java
+++ b/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java
@@ -605,7 +605,7 @@ public class SQLOperation extends ExecuteStatementOperation {
         LOG.debug("Column types: " + types);
         props.setProperty(serdeConstants.LIST_COLUMN_TYPES, types);
       }
-      SerDeUtils.initializeSerDe(serde, new HiveConf(), props, null);
+      SerDeUtils.initializeSerDe(serde, queryState.getConf(), props, null);
 
     } catch (Exception ex) {
       ex.printStackTrace();