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

Alex Baranau commented on HIVE-1611:
------------------------------------

Hello guys,

I've investigated this issue and found out that hadoop-pelt isn't used anymore 
in site construction. Is there a particular reason for that? I know that Hive 
now is TLP, but still, Hadoop's site skin looks pretty much like default and it 
is included in hive-site sources anyways, currently. And I see that no other 
custom skin was select to be used (project.skin isn't set in 
forrest.properties).

I believe that to include custom search box we need to have custom skin (may be 
based on default, but edited as we need). I'd suggest to make it based on 
hadoop's skin. It looks pretty much as default, as I said. Try this and let me 
know if you think the generated site is good enough:

1) in author/forrest.properties add:
project.skin=hadoop-pelt
2) apply patch above. Or (faster) just change single line in 
author/src/documentation/skinconf.xml from
  <search name="Hive" domain="hive.apache.org" provider="google"/>
to
  <search name="Hive" domain="hive.apache.org" provider="search-hadoop"/>
'cause this is all this patch is about ;).

I tested things locally and it looks like generated site is pretty much the 
same as the one constructed based on default skin.

> Add alternative search-provider to Hive site
> --------------------------------------------
>
>                 Key: HIVE-1611
>                 URL: https://issues.apache.org/jira/browse/HIVE-1611
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Alex Baranau
>            Assignee: Edward Capriolo
>            Priority: Minor
>         Attachments: HIVE-1611.patch
>
>
> Use search-hadoop.com service to make available search in Hive sources, MLs, 
> wiki, etc.
> This was initially proposed on user mailing list. The search service was 
> already added in site's skin (common for all Hadoop related projects) before 
> so this issue is about enabling it for Hive. The ultimate goal is to use it 
> at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to