Professional Documents
Culture Documents
Example upgrade From V1 -> Yarn Environment Approach Install steps Install check
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Java OpenJDK 1.6.0_27 Ubuntu 12.04 Maven 3.0.4 Hadoop 1.2.0 Mahout 0.9 Hadoop to install
2.0.6-alpha Full details are available from our web site site under guides folder
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Install along side existing Hadoop on all nodes Use existing hdfs Change cfg files on all nodes Set up as single nodes and test via mapreduce Create cluster and test via mapreduce Check web GUI access
Full details are available from our web site site under guides folder
www.semtech-solutions.co.nz info@semtech-solutions.co.nz
Build with Maven into a distribution directory mvn clean package -Pdist -Dtar -DskipTests -Pnative
release created under ./hadoop-dist/target/hadoop-2.0.6-alpha
Only skip tests after first build to speed things up Configure $HOME/.bashrc
HADOOP_COMMON_HOME HADOOP_HDFS_HOME HADOOP_MAPRED_HOME HADOOP_YARN_HOME HADOOP_CONF_DIR YARN_CONF_DIR MAPRED_CONF_DIR HADOOP_PREFIX PATH YARN_CLASSPATH
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
cd $HADOOP_COMMON_HOME/etc/hadoop
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
cd $HADOOP_HDFS_HOME/etc/hadoop
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
cd $YARN_CONF_DIR
yarn.resourcemanager.resource-tracker.address yarn.resourcemanager.scheduler.address yarn.resourcemanager.scheduler.class yarn.resourcemanager.address yarn.nodemanager.local-dirs yarn.nodemanager.address yarn.nodemanager.resource.memory-mb yarn.nodemanager.remote-app-log-dir yarn.nodemanager.log-dirs yarn.nodemanager.aux-services yarn.web-proxy.address
info@semtech-solutions.co.nz
www.semtech-solutions.co.nz
cd $MAPRED_CONF_DIR
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
cd $HADOOP_YARN_HOME/etc/hadoop
yarn.scheduler.capacity.maximum-applications yarn.scheduler.capacity.maximum-am-resource-percent yarn.scheduler.capacity.resource-calculator yarn.scheduler.capacity.root.queues yarn.scheduler.capacity.child.queues yarn.scheduler.capacity.child.unfunded.capacity yarn.scheduler.capacity.child.default.capacity yarn.scheduler.capacity.root.capacity yarn.scheduler.capacity.root.unfunded.capacity yarn.scheduler.capacity.root.default.capacity yarn.scheduler.capacity.root.default.user-limit-factor yarn.scheduler.capacity.root.default.maximum-capacity yarn.scheduler.capacity.root.default.state yarn.scheduler.capacity.root.default.acl_submit_applications yarn.scheduler.capacity.root.default.acl_administer_queue yarn.scheduler.capacity.node-locality-delay
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
BYTES_WRITTEN=1073750341 RECORDS_WRITTEN=102099 File Input Format Counters Bytes Read=0 File Output Format Counters Bytes Written=1085699265 Job ended: Sun Aug 25 12:45:35 NZST 2013 The job took 89 seconds.
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
cd $HADOOP_YARN_HOME sbin/yarn-daemon.sh stop resourcemanager stopping resourcemanager sbin/yarn-daemon.sh stop nodemanager stopping nodemanager
cd $HADOOP_CONF_DIR vi hadoop-env.sh add a JAVA_HOME definition at the end. i.e. export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-i386
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Add details ( one per line ) for slave nodes DONT have the cluster running else you will lose data hdfs namenode -format
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
jps 5856 DataNode 6434 Jps 5776 NameNode 6181 NodeManager 6255 WebAppProxyServer 5927 ResourceManager 6352 JobHistoryServer
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Web Access
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Web Access
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Web Access
www.semtech-solutions.co.nz
info@semtech-solutions.co.nz
Contact Us
www.semtech-solutions.co.nz info@semtech-solutions.co.nz
We offer IT project consultancy We are happy to hear about your problems You can just pay for those hours that you need To solve your problems