mapreduce - How to resolve the HCat Error - ClassNotFound - HCatOutputFormat not found -
how resolve error below, have exported hcat-core.jar before running code, kindly help
java.lang.classnotfoundexception: class org.apache.hive.hcatalog.mapreduce.hcatoutputformat not found
full trace:
2016-07-28 20:12:48,465 info [main] org.apache.hadoop.mapreduce.v2.app.mrappmaster: created mrappmaster application appattempt_1468985268798_44020_000002 2016-07-28 20:12:48,653 warn [main] org.apache.hadoop.util.nativecodeloader: unable load native-hadoop library platform... using builtin-java classes applicable 2016-07-28 20:12:48,690 info [main] org.apache.hadoop.mapreduce.v2.app.mrappmaster: executing tokens: 2016-07-28 20:12:48,690 info [main] org.apache.hadoop.mapreduce.v2.app.mrappmaster: kind: yarn_am_rm_token, service: , ident: (appattemptid { application_id { id: 44020 cluster_timestamp: 1468985268798 } attemptid: 2 } keyid: 618886960) 2016-07-28 20:12:48,811 info [main] org.apache.hadoop.mapreduce.v2.app.mrappmaster: using mapred newapicommitter. 2016-07-28 20:12:49,675 info [main] org.apache.hadoop.mapreduce.v2.app.mrappmaster: outputcommitter set in config null 2016-07-28 20:12:49,744 info [main] org.apache.hadoop.service.abstractservice: service org.apache.hadoop.mapreduce.v2.app.mrappmaster failed in state inited; cause: org.apache.hadoop.yarn.exceptions.yarnruntimeexception: java.lang.runtimeexception: java.lang.classnotfoundexception: class org.apache.hive.hcatalog.mapreduce.hcatoutputformat not found org.apache.hadoop.yarn.exceptions.yarnruntimeexception: java.lang.runtimeexception: java.lang.classnotfoundexception: class org.apache.hive.hcatalog.mapreduce.hcatoutputformat not found @ org.apache.hadoop.mapreduce.v2.app.mrappmaster$1.call(mrappmaster.java:478) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster$1.call(mrappmaster.java:458) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster.callwithjobclassloader(mrappmaster.java:1560) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster.createoutputcommitter(mrappmaster.java:458) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster.serviceinit(mrappmaster.java:377) @ org.apache.hadoop.service.abstractservice.init(abstractservice.java:163) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster$4.run(mrappmaster.java:1518) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:422) @ org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1657) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster.initandstartappmaster(mrappmaster.java:1515) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster.main(mrappmaster.java:1448) caused by: java.lang.runtimeexception: java.lang.classnotfoundexception: class org.apache.hive.hcatalog.mapreduce.hcatoutputformat not found @ org.apache.hadoop.conf.configuration.getclass(configuration.java:2195) @ org.apache.hadoop.mapreduce.task.jobcontextimpl.getoutputformatclass(jobcontextimpl.java:222) @ org.apache.hadoop.mapreduce.v2.app.mrappmaster$1.call(mrappmaster.java:474) ... 11 more caused by: java.lang.classnotfoundexception: class org.apache.hive.hcatalog.mapreduce.hcatoutputformat not found @ org.apache.hadoop.conf.configuration.getclassbyname(configuration.java:2101) @ org.apache.hadoop.conf.configuration.getclass(configuration.java:2193) ... 13 more
Comments
Post a Comment