配置文件地址:
Hadoop: /etc/hadoop/conf
hbase: /etc/hadoop/conf
hive: /etc/hive/conf
使用cloudera manager web UI 修改hadoop .xml文件属性方法:
For Cloudera the best way to push this configuration to the nodes is to use the Cloudera manager GUI.
From the Cloudera web page, click on the HDFS service under Status to open the HDFS service.
Click Configuration, and choose View and Edit
On the left panel expand Service-Wide and click advance
Click on Cluster-wide Configuration Safety Valve for core-site.xml
Enter the setting from Table above
Settings entered into core-site safety valve
At the top right of the page, Click Save Change
Go back to the Cloudera Manager Home screen. Using the drop down stop the HDFS service.
Using the drop down next to the Status, deploy the client configuration
g
Using the drop down, restart the Mapreduce service.
Check that the nodes have received the correct configuration. From the CLI on a node do a grep on the core-site.xml and search for HSK
cat /etc/hadoop/conf.cloudera.hdfs1/core-site.xml |grep HSK
Next Upload the Java ViPR client JAR file to a client using WinSCP and copy it to the Hadoop Classpath on all Hadoop nodes.
On the first node where you have uploaded the ViPr client copy it to the Cloudera Classpath
cp hadoop-2.0.x-alpha-viprfs-1.0.1.jar /opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/lib/hadoop/lib