mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
EMR's primary node runs one (a release's mapred-site classification "Restarts Hadoop MapReduce-HistoryServer"); Floci's did not, so a client asking about a MapReduce job whose application master had ended, for its counters or task reports, waited about 30 seconds a call on 0.0.0.0:10020 and got nothing. Pig asks after each of its MapReduce jobs, so #8636 turned its task reports off and gave its client one try. A cluster that runs YARN now starts `mapred historyserver` beside the ResourceManager, on Hadoop's own ports and where HDFS listens, from the jobs' history in the cluster's HDFS, and its primary node is ready once the server answers. A step's MapReduce settings name it, and so do a Hive step's, for a query run on MapReduce; an emr-spark-* node runs it from the Hadoop it keeps apart. The node scripts' readiness waits share one helper. Pig's workaround goes: its MapReduce jobs' counters come from the server, as on EMR.