getWinUtilsPath() ... so your dev machine is windows. Check these env:
HADOOP_HOME: point to a hadoop dist compiled for windows PATH: %HADOOP_HOME%\bin These settings works for me. On Wed, Mar 18, 2015 at 5:33 PM, ワンレイ(ケビンKevin) <[email protected]> wrote: > Hi Qianhao, > > You are right indeed. The exception is gone now. > > But there appear some other errors/warnings as listed below: > > [main]:[2015-03-18 > > 17:42:57,787][ERROR][org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:373)] > - Failed to locate the winutils binary in the hadoop binary path > ... > [localhost-startStop-1]:[2015-03-18 > > 17:43:15,517][WARN][org.apache.hadoop.util.NativeCodeLoader.<clinit>(NativeCodeLoader.java:62)] > - Unable to load native-hadoop library for your platform... using > builtin-java classes where applicable > ... > [localhost-startStop-1]:[2015-03-18 > > 17:43:16,690][WARN][org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory.<init>(DomainSocketFactory.java:116)] > - The short-circuit local reads feature cannot be used because UNIX Domain > sockets are not available on Windows. > ... > then keep throwing this: > Wed Mar 18 18:08:38 JST 2015, > org.apache.hadoop.hbase.client.RpcRetryingCaller@86ca372, > org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException): > java.io.IOException: Table Namespace Manager not ready yet, try again later > > So I guess Kylin does not support Windows. I also tried the pre-built > binary package, in which also I only found Unix shell scripts. I am > hesitating to install Cygwin, so will try to install inside the sandbox. > > Many thanks > Kevin > > > On Wed, Mar 18, 2015 at 4:04 PM, Zhou, Qianhao <[email protected]> wrote: > > > Hi, Kevin > > For #2 > > Idea deals differently from eclipse with PROVIDED dependency in > > pom.xml.(which is provided really means) > > As a workaround to run DebugTomcat locally, you can modify the iml(idea > > project file) file, replace all ‘provided’ with ‘compile’. > > > > Best Regard > > Zhou QianHao > > > > > > > > > > > > On 3/18/15, 2:50 PM, "hongbin ma" <[email protected]> wrote: > > > > >if you're just trying out please use our binary snapshot: > > >http://kylin.incubator.apache.org/download/kylin-0.7.1-SNAPSHOT.tgz and > > >follow: > > > > > > https://github.com/KylinOLAP/Kylin/blob/master/docs/Installation/install_a > > >nd_run.md > > > > > >On Tue, Mar 17, 2015 at 11:40 PM, Kevin (ケビン) < > [email protected]> > > >wrote: > > > > > >> Hi, > > >> > > >> I followed "Off Hadoop CLI Installation" tutorial to set up the > > >>development > > >> environment, but when hitting the last step " launch > > >> com.kylinolap.rest.DebugTomcat with specifying VM arguments > > >> -Dspring.profiles.active=sandbox", I got some problems: > > >> > > >> 1. I suppose the latest class name should > > >> be org.apache.kylin.rest.DebugTomcat instead; > > >> > > >> 2. I am using intelliJ as the IDE under Windows 7, but when running > the > > >> class, I got this exception: > > >> > > >> Exception in thread "main" java.lang.NoClassDefFoundError: > > >> org/apache/catalina/LifecycleListener > > >> at java.lang.Class.forName0(Native Method) > > >> at java.lang.Class.forName(Class.java:190) > > >> at > com.intellij.rt.execution.application.AppMain.main(AppMain.java:116) > > >> Caused by: java.lang.ClassNotFoundException: > > >> org.apache.catalina.LifecycleListener > > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > > >> at java.security.AccessController.doPrivileged(Native Method) > > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > > >> ... 3 more > > >> > > >> Compiling succeeded and the maven library tomcat-catalina-7.0.52.jar > > >> exists. I have spent two hours trying to figure out a solution, but > > >>still > > >> cannot get it. Any one can offer a hand? > > >> > > >> Thanks > > >> > > > > > > > > > > > > > >-- > > >Regards, > > > > > >*Bin Mahone | 马洪宾* > > >Apache Kylin: http://kylin.io > > >Github: https://github.com/binmahone > > > > > > *――――――――――――――――――――* >
