Yes it was path error.  Fixed now thanks
On 06-Apr-2016 2:43 PM, "ShaoFeng Shi" <[email protected]> wrote:

> Hive may tell a wrong class path, which causing the NoClassDefFoundError.
>
> Try run $KYLIN_HOME/bin/find-hive-dependency.sh, get the output, and then
> check whether the paths/files exists and accessible.
>
> 2016-04-06 15:24 GMT+08:00 Yagyank Chadha <[email protected]>:
>
> > HI kylin developers,
> >
> > I installed hadoop hive and hbase to work with kylin. everything was
> > working fine until I changed something( which I donbt exactly know) and I
> > started getting the following error whenever I run kylin
> >
> >     KYLIN_HOME is set to /usr/lib/kylin/bin/../
> >     kylin.security.profile is set to testing
> >     Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/hadoop/hive/ql/CommandNeedRetryException
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:348)
> >         at org.apache.hadoop.util.RunJar.run(RunJar.java:214)
> >         at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> >     Caused by: java.lang.ClassNotFoundException:
> > org.apache.hadoop.hive.ql.CommandNeedRetryException
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> >         ... 4 more
> >     HIVE_CONF is set to: /usr/lib/hive/apache-hive-1.2.1-bin/conf/, use
> it
> > to locate hive configurations.
> >     HCAT_HOME is set to: /usr/lib/hive/apache-hive-1.2.1-bin/hcatalog,
> use
> > it to find hcatalog path:
> >     dirname: missing operand
> >     Try 'dirname --help' for more information.
> >     find: cannot search `': No such file or directory
> >     hive dependency:
> >
> >
> /usr/lib/hive/apache-hive-1.2.1-bin/conf/::/usr/lib/hive/apache-hive-1.2.1-bin/hcatalog/share/hcatalog/hive-hcatalog-core-1.2.1.jar
> >     hbase dependency: /usr/lib/hbase/lib/hbase-common-0.98.18-hadoop2.jar
> >     KYLIN_JVM_SETTINGS is -Xms1024M -Xmx4096M -XX:MaxPermSize=128M
> > -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps
> > -Xloggc:/usr/lib/kylin/bin/..//logs/kylin.gc -XX:+UseGCLogFileRotation
> > -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=64M
> >     KYLIN_DEBUG_SETTINGS is not set, will not enable remote debuging
> >     KYLIN_LD_LIBRARY_SETTINGS is not set, Usually it's okay unless you
> want
> > to specify your own native path
> >     A new Kylin instance is started by root, stop it using "kylin.sh
> stop"
> >     Please visit http://<ip>:7070/kylin
> >     You can check the log at /usr/lib/kylin/bin/..//logs/kylin.log
> >
> > --
> > Regards
> > *Yagyank chadha*
> >
> > *Undergraduate student*
> > *Computer Science Engineering*
> > *Thapar University, Patiala*
> >
>
>
>
> --
> Best regards,
>
> Shaofeng Shi
>

Reply via email to