2. Configure HDP

  1. Modify the hdfs-site.xml file.

    On the NameNode, Secondary NameNode, and all the DataNodes, add the following properties to the $HADOOP_CONF_DIR/hdfs-site.xml file.

    where $HADOOP_CONF_DIR is the directory for storing the Hadoop configuration files. For example, /etc/hadoop/conf.

    <property>
      <name>dfs.webhdfs.enabled</name>
      <value>true</value>
    </property>

  2. Modify the core-site.xml file.

    On the NameNode, Secondary NameNode, and all the DataNodes, add the following properties to the $HADOOP_CONF_DIR/core-site.xml file.

    where $HADOOP_CONF_DIR is the directory for storing the Hadoop configuration files. For example, /etc/hadoop/conf.

    <property>
      <name>hadoop.proxyuser.hue.hosts</name>
      <value>*</value>
    </property>
    

    <property>
      <name>hadoop.proxyuser.hue.groups</name>
      <value>*</value>
    </property>

  3. Modify the webhcat-site.xml file. vi $WEBHCAT_CONF_DIR/webhcat-site.xml

    <property>
      <name>webhcat.proxyuser.hue.hosts</name>   
      <value>*</value> 
    </property> 

    <property>   
      <name>webhcat.proxyuser.hue.groups</name>  
      <value>*</value>
    </property> 
  4. Modify the oozie-site.xml file vi $OOZIE_CONF_DIR/oozie-site.xml

    <property>
      <name>oozie.service.ProxyUserService.proxyuser.hue.hosts</name>
      <value>*</value>
    </property> 
    <property>   
      <name>oozie.service.ProxyUserService.proxyuser.hue.groups</name>
      <value>*</value> 
    </property> 
  5. Stop the NameNode by running the following command:

    /usr/lib/hadoop/sbin/hadoop-daemon.sh --config $HADOOP_CONF_DIR stop namenode

    Where $HADOOP_CONF_DIR is the directory for storing the Hadoop configuration files. For example, /etc/hadoop/conf


loading table of contents...