[ https://issues.apache.org/jira/browse/MAPREDUCE-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199772#comment-13199772 ]
Karam Singh commented on MAPREDUCE-3797: ---------------------------------------- {code} WARNING: org.apache.hadoop.log.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files. 12/02/03 14:13:03 INFO util.NativeCodeLoader: Loaded the native-hadoop library 12/02/03 14:13:03 INFO security.JniBasedUnixGroupsMapping: Using JniBasedUnixGroupsMapping for Group resolution 12/02/03 14:13:03 INFO security.JniBasedUnixGroupsNetgroupMapping: Using JniBasedUnixGroupsNetgroupMapping for Netgroup resolution 12/02/03 14:13:03 WARN conf.Configuration: mapred.used.genericoptionsparser is deprecated. Instead, use mapreduce.client.genericoptionsparser.used 12/02/03 14:13:03 INFO gridmix.Gridmix: Submission policy is REPLAY 12/02/03 14:13:03 INFO gridmix.Gridmix: Generating 350.0g of test data... 12/02/03 14:13:04 INFO hdfs.DFSClient: Created HDFS_DELEGATION_TOKEN token 1 for <user> on NNIP:FSPORT 12/02/03 14:13:04 INFO security.TokenCache: Got dt for hdfs://NN:port;uri=NNIP:FSPORT;t.service=NNIP:FSPORT 12/02/03 14:13:05 WARN mapred.ResourceMgrDelegate: getBlacklistedTrackers - Not implemented yet 12/02/03 14:13:07 INFO mapreduce.JobSubmitter: number of splits:350 12/02/03 14:13:08 INFO mapred.ResourceMgrDelegate: Submitted application application_1328278349726_0001 to ResourceManager at RM/RMIP:PORT 12/02/03 14:13:08 INFO mapreduce.Job: The url to track the job: http://RM:port/proxy/application_1328278349726_0001/ 12/02/03 14:13:08 INFO gridmix.Statistics: Not tracking job GRIDMIX_GENERATE_INPUT_DATA as seq id is less than zero: -1 12/02/03 14:17:04 INFO gridmix.JobMonitor: GRIDMIX_GENERATE_INPUT_DATA (job_1328278349726_0001) success 12/02/03 14:17:04 INFO gridmix.Gridmix: Changing the permissions for inputPath hdfs://NN:FSPOT/user/<user>/gridmix3/input 12/02/03 14:17:05 INFO gridmix.Gridmix: Input data generation successful. 12/02/03 14:17:06 INFO gridmix.GridmixJob: Total size of input data : 350.0g 12/02/03 14:17:06 INFO gridmix.GridmixJob: Total number of input data files : 350 12/02/03 14:17:13 ERROR gridmix.Gridmix: Startup failed java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at java.util.Properties.setProperty(Properties.java:143) at org.apache.hadoop.conf.Configuration.set(Configuration.java:633) at org.apache.hadoop.mapred.JobConf.setJobName(JobConf.java:1321) at org.apache.hadoop.tools.rumen.ZombieJob.getJobConf(ZombieJob.java:139) at org.apache.hadoop.mapred.gridmix.DistributedCacheEmulator.updateHDFSDistCacheFilesList(DistributedCacheEmulator.java:315) at org.apache.hadoop.mapred.gridmix.DistributedCacheEmulator.buildDistCacheFilesList(DistributedCacheEmulator.java:280) at org.apache.hadoop.mapred.gridmix.DistributedCacheEmulator.setupGenerateDistCacheData(DistributedCacheEmulator.java:253) at org.apache.hadoop.mapred.gridmix.Gridmix.setupDistCacheEmulation(Gridmix.java:528) at org.apache.hadoop.mapred.gridmix.Gridmix.setupEmulation(Gridmix.java:501) at org.apache.hadoop.mapred.gridmix.Gridmix.start(Gridmix.java:433) at org.apache.hadoop.mapred.gridmix.Gridmix.runJob(Gridmix.java:380) at org.apache.hadoop.mapred.gridmix.Gridmix.access$000(Gridmix.java:56) at org.apache.hadoop.mapred.gridmix.Gridmix$1.run(Gridmix.java:313) at org.apache.hadoop.mapred.gridmix.Gridmix$1.run(Gridmix.java:311) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1177) at org.apache.hadoop.mapred.gridmix.Gridmix.run(Gridmix.java:311) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69) at org.apache.hadoop.mapred.gridmix.Gridmix.main(Gridmix.java:606) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:200) Execution Summary:- Input trace: file:<trace file> Input trace signature: <tracle file signature> Total number of jobs in trace: 0 Expected input data size: 350.0g Input data statistics: Uncompressed input data size: 350.0g, Number of files: 350 Total number of jobs processed: 0 Total number of successful jobs: 0 Total number of failed jobs: 0 Total number of map tasks launched: 0 Total number of reduce task launched: 0 Gridmix start time: 2/3/12 2:13 PM Gridmix end time: 2/3/12 2:17 PM Gridmix simulation start time: 2/3/12 2:13 PM Gridmix runtime: 4mins, 10sec Time spent in initialization (data-gen etc): -368966hrs, -13mins, -2sec Time spent in simulation: 0sec Gridmix configuration parameters: -Dgridmix.job-submission.policy=REPLAY -Dgridmix.user.resolve.class=org.apache.hadoop.mapred.gridmix.RoundRobinUserResolver -Dgridmix.output.directory=/user/<user>/gridmix3output -libjars <hadoop-rumen jar path> -generate 350g -users file://<usersmap file path> gridmix3 file://<trace file> Gridmix job submission policy: REPLAY Gridmix resolver: org.apache.hadoop.mapred.gridmix.RoundRobinUserResolver Cluster Summary:- JobTracker: N/A FileSystem: N/A Number of blacklisted trackers: 0 Number of active trackers: 0 Max map task capacity: 0 Max reduce task capacity: 0 12/02/03 14:17:13 INFO gridmix.Gridmix: Exiting... {code} Where as trace is having nearly 1200 jobs > lGridMix fails to Run with NPE with latest branch-0.23 code > ----------------------------------------------------------- > > Key: MAPREDUCE-3797 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3797 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/gridmix, tools/rumen > Affects Versions: 0.23.1 > Reporter: Karam Singh > Fix For: 0.23.1 > > > GridMix fails to start trowing NPE after gendata -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira