kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Punit Naik <punit.n...@formcept.com>
Subject Re: Have a error in Building cube
Date Thu, 28 Jul 2016 15:59:50 GMT
Hi Micro

Have you exported HCATALOG_HOME which basically points to the hcatalog jar?

On 27-Jul-2016 3:41 PM, "Micro dong" <microle.dong@gmail.com> wrote:

>
> when run 2nd step,it will cause errors:
>
> 2016-07-27 18:02:04,651 WARN [main] org.apache.hadoop.mapred.YarnChild:
> Exception running child : java.lang.RuntimeException:
> java.lang.ClassNotFoundException: Class
> org.apache.hive.hcatalog.mapreduce.HCatInputFormat not found
>
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2195)
> 	at org.apache.hadoop.mapreduce.task.JobContextImpl.getInputFormatClass(JobContextImpl.java:174)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:749)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
> 	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
> 	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
> Caused by: java.lang.ClassNotFoundException: Class org.apache.hive.hcatalog.mapreduce.HCatInputFormat
not found
> 	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2101)
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2193)
> 	... 8 more
>
>
> but i have put hcatalog-core-0.11.0.jar in
> $KYLIN/HOME/tomcat/webapps/kylin/WEB-INF/lib
> I don't know what am I missing here, Your Kind help is appreciated.
>
> env:
> hadoop2.7.2,with snappy
> Hbase,hbase-0.98.8-hadoop2
> hive, hive-2.0.0
> kylin, apache-kylin-1.2-bin
>

Mime
View raw message