[ 
https://issues.apache.org/jira/browse/HIVE-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820380#comment-13820380
 ] 

Hive QA commented on HIVE-5732:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12613329/HIVE-5732.1.patch.txt

{color:green}SUCCESS:{color} +1 4602 tests passed

Test results: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/244/testReport
Console output: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/244/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12613329

> HiveServer2: Duplicated new OperationManager in SessionManager
> --------------------------------------------------------------
>
>                 Key: HIVE-5732
>                 URL: https://issues.apache.org/jira/browse/HIVE-5732
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Schubert Zhang
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-5732.1.patch.txt
>
>
> {noformat}
> public class SessionManager extends CompositeService {
>   private static final Log LOG = LogFactory.getLog(CompositeService.class);
>   private HiveConf hiveConf;
>   private final Map<SessionHandle, HiveSession> handleToSession = new 
> HashMap<SessionHandle, HiveSession>();
>   private OperationManager operationManager = new OperationManager();
>   private static final Object sessionMapLock = new Object();
>   private ExecutorService backgroundOperationPool;
>   public SessionManager() {
>     super("SessionManager");
>   }
>   @Override
>   public synchronized void init(HiveConf hiveConf) {
>     this.hiveConf = hiveConf;
>     operationManager = new OperationManager();
>     int backgroundPoolSize = 
> hiveConf.getIntVar(ConfVars.HIVE_SERVER2_ASYNC_EXEC_THREADS);
>     LOG.info("HiveServer2: Async execution pool size" + backgroundPoolSize);
>     backgroundOperationPool = 
> Executors.newFixedThreadPool(backgroundPoolSize);
>     addService(operationManager);
>     super.init(hiveConf);
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to