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

Thejas M Nair commented on HIVE-8319:
-------------------------------------

I meant to say that we should use the @private / @public annotations for the 
subclasses of Service (under the org.apache.hive.service package). For example 
is AbstractService a public interface, should we encourage users to extend that 
class instead of the Service interface. Users extending AbstractService is 
probably better, as we can add new methods with default impl, without breaking 
users.
 
But CompositeService should probably be marked as @Private . 

BreakableService and FilterService seem to be unused . We should either mark 
them as @Private or remove them.


> Add configuration for custom services in hiveserver2
> ----------------------------------------------------
>
>                 Key: HIVE-8319
>                 URL: https://issues.apache.org/jira/browse/HIVE-8319
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-8319.1.patch.txt
>
>
> NO PRECOMMIT TESTS
> Register services to hiveserver2, for example, 
> {noformat}
> <property>
>   <name>hive.server2.service.classes<name>
>   
> <value>com.nexr.hive.service.HiveStatus,com.nexr.hive.service.AzkabanService<value>
> </property>
> <property>
>   <name>azkaban.ssl.port<name>
>   <name>...<name>
> </property>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to