zoukankan      html  css  js  c++  java
  • Hadoop 管理工具HUE配置-hdfs_clusters配置

      在HUE的hdfs_clusters中目前主要是配置hdfs相关的,配置好了之后便可以在hue中愉快的管理数据了,不过目前的配置还是比较。。。简单的。。

         里面的配置主要是参考了hue官方文档,还有两家主要hadoop厂商cloudera和hortonwork。

    1 hdfs集群配置

    在hadoop-hdfs_clusters.defalut 节点下配置以下参数:

    • fs_defaultfs: 
    • logical_name: NameNode 逻辑名称
    • webhdfs_url: httpfs的路径
    • security_enabled:是否开启 Kerberos
    • hadoop_conf_dir: hadoop 配置文件路径
     [[hdfs_clusters]]
        # HA support by using HttpFs
    
        [[[default]]]
          # Enter the filesystem uri
          ##--Customer Configuration --##
          fs_defaultfs=hdfs://hadoop-cluster
    
          # NameNode logical name.
          logical_name=hadoop-cluster
    
          # Use WebHdfs/HttpFs as the communication mechanism.
          # Domain should be the NameNode or HttpFs host.
          # Default port is 14000 for HttpFs.
          ##--Customer Configuration --##
          webhdfs_url=http://1421-0002:14000/webhdfs/v1
    
          # Change this if your HDFS cluster is Kerberos-secured
          ## security_enabled=false
    
          # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
          # have to be verified against certificate authority
          ## ssl_cert_ca_verify=True
    
          # Directory of the Hadoop configuration
          hadoop_conf_dir=$HADOOP_CONF_DIR

    参考:

    http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/

    http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/

    http://cloudera.github.io/hue/docs-3.8.0/manual.html#_hadoop_configuration

    http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.3.2/bk_installing_manually_book/content/rpm-chap-hue-5.html

    http://www.bkjia.com/yjs/957251.html

    http://itindex.net/detail/52831-hue

  • 相关阅读:
    使用AOP 实现Redis缓存注解,支持SPEL
    springmvc 双亲上下文导致的 No mapping found for HTTP request
    调用iframe 中的js[兼容各种浏览器]
    NIO学习:异步IO实例
    byte数组与对象之间的相互转换
    NIO学习:buffer读入与写出(文件复制示例)
    NIO学习:使用Channel、Buffer写入文件
    使用摘要流获取文件的MD5
    ActiveMQ入门实例
    获取java项目 classpath目录
  • 原文地址:https://www.cnblogs.com/liuchangchun/p/4658866.html
Copyright © 2011-2022 走看看