安装Apache Kylin时遇到的问题
2016-11-08 21:59
323 查看
一:当在ubuntu下执行check_env.sh时遇到问题: KYLIN_HOME is set to /usr/local/apache-kylin-1.5.4.1-bin cat: invalid option -- '1' Try 'cat --help' for more information. -mkdir: Not enough arguments: expected 1 but got 0 Usage: hadoop fs [generic options] -mkdir [-p] ... failed to create , Please make sure the user has right to access 可能是由于get-properties.sh里的某条命令与ubuntu不相符,将get-propertie中的内容替换如下得以解决 if [ $# != 1 ] then echo 'invalid input' exit -1 fi result=`cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1- |tail -1` echo $result 二:当执行 ./check_env.sh 时遇到 mkdir: Permission denied: user=root, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x failed to create /kylin, Please make sure the user has right to access /kylin 可以在check-env.sh中 将hadoop fs -mkdir -p $WORKING_DIR 变成 sudo -u hdfs hadoop fs -mkdir -p $WORKING_DIR,得以解决
相关文章推荐
- 在windows下安装apache+mysql+php时遇到的问题与解决方法
- Apache,PHP,MySql,WordPress初次安装的过程以及遇到的问题
- phpnow 在win7下遇到“安装服务[apache_pn]失败”问题的一种解决办法
- Linux下安装apache可能遇到的问题总结
- 编译安装php+apache中遇到的问题
- 安装PHP+apache+mysql环境遇到的问题
- 安装Apache httpd-2.4.10安装步骤及遇到的问题
- ubuntu上编译安装apache步骤、遇到的一些问题解法
- Debian: 从源码安装apache时遇到的问题:configure: error: APR not found
- 在Windows上安装最新的Apache 2.4.12遇到的问题及解决办法
- 安装apache中遇到 的问题
- Linux下安装apache遇到的一些问题
- window 2008+apache2.4.4+php5.5+mysql-5.6.12+phpmyadmin4.0.4.1安装过程(参考他人文章基础上加上自己遇到的问题)
- CentOs下安装Apache的过程记录以及遇到的问题
- apache2.2.19安装fastcgi遇到的问题小结
- Apache2.2.17+PHP5.2.5+MySQL5安装说明配置遇到问题解决笔记
- 安装Apache遇到的问题
- 【问题记录】 Linux 安装 apache 遇到的一些问题
- 安装64位win7后配置php mysql Apache 遇到问题并解决~~
- 遇到问题----win7安装apache服务出现 <OS 10013> 以一种访问权限不允许的方式做了一个访问套接字的尝试