great, thanks for the update; I think you're the first one to run Kylin on Mac, hope it runs well in the next steps :)
2015-09-10 17:35 GMT+08:00 Owen Rumney <[email protected]>: > Hi > > Just to close this - I got it working on OSX. Seems the OSX impelmentation > of cut doesn't support --output-delimiter > > I got it working with the following substitution in the > find-h*-dependency.sh > > arr=(`echo $hive_classpath | tr ':' ' '`) > > Thanks again, > Owen > > On 9 September 2015 at 18:12, Owen Rumney <[email protected]> wrote: > > > That would make sense – I’ve got hadoop/hive/hbase all running on my Mac > > using tarballs which works fine but I guess cut is not the same as RHEL > or > > Ubuntu. > > > > I’ll have a dig around in find-hbase-dependency.sh and see if I can tweak > > it to work in my env. Otherwise I guess its a VM. > > > > Thanks for coming back. > > > > From: "Shi, Shaofeng" > > Date: Wednesday, 9 September 2015 13:44 > > To: Owen Rumney > > Cc: "[email protected]" > > Subject: Re: Sample cube > > > > Hi Owen, what’s the OS version of your server? It seems that the “cut” > > command on your server is different with what we usually use; In > > $KYLIN_HOME/bin/find-hbase-dependency.sh and find-hive-dependency we use > > the cut command to get certain jar files’ path; If the jars were not > found, > > Kylin will fail to startup. > > > > From: Owen Rumney <[email protected]> > > Date: Wednesday, September 9, 2015 at 6:16 PM > > To: "Shi, Shaofeng" <[email protected]> > > Subject: Re: Sample cube > > > > Hi > > > > The sample cube has been created, I'm now getting this error output. Any > > thoughts? > > > > /usr/local/kylin/bin $ ./kylin.sh start > > KYLIN_HOME is set to /usr/local/kylin > > 15/09/09 11:15:28 WARN util.NativeCodeLoader: Unable to load > native-hadoop > > library for your platform... using builtin-java classes where applicable > > > > Logging initialized using configuration in > > > jar:file:/usr/local/cloudera/5.3.1/hive/lib/hive-common-0.13.1-cdh5.3.1.jar!/hive-log4j.properties > > cut: illegal option -- - > > usage: cut -b list [-n] [file ...] > > cut -c list [file ...] > > cut -f list [-s] [-d delim] [file ...] > > usage: dirname path > > find: -printf: unknown primary or operator > > hive dependency: ::find: illegal option -- n > > cut: illegal option -- - > > usage: cut -b list [-n] [file ...] > > cut -c list [file ...] > > cut -f list [-s] [-d delim] [file ...] > > hbase-common lib not found > > > > On 9 September 2015 at 10:39, Owen Rumney <[email protected]> wrote: > > > >> Hi > >> > >> I'll check what I was using before, but I'm now using 1.0 and its all > >> starting to work out. > >> > >> Previouysly the sample_cube was in another folder. > >> > >> Thanks for getting back to me. > >> Owen > >> > >> On 9 September 2015 at 09:17, Shi, Shaofeng <[email protected]> wrote: > >> > >>> Hi Owen, which build are you using? what¹s the error when you run > >>> bin/sample.sh? > >>> > >>> On 9/9/15, 4:15 PM, "Owen Rumney" <[email protected]> wrote: > >>> > >>> >Resend at the request of Luke Han > >>> > > >>> > > >>> >---------- Forwarded message ---------- > >>> >From: Owen Rumney <[email protected]> > >>> >Date: 25 August 2015 at 15:20 > >>> >Subject: Sample cube > >>> >To: [email protected] > >>> > > >>> > > >>> >Hi > >>> > > >>> >I¹m trying to run the sample cube for Kylin using the bin/sample.sh > >>> > > >>> >I found the path to the sample cube wasn¹t correct in the script and > >>> it¹s > >>> >looking for files in a lib that doesn¹t exist. I¹ve clean packaged it > >>> and > >>> >moved the jars to a lib folder and moved the examples/sample_cube up a > >>> >level but the sample script still doesn¹t run after creating the hive > >>> >tables. > >>> > > >>> >Is there an updated sample.sh I can get hold of? > >>> > > >>> >Thanks, > >>> >Owen > >>> > >>> > >> > > >
