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

Larry McCay commented on KNOX-99:
---------------------------------

Okay - just pushed a change that adds a system property to select the cert 
generation mode for the server at install (first run) time.

Set the system property as follows in order to create a cert with "localhost":
java -Dhadoop.gateway.cert.gen.mode=localhost -jar bin/gateway.jar

You can also use another mode to create the cert with the hostname as per 
InetAddress.getLocalHost().getHostName() - as follows:

java -Dhadoop.gateway.cert.gen.mode=hostname -jar bin/gateway.jar

Let's figure out exactly which is the best approach for our known usecases - 
this will end up being the default. We may keep the other mode as a 
configuration item for other usecases.

                
> Cover Hive in samples
> ---------------------
>
>                 Key: KNOX-99
>                 URL: https://issues.apache.org/jira/browse/KNOX-99
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Server, Site
>    Affects Versions: 0.3.0
>            Reporter: Kevin Minder
>            Assignee: Maksim Kononenko
>            Priority: Blocker
>             Fix For: 0.3.0
>
>         Attachments: KNOX-99_2.patch, KNOX-99.patch
>
>
> Hive needs to be fully covered in the samples.  This includes out of the box 
> configuration in deployments/sample.xml and in the site documentation 
> https://cwiki.apache.org/confluence/display/KNOX/Examples

--
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

Reply via email to