You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ai...@apache.org on 2017/04/17 13:27:41 UTC

[1/2] hive git commit: HIVE-15442: Driver.java has a redundancy code (Saijin Huang, reviewed by Aihua Xu)

Repository: hive
Updated Branches:
  refs/heads/master 98250bbe6 -> 99f142c9a


HIVE-15442: Driver.java has a redundancy code (Saijin Huang, reviewed by Aihua Xu)


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

Branch: refs/heads/master
Commit: 579f5d7e6ef87f108e5c482f30f72e612ef571ef
Parents: 98250bb
Author: Aihua Xu <ai...@apache.org>
Authored: Mon Apr 17 09:25:39 2017 -0400
Committer: Aihua Xu <ai...@apache.org>
Committed: Mon Apr 17 09:25:39 2017 -0400

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/Driver.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/579f5d7e/ql/src/java/org/apache/hadoop/hive/ql/Driver.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java b/ql/src/java/org/apache/hadoop/hive/ql/Driver.java
index a2ce71d..03ea997 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/Driver.java
@@ -561,10 +561,8 @@ public class Driver implements CommandProcessor {
       if (conf.getBoolVar(ConfVars.HIVE_LOG_EXPLAIN_OUTPUT)) {
         String explainOutput = getExplainOutput(sem, plan, tree);
         if (explainOutput != null) {
-          if (conf.getBoolVar(ConfVars.HIVE_LOG_EXPLAIN_OUTPUT)) {
-            LOG.info("EXPLAIN output for queryid " + queryId + " : "
-              + explainOutput);
-          }
+          LOG.info("EXPLAIN output for queryid " + queryId + " : "
+            + explainOutput);
           if (conf.isWebUiQueryInfoCacheEnabled()) {
             queryDisplay.setExplainPlan(explainOutput);
           }


[2/2] hive git commit: HIVE-16409: TestEventHandlerFactory has lacked the ASF header (Saijin Huang, reviewed by Aihua Xu)

Posted by ai...@apache.org.
HIVE-16409: TestEventHandlerFactory has lacked the ASF header (Saijin Huang, reviewed by Aihua Xu)


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

Branch: refs/heads/master
Commit: 99f142c9a010e74843497d813652c3ea44ad3085
Parents: 579f5d7
Author: Aihua Xu <ai...@apache.org>
Authored: Mon Apr 17 09:26:39 2017 -0400
Committer: Aihua Xu <ai...@apache.org>
Committed: Mon Apr 17 09:26:39 2017 -0400

----------------------------------------------------------------------
 .../repl/events/TestEventHandlerFactory.java      | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/99f142c9/ql/src/test/org/apache/hadoop/hive/ql/parse/repl/events/TestEventHandlerFactory.java
----------------------------------------------------------------------
diff --git a/ql/src/test/org/apache/hadoop/hive/ql/parse/repl/events/TestEventHandlerFactory.java b/ql/src/test/org/apache/hadoop/hive/ql/parse/repl/events/TestEventHandlerFactory.java
index 0526700..d44cb79 100644
--- a/ql/src/test/org/apache/hadoop/hive/ql/parse/repl/events/TestEventHandlerFactory.java
+++ b/ql/src/test/org/apache/hadoop/hive/ql/parse/repl/events/TestEventHandlerFactory.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.hadoop.hive.ql.parse.repl.events;
 
 import org.apache.hadoop.hive.metastore.api.NotificationEvent;