Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Re: Review Request 11326: HIVE-4588: Support session level hooks for HiveServer2


Copy link to this message
-
Re: Review Request 11326: HIVE-4588: Support session level hooks for HiveServer2
Prasad Mujumdar 2013-06-27, 00:40

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11326/
-----------------------------------------------------------

(Updated June 27, 2013, 12:39 a.m.)
Review request for hive.
Changes
-------

Additional comments for the new classes/interfaces
Bugs: HIVE-4588
    https://issues.apache.org/jira/browse/HIVE-4588
Repository: hive-git
Description
-------

Support session level hooks for HiveServer2
  - New config parameter to define the hook
  - New hook context interface to pass the serssion user and config to the hook implementation
  - Session manager executes the configured hooks when a new session starts
Diffs (updated)
-----

  beeline/src/java/org/apache/hive/beeline/Commands.java 3799cc1
  beeline/src/test/org/apache/hive/beeline/src/test/TestBeeLineWithArgs.java 030f6b0
  build-common.xml d642b51
  cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java d9b7031
  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java cc775d9
  conf/hive-default.xml.template 5de5965
  data/conf/hive-site.xml 4e6ff16
  data/files/person c902284
  hbase-handler/src/test/templates/TestHBaseCliDriver.vm c59e882
  hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm aaab85b
  hcatalog/bin/hcat 455f108
  hcatalog/core/src/test/java/org/apache/hcatalog/cli/TestSemanticAnalysis.java d7a2b68
  hcatalog/src/docs/src/documentation/content/xdocs/readerwriter.xml e36090e
  hcatalog/src/test/e2e/hcatalog/build.xml 8cf7407
  hcatalog/src/test/e2e/hcatalog/drivers/TestDriverHiveCmdLine.pm 6154475
  hcatalog/src/test/e2e/hcatalog/resource/default.res 01bfaee
  hcatalog/src/test/e2e/hcatalog/resource/windows.res 01bfaee
  hcatalog/src/test/e2e/hcatalog/tests/hcat.conf fa7893b
  hcatalog/src/test/e2e/hcatalog/tests/hive_cmdline.conf 91c0786
  hcatalog/src/test/e2e/hcatalog/tests/hive_nightly.conf d026872
  hcatalog/src/test/e2e/hcatalog/tools/test/floatpostprocessor.pl ec5de96
  hcatalog/src/test/e2e/templeton/README.txt dac6ffc
  hcatalog/src/test/e2e/templeton/build.xml 4bce25b
  hcatalog/src/test/e2e/templeton/resource/default.res 01bfaee
  hcatalog/src/test/e2e/templeton/resource/windows.res 01bfaee
  jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java 2859859
  jdbc/src/java/org/apache/hive/jdbc/HiveBaseResultSet.java 4c1ab3b
  jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java 0e90fec
  jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java 4cb1422
  jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java 2576914
  jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java a7c432d
  jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java b142e8c
  jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java b108c7a
  metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java 88151a1
  ql/build.xml a34a079
  ql/src/java/org/apache/hadoop/hive/ql/Context.java 5340e99
  ql/src/java/org/apache/hadoop/hive/ql/Driver.java a5a867a
  ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java c796770
  ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsTask.java 6935738
  ql/src/java/org/apache/hadoop/hive/ql/exec/ConditionalTask.java 854cd52
  ql/src/java/org/apache/hadoop/hive/ql/exec/CopyTask.java 38d97e3
  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 295daab
  ql/src/java/org/apache/hadoop/hive/ql/exec/DependencyCollectionTask.java 9189cfc
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java 11772e6
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java 5a00c2d
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluator.java 5cd9bde
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeGenericFuncEvaluator.java b4da80c
  ql/src/java/org/apache/hadoop/hive/ql/exec/FetchTask.java 6e9e0a8
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java b4b2c90
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java 988b389
  ql/src/java/org/apache/hadoop/hive/ql/exec/MapredLocalTask.java 6bbcb26
  ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java ac8e167
  ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java 90d93f6
  ql/src/java/org/apache/hadoop/hive/ql/exec/PTFPartition.java 092be6e
  ql/src/java/org/apache/hadoop/hive/ql/exec/PTFPersistence.java c737d7a
  ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java 599f63c
  ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java 17387a9
  ql/src/java/org/apache/hadoop/hive/ql/exec/TaskRunner.java fcf9adc
  ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java 68ec54a
  ql/src/java/org/apache/hadoop/hive/ql/index/IndexMetadataChangeTask.java 364fc19
  ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/merge/BlockMergeTask.java cbee423
  ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/stats/PartialScanTask.java a1abf90
  ql/src/java/org/apache/hadoop/hive/ql/io/rcfile/truncate/ColumnTruncateTask.java a9cd8ac
  ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java f1d29f8
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/AbstractBucketJoinProc.java e5df744
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/AvgPartitionSizeBasedBigTableSelectorForAutoSMJ.java 5320143
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/ColumnPrunerProcFactory.java 4bbaf2b
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/ReduceSinkDeDuplication.java f8b1313
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/TableSizeBasedBigTableSelectorForAutoSMJ.java b882f87
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/CommonJoinTaskDispatcher.java da9423e
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/SortMergeJoinTaskDispatcher.java 8e1bafe
  ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java 4bfed0d
  ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java b2da758
  ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g 7191b14
  ql/src/java/org/apache/hadoop/hive/ql/parse