This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CORE-SITE.XML_fs.default.name=hdfs://namenode | |
CORE-SITE.XML_fs.defaultFS=hdfs://namenode | |
HDFS-SITE.XML_dfs.namenode.rpc-address=namenode:8020 | |
HDFS-SITE.XML_dfs.replication=1 | |
MAPRED-SITE.XML_mapreduce.framework.name=yarn | |
MAPRED-SITE.XML_yarn.app.mapreduce.am.env=HADOOP_MAPRED_HOME=$HADOOP_HOME | |
MAPRED-SITE.XML_mapreduce.map.env=HADOOP_MAPRED_HOME=$HADOOP_HOME | |
MAPRED-SITE.XML_mapreduce.reduce.env=HADOOP_MAPRED_HOME=$HADOOP_HOME | |
YARN-SITE.XML_yarn.resourcemanager.hostname=resourcemanager | |
YARN-SITE.XML_yarn.nodemanager.pmem-check-enabled=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.util.StringTokenizer; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.io.IntWritable; | |
import org.apache.hadoop.io.Text; | |
import org.apache.hadoop.mapreduce.Job; | |
import org.apache.hadoop.mapreduce.Mapper; | |
import org.apache.hadoop.mapreduce.Reducer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
word count from Wikipedia the free encyclopedia | |
the word count is the number of words in a document or passage of text Word counting may be needed when a text | |
is required to stay within certain numbers of words This may particularly be the case in academia legal | |
proceedings journalism and advertising Word count is commonly used by translators to determine the price for | |
the translation job Word counts may also be used to calculate measures of readability and to measure typing | |
and reading speeds usually in words per minute When converting character counts to words a measure of five or | |
six characters to a word is generally used Contents Details and variations of definition Software In fiction | |
In non fiction See also References Sources External links Details and variations of definition | |
This section does not cite any references or sources Please help improve this section by adding citations to | |
reliable sources Unsourced material may be challenged and removed |