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

  • 相关阅读:
    51Nod 1052/1053/1115 最大M子段和V1/V2/V3
    51Nod1207 内存管理
    51Nod1207 内存管理
    51Nod1444 破坏道路
    51Nod1444 破坏道路
    51Nod1349 最大值
    51Nod1349 最大值
    51nod1485 字母排序
    aspx页面中的html标签中的值传到aspx.cs文件中的方法
    C#属性的使用
  • 原文地址:https://www.cnblogs.com/liuchangchun/p/4658866.html
Copyright © 2011-2022 走看看