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

Michael Weng commented on HBASE-8181:
-------------------------------------

One way to address the concern is to duplicate the HttpConfig into hbase. What 
do you think?

Here is the code from org.apache.hadoop.http.HttpConfig.
---------------------------
public class HttpConfig {
  private static boolean sslEnabled;

  static {
    Configuration conf = new Configuration();
    sslEnabled = conf.getBoolean(
        CommonConfigurationKeys.HADOOP_SSL_ENABLED_KEY,
        CommonConfigurationKeys.HADOOP_SSL_ENABLED_DEFAULT);
  }

  public static boolean isSecure() {
    return sslEnabled;
  }

  public static String getSchemePrefix() {
    return (isSecure()) ? "https://"; : "http://";;
  }
}
                
> WebUIs HTTPS support
> --------------------
>
>                 Key: HBASE-8181
>                 URL: https://issues.apache.org/jira/browse/HBASE-8181
>             Project: HBase
>          Issue Type: New Feature
>          Components: UI
>    Affects Versions: 0.94.5
>            Reporter: Michael Weng
>            Assignee: Michael Weng
>            Priority: Minor
>             Fix For: 0.94.7
>
>         Attachments: HBASE-8181-0.94.txt, HBASE-8181-trunk.txt
>
>
> With https enabled on hadoop 1.2
>        https://issues.apache.org/jira/browse/MAPREDUCE-4661
> HBase automatically inherits the feature. However, there are some hardcoded 
> places need to be fixed.

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