[ https://issues.apache.org/jira/browse/HIVE-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554913#comment-13554913 ]
Phabricator commented on HIVE-3797: ----------------------------------- navis has commented on the revision "HIVE-3797 [jira] Add option for hive server to initialize and add resources registered to it to clients". INLINE COMMENTS service/src/java/org/apache/hadoop/hive/service/HiveServer.java:147 It's only called once for initialization. I don't know it's worthy. service/src/java/org/apache/hadoop/hive/service/HiveServer.java:607 it's false for default (member variable). set to false. service/src/java/org/apache/hadoop/hive/service/HiveServer.java:626 ok. service/src/java/org/apache/hadoop/hive/service/HiveServer.java:822 changed to IllegalArgumentException. service/src/java/org/apache/hadoop/hive/service/HiveServer.java:826 ok with any exception. it's just for exiting with failure message. service/src/java/org/apache/hadoop/hive/service/HiveServer.java:765 ok. service/src/java/org/apache/hadoop/hive/service/HiveServer.java:785 ok. REVISION DETAIL https://reviews.facebook.net/D7353 To: JIRA, navis Cc: zhenxiao > Add option for hive server to initialize and add resources registered to it > to clients > -------------------------------------------------------------------------------------- > > Key: HIVE-3797 > URL: https://issues.apache.org/jira/browse/HIVE-3797 > Project: Hive > Issue Type: Improvement > Components: Server Infrastructure > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-3797.D7353.1.patch, HIVE-3797.D7353.2.patch, > HIVE-3797.D7353.3.patch > > > CliDriver has -i option for initializing the session. HiveServer also should > have one and make resources usable for clients if needed. > hive --service hiveserver -i init.q -u > -i for init script > -u for publishing resources(file,jar,etc.) to clients -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira