I also had faced this issue while building from source. I resolved by giving full path taking to bin/jar I. Package.sh and then it was all fine. But as suggested you could directly take the binary package to avoid building process. On Tue, 24 Feb 2015 at 12:42 am, Vikram Kone <[email protected]> wrote:
> Hi, > I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure. > I was able to install the pre-requisites tomcat, npm, maven and Java JDK on > the master node and then set the environment variables as follows > > 1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/ > > 2. export CATALINA_HOME=~/apache-tomcat-7.0.59 > > 3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn > > 4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH > > Next up, I added these lines so the sudoes file so that environment > variables are not reset when running commands as sudo > > 5. sudo visudo > > Defaults env_keep += "JAVA_HOME" > Defaults env_keep += "CATALINA_HOME" > Defaults secure_path = > /home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3. > 3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/ > sbin:/sbin:/home/vikone/bin > > Then I tried installing Kylin as follows > > 6. cd ~/Kylin > 7. sudo -E ./deploy.sh > > It did install a bunch of stuff and after couple of mins , I see this on > the terminal > > ==END== > > 8c60cf486f0965fd7617065ab217e0c1e3d13b07 > > update version to 0.6.6-SNAPSHOT > > > > ==END== > > d4bb89b01089e0cfe684c9c17d886a97b6126eb6 > > set request content charset > > > > ==END== > > a916b377bef38b9b24498bb3d74d069d6df1d047 > > Create URLEncodedUtils.java > > > > ==END== > > 69305823febe3274f591521a9df27390654be764 > > parse connectionURL parameters > > > > ==END== > > > > Done, without errors. > > Adding config.json to kylin.war > > ./package.sh: line 24: jar: command not found > > ERROR exit from ./deploy.sh : line 24 with exit code 127 > > > Any idea, why it says Done without errors but has an error message at the > end? > > -Vikram >
