- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
几天来,我开发了一个 MapReduce 代码,用于使用 Phoenix 在 HBase 中插入值。但是代码只在本地运行并且对机器过度充电。无论我做了什么更改,我都观察到系统地使用了 mapred.LocalJobRunner 类。
你知道这个问题吗?
我在这篇文章中附上了我的程序的执行日志。
预先感谢您的帮助。 :)
如果有帮助,请随时向我询问更多详细信息。
[adviz@tdr-adviz-cdh-w-01 src]$ hadoop jar testDistributedAggregation.jar
aggregation.retroactiveAggregation.RetroactiveAggregationApplication MEASURE FIVEMIN
16/05/25 16:29:42 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x33fb6021 connecting to ZooKeeperensemble=10.66.112.204:2181
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.5-cdh5.4.0--1, built on 04/21/2015 19:12 GMT
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:host.name=tdr-adviz-cdh-w-01.eolas-services.com
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_67
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.7.0_67-cloudera/jre
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.class.path=/etc/hadoop/conf:/usr/lib/hadoop/lib/jetty-util-6.1.26.cloudera.4.jar:/usr/lib/hadoop/lib/commons-configuration-1.6.jar
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.library.path=/usr/lib/hadoop/lib/native
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:os.version=2.6.32-573.8.1.el6.x86_64
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:user.name=adviz
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:user.home=/home/adviz
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Client environment:user.dir=/home/adviz/lucie/modules_test_distributedAggregation/modules/src
16/05/25 16:29:42 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=10.66.112.204:2181 sessionTimeout=90000watcher=hconnection-0x33fb60210x0, quorum=10.66.112.204:2181, baseZNode=/hbase
16/05/25 16:29:42 INFO zookeeper.ClientCnxn: Opening socket connection to server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181.Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:42 INFO zookeeper.ClientCnxn: Socket connection established to tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181,initiating session
16/05/25 16:29:42 INFO zookeeper.ClientCnxn: Session establishment complete on server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181, sessionid = 0x453ec7535016c89, negotiated timeout = 90000
16/05/25 16:29:43 INFO metrics.Metrics: Initializing metrics system: phoenix
16/05/25 16:29:43 WARN impl.MetricsConfig: Cannot locate configuration: tried hadoop-metrics2-phoenix.properties,hadoop-metrics2.properties
16/05/25 16:29:43 INFO impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).
16/05/25 16:29:43 INFO impl.MetricsSystemImpl: phoenix metrics system started
16/05/25 16:29:44 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
16/05/25 16:29:44 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x2aa8b034 connecting to ZooKeeperensemble=10.66.112.204:2181
16/05/25 16:29:44 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=10.66.112.204:2181 sessionTimeout=90000watcher=hconnection-0x2aa8b0340x0, quorum=10.66.112.204:2181, baseZNode=/hbase
16/05/25 16:29:44 INFO zookeeper.ClientCnxn: Opening socket connection to server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181.Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:44 INFO zookeeper.ClientCnxn: Socket connection established to tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181,initiating session
16/05/25 16:29:44 INFO zookeeper.ClientCnxn: Session establishment complete on server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181, sessionid = 0x453ec7535016c8a, negotiated timeout = 90000
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c8a
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c8a closed
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:45 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x3d4e158b connecting to ZooKeeperensemble=10.66.112.204:2181
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=10.66.112.204:2181 sessionTimeout=90000watcher=hconnection-0x3d4e158b0x0, quorum=10.66.112.204:2181, baseZNode=/hbase
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Opening socket connection to server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181.Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Socket connection established to tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181,initiating session
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Session establishment complete on server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181, sessionid = 0x453ec7535016c8b, negotiated timeout = 90000
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c8b
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c8b closed
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:45 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x6aff6bd5 connecting to ZooKeeperensemble=10.66.112.204:2181
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=10.66.112.204:2181 sessionTimeout=90000watcher=hconnection-0x6aff6bd50x0, quorum=10.66.112.204:2181, baseZNode=/hbase
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Opening socket connection to server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181.Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Socket connection established to tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181,initiating session
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Session establishment complete on server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181, sessionid = 0x453ec7535016c8c, negotiated timeout = 90000
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c8c
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c8c closed
16/05/25 16:29:45 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x4e42b9fd connecting to ZooKeeperensemble=10.66.112.204:2181
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=10.66.112.204:2181 sessionTimeout=90000watcher=hconnection-0x4e42b9fd0x0, quorum=10.66.112.204:2181, baseZNode=/hbase
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Opening socket connection to server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181.Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Socket connection established to tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181,initiating session
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: Session establishment complete on server tdr-adviz-cdh-w-01.eolas-services.com/10.66.112.204:2181, sessionid = 0x453ec7535016c8d, negotiated timeout = 90000
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:45 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c8d
16/05/25 16:29:45 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c8d closed
16/05/25 16:29:45 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:50 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id
16/05/25 16:29:50 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
16/05/25 16:29:50 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
16/05/25 16:29:50 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
16/05/25 16:29:50 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
16/05/25 16:29:50 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x4ed8d66f connecting to ZooKeeperensemble=localhost:2181
16/05/25 16:29:50 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000watcher=hconnection-0x4ed8d66f0x0, quorum=localhost:2181, baseZNode=/hbase
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating session
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid =0x453ec7535016c8f, negotiated timeout = 90000
16/05/25 16:29:50 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x506c1818 connecting to ZooKeeperensemble=localhost:2181
16/05/25 16:29:50 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000watcher=hconnection-0x506c18180x0, quorum=localhost:2181, baseZNode=/hbase
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating session
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid =0x453ec7535016c90, negotiated timeout = 90000
16/05/25 16:29:50 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:50 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c90
16/05/25 16:29:50 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c90 closed
16/05/25 16:29:50 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:51 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x77b18bb3 connecting to ZooKeeperensemble=localhost:2181
16/05/25 16:29:51 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000watcher=hconnection-0x77b18bb30x0, quorum=localhost:2181, baseZNode=/hbase
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating session
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid =0x453ec7535016c91, negotiated timeout = 90000
16/05/25 16:29:51 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:51 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c91
16/05/25 16:29:51 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c91 closed
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:51 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x57d5d80f connecting to ZooKeeperensemble=localhost:2181
16/05/25 16:29:51 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000watcher=hconnection-0x57d5d80f0x0, quorum=localhost:2181, baseZNode=/hbase
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating session
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid =0x453ec7535016c92, negotiated timeout = 90000
16/05/25 16:29:51 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:51 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c92
16/05/25 16:29:51 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c92 closed
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:51 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x3b30baff connecting to ZooKeeperensemble=localhost:2181
16/05/25 16:29:51 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000watcher=hconnection-0x3b30baff0x0, quorum=localhost:2181, baseZNode=/hbase
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating session
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid =0x453ec7535016c93, negotiated timeout = 90000
16/05/25 16:29:51 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
16/05/25 16:29:51 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c93
16/05/25 16:29:51 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c93 closed
16/05/25 16:29:51 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:52 INFO mapred.JobClient: Running job: job_local573864567_0001
16/05/25 16:29:52 INFO mapred.LocalJobRunner: OutputCommitter set in config null
16/05/25 16:29:52 INFO mapred.LocalJobRunner: OutputCommitter is org.apache.phoenix.mapreduce.PhoenixOutputCommitter
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Waiting for map tasks
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Starting task: attempt_local573864567_0001_m_000000_0
16/05/25 16:29:52 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
16/05/25 16:29:52 INFO util.ProcessTree: setsid exited with exit code 0
16/05/25 16:29:52 INFO mapred.Task: Using ResourceCalculatorPlugin : org.apache.hadoop.util.LinuxResourceCalculatorPlugin@1309712b
16/05/25 16:29:52 INFO mapred.MapTask: Processing split: org.apache.phoenix.mapreduce.PhoenixInputSplit@b4eba526
16/05/25 16:29:52 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer
16/05/25 16:29:52 INFO mapred.MapTask: io.sort.mb = 100
16/05/25 16:29:52 INFO mapred.MapTask: data buffer = 79691776/99614720
16/05/25 16:29:52 INFO mapred.MapTask: record buffer = 262144/327680
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.MapTask: Starting flush of map output
16/05/25 16:29:52 INFO mapred.MapTask: Finished spill 0
16/05/25 16:29:52 INFO mapred.Task: Task:attempt_local573864567_0001_m_000000_0 is done. And is in the process of commiting
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Task: Task attempt_local573864567_0001_m_000000_0 is allowed to commit now
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Task: Task 'attempt_local573864567_0001_m_000000_0' done.
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Finishing task: attempt_local573864567_0001_m_000000_0
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Starting task: attempt_local573864567_0001_m_000001_0
16/05/25 16:29:52 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
16/05/25 16:29:52 INFO mapred.Task: Using ResourceCalculatorPlugin : org.apache.hadoop.util.LinuxResourceCalculatorPlugin@7e6abaff
16/05/25 16:29:52 INFO mapred.MapTask: Processing split: org.apache.phoenix.mapreduce.PhoenixInputSplit@a313a8d1
16/05/25 16:29:52 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer
16/05/25 16:29:52 INFO mapred.MapTask: io.sort.mb = 100
16/05/25 16:29:52 INFO mapred.MapTask: data buffer = 79691776/99614720
16/05/25 16:29:52 INFO mapred.MapTask: record buffer = 262144/327680
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.MapTask: Starting flush of map output
16/05/25 16:29:52 INFO mapred.MapTask: Finished spill 0
16/05/25 16:29:52 INFO mapred.Task: Task:attempt_local573864567_0001_m_000001_0 is done. And is in the process of commiting
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Task: Task attempt_local573864567_0001_m_000001_0 is allowed to commit now
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Task: Task 'attempt_local573864567_0001_m_000001_0' done.
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Finishing task: attempt_local573864567_0001_m_000001_0
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Starting task: attempt_local573864567_0001_m_000002_0
16/05/25 16:29:52 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
16/05/25 16:29:52 INFO mapred.Task: Using ResourceCalculatorPlugin : org.apache.hadoop.util.LinuxResourceCalculatorPlugin@4af8c887
16/05/25 16:29:52 INFO mapred.MapTask: Processing split: org.apache.phoenix.mapreduce.PhoenixInputSplit@b3945ee
16/05/25 16:29:52 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer
16/05/25 16:29:52 INFO mapred.MapTask: io.sort.mb = 100
16/05/25 16:29:52 INFO mapred.MapTask: data buffer = 79691776/99614720
16/05/25 16:29:52 INFO mapred.MapTask: record buffer = 262144/327680
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.MapTask: Starting flush of map output
16/05/25 16:29:52 INFO mapred.MapTask: Finished spill 0
16/05/25 16:29:52 INFO mapred.Task: Task:attempt_local573864567_0001_m_000002_0 is done. And is in the process of commiting
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Task: Task attempt_local573864567_0001_m_000002_0 is allowed to commit now
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Task: Task 'attempt_local573864567_0001_m_000002_0' done.
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Finishing task: attempt_local573864567_0001_m_000002_0
16/05/25 16:29:52 INFO mapred.LocalJobRunner: Map task executor complete.
16/05/25 16:29:52 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
16/05/25 16:29:52 INFO mapred.Task: Using ResourceCalculatorPlugin : org.apache.hadoop.util.LinuxResourceCalculatorPlugin@217b10dd
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapred.Merger: Merging 3 sorted segments
16/05/25 16:29:52 INFO mapred.Merger: Down to the last merge-pass, with 3 segments left of total size: 18192 bytes
16/05/25 16:29:52 INFO mapred.LocalJobRunner:
16/05/25 16:29:52 INFO mapreduce.PhoenixInputFormat: UseUpsertColumns=true, upsertColumnList.size()=9, upsertColumnList=id,startTimestamp,timestamp,first,last,min,max,avg,nb
16/05/25 16:29:52 INFO mapreduce.PhoenixInputFormat: Phoenix Custom Upsert Statement: UPSERT INTO "mea_aggr_5minV2" ("id","startTimestamp", "0"."timestamp", "0"."first", "0"."last", "0"."min", "0"."max", "0"."avg", "0"."nb") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
16/05/25 16:29:57 INFO mapred.Task: Task:attempt_local573864567_0001_r_000000_0 is done. And is in the process of commiting
16/05/25 16:29:57 INFO mapred.LocalJobRunner:
16/05/25 16:29:57 INFO mapred.Task: Task attempt_local573864567_0001_r_000000_0 is allowed to commit now
16/05/25 16:29:57 INFO mapred.LocalJobRunner: reduce > reduce
16/05/25 16:29:57 INFO mapred.Task: Task 'attempt_local573864567_0001_r_000000_0' done.
16/05/25 16:29:58 INFO mapred.JobClient: map 0% reduce 100%
16/05/25 16:29:58 INFO mapred.JobClient: Job complete: job_local573864567_0001
16/05/25 16:29:58 INFO mapred.JobClient: Counters: 25
16/05/25 16:29:58 INFO mapred.JobClient: File System Counters
16/05/25 16:29:58 INFO mapred.JobClient: FILE: Number of bytes read=222451
16/05/25 16:29:58 INFO mapred.JobClient: FILE: Number of bytes written=1002250
16/05/25 16:29:58 INFO mapred.JobClient: FILE: Number of read operations=0
16/05/25 16:29:58 INFO mapred.JobClient: FILE: Number of large read operations=0
16/05/25 16:29:58 INFO mapred.JobClient: FILE: Number of write operations=0
16/05/25 16:29:58 INFO mapred.JobClient: HDFS: Number of bytes read=0
16/05/25 16:29:58 INFO mapred.JobClient: HDFS: Number of bytes written=0
16/05/25 16:29:58 INFO mapred.JobClient: HDFS: Number of read operations=0
16/05/25 16:29:58 INFO mapred.JobClient: HDFS: Number of large read operations=0
16/05/25 16:29:58 INFO mapred.JobClient: HDFS: Number of write operations=0
16/05/25 16:29:58 INFO mapred.JobClient: Map-Reduce Framework
16/05/25 16:29:58 INFO mapred.JobClient: Map input records=433
16/05/25 16:29:58 INFO mapred.JobClient: Map output records=433
16/05/25 16:29:58 INFO mapred.JobClient: Map output bytes=17320
16/05/25 16:29:58 INFO mapred.JobClient: Input split bytes=2024
16/05/25 16:29:58 INFO mapred.JobClient: Combine input records=0
16/05/25 16:29:58 INFO mapred.JobClient: Combine output records=0
16/05/25 16:29:58 INFO mapred.JobClient: Reduce input groups=40
16/05/25 16:29:58 INFO mapred.JobClient: Reduce shuffle bytes=0
16/05/25 16:29:58 INFO mapred.JobClient: Reduce input records=433
16/05/25 16:29:58 INFO mapred.JobClient: Reduce output records=58
16/05/25 16:29:58 INFO mapred.JobClient: Spilled Records=866
16/05/25 16:29:58 INFO mapred.JobClient: CPU time spent (ms)=0
16/05/25 16:29:58 INFO mapred.JobClient: Physical memory (bytes) snapshot=0
16/05/25 16:29:58 INFO mapred.JobClient: Virtual memory (bytes) snapshot=0
16/05/25 16:29:58 INFO mapred.JobClient: Total committed heap usage (bytes)=1679818752
16/05/25 16:29:58 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c89
16/05/25 16:29:58 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c89 closed
16/05/25 16:29:58 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:58 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x453ec7535016c8f
16/05/25 16:29:58 INFO zookeeper.ClientCnxn: EventThread shut down
16/05/25 16:29:58 INFO zookeeper.ZooKeeper: Session: 0x453ec7535016c8f closed
最佳答案
请看Steven Magana-Zook的回答
在 yarn-site.xml 中的设置应该如下所示
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
也可以看看 Job keeps running in LocalJobRunner under Cloudera 5.1
关于hadoop - MapReduce 代码只在本地运行。如何以分布式模式执行我的代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37463803/
我们有数据(此时未分配)要转换/聚合/透视到 wazoo。 我在 www 上看了看,我问的所有答案都指向 hadoop 可扩展、运行便宜(没有 SQL 服务器机器和许可证)、快速(如果你有足够的数据)
这很明显,我们都同意我们可以将 HDFS + YARN + MapReduce 称为 Hadoop。但是,Hadoop 生态系统中的其他不同组合和其他产品会怎样? 例如,HDFS + YARN + S
如果 es-hadoop 只是连接到 HDFS 的 Hadoop 连接器,它如何支持 Hadoop 分析? 最佳答案 我假设您指的是 this project .在这种情况下,ES Hadoop 项目
看完this和 this论文,我决定我想在 MapReduce 上为大型数据集实现分布式体积渲染设置作为我的本科论文工作。 Hadoop 是一个合理的选择吗? Java 不会扼杀一些性能提升或使与 C
我一直在尝试查找有关如何通过命令行提交 hadoop 作业的信息。 我知道命令 - hadoop jar jar-file 主类输入输出 还有另一个命令,我正在尝试查找有关它的信息,但未能找到 - h
Hadoop 服务器在 Kubernetes 中。而Hadoop客户端位于外网。所以我尝试使用 kubernetes-service 来使用 Hadoop 服务器。但是 hadoop fs -put
有没有人遇到奇怪的环境问题,在调用 hadoop 命令时被迫使用 SU 而不是 SUDO? sudo su -c 'hadoop fs -ls /' hdfs Found 4 itemsdrwxr-x
在更改 mapred-site.xml 中的属性后,我给出了一个 tar.bz2 文件、.gz 和 tar.gz 文件作为输入。以上似乎都没有奏效。我假设这里发生的是 hadoop 作为输入读取的记录
如何在 Hadoop Pipes 中获取正在 hadoop 映射器 中执行的输入文件 名称? 我可以很容易地在基于 java 的 map reducer 中获取文件名,比如 FileSplit fil
我想使用 MapReduce 方法分析连续的数据流(通过 HTTP 访问),因此我一直在研究 Apache Hadoop。不幸的是,Hadoop 似乎期望以固定大小的输入文件开始作业,而不是能够在新数
名称节点可以执行任务吗?默认情况下,任务在集群的数据节点上执行。 最佳答案 假设您正在询问MapReduce ... 使用YARN,MapReduce任务在应用程序主数据库中执行,而不是在nameno
我有一个关系A包含 (zip-code). 我还有另一个关系B包含 (name:gender:zip-code) (x:m:1234) (y:f:1234) (z:m:1245) (s:f:1235)
我是hadoop地区的新手。您能帮我负责(k2,list[v2,v2,v2...])形式的输出(意味着将键及其所有关联值组合在一起)的责任是吗? 谢谢。 最佳答案 这是Hadoop的MapReduce
因此,我一直在尝试编写一个hadoop程序,该程序将输入作为一个包含许多文件的文件,并且我希望hadoop程序的输出仅是输入文件的一行。但是我还没有做到这一点。我也不想去 reducer 课。如果有人
我使用的输入文本文件的内容是 1 "Come 1 "Defects," 1 "I 1 "Information 1 "J" 2 "Plain 5 "Project 1
谁能告诉我以下grep命令的作用: $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+' 最佳答案 http:/
我不了解mapreducer的基本功能,mapreducer是否有助于将文件放入HDFS 或mapreducer仅有助于分析HDFS中现有文件中的内容 我对hadoop非常陌生,任何人都可以指导我理解
CopyFromLocal将从本地文件系统上载数据。 不要放会从任何文件上传数据,例如。本地FS,亚马逊S3 或仅来自本地fs ??? 最佳答案 请找到两个命令的用法。 put ======= Usa
我开始研究hadoop mapreduce。 我是Java和hadoop的初学者,并且了解hadoop mapreduce的编码,但是有兴趣了解它在云中的内部工作方式。 您能否分享一些很好的链接来说明
我一直在寻找Hadoop mapreduce类的类路径。我正在使用Hortonworks 2.2.4版沙箱。我需要这样的类路径来运行我的javac编译器: javac -cp (CLASS_PATH)
我是一名优秀的程序员,十分优秀!