You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by XiaoHui Zhang <18...@bjtu.edu.cn> on 2019/02/22 03:01:04 UTC

development environment

  Hi, dear team,I am a beginner of Kylin and I am building kylin development environment with HDP Sandbox.But when I am running $KYLIN_HOME/bin/kylin.sh start,it occurs the following errors:

[root@sandbox-hdp apache-ktlin-2.6.0-bin-hadoop3]#./bin/kylin.sh start
Retrieving hadoop conf dir...
KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin-hadoop3
Retrieving hive dependency...
Something wrong with Hive CLI or Beline,please execute Hive CLI or Beeline CLI in termina




 Did I need to make any changes to kylin's configuration file?if not,why did this happen?


 Hope for any of yours reply.




Re: Re: development environment

Posted by XiaoHui Zhang <18...@bjtu.edu.cn>.
When I type "hive" or "beeline" in SSH ,it display the following information:

[root@sandbox-hdp /]# hive                                                                                                                                                                    
SLF4J: Class path contains multiple SLF4J bindings.                                                                                                                                           
SLF4J: Found binding in [jar:file:/usr/hdp/3.0.1.0-187/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]                                                         
SLF4J: Found binding in [jar:file:/usr/hdp/3.0.1.0-187/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]                                                          
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.                                                                                                              
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]                                                                                                                
Connecting to jdbc:hive2://sandbox-hdp.hortonworks.com:2181/default;password=hive;serviceDiscoveryMode=zooKeeper;user=hive;zooKeeperNamespace=hiveserver2                                     
19/02/22 06:38:30 [main]: INFO jdbc.HiveConnection: Connected to sandbox-hdp.hortonworks.com:10000                                                                                            
Connected to: Apache Hive (version 3.1.0.3.0.1.0-187)                                                                                                                                         
Driver: Hive JDBC (version 3.1.0.3.0.1.0-187)                                                                                                                                                 
Transaction isolation: TRANSACTION_REPEATABLE_READ                                                                                                                                            
Beeline version 3.1.0.3.0.1.0-187 by Apache Hive                                                                                                                                              
0: jdbc:hive2://sandbox-hdp.hortonworks.com:2>


it looks like everything is OK.
This makes me confused.

在2019-02-22 11:50:37,XiaoHui Zhang<18...@bjtu.edu.cn>写道:
> May me you can login in Sandbox and type "hive" or "beeline" start hive command line by hand for testing of hive dependence
> 
> 
> | |
> shifengdefannao
> |
> |
> Email:shifengdefannao@163.com
> |
> 
> Signature is customized by Netease Mail Master
> 
> On 02/22/2019 11:01, XiaoHui Zhang wrote:
>  Hi, dear team,I am a beginner of Kylin and I am building kylin development environment with HDP Sandbox.But when I am running $KYLIN_HOME/bin/kylin.sh start,it occurs the following errors:
> 
> [root@sandbox-hdp apache-ktlin-2.6.0-bin-hadoop3]#./bin/kylin.sh start
> Retrieving hadoop conf dir...
> KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin-hadoop3
> Retrieving hive dependency...
> Something wrong with Hive CLI or Beline,please execute Hive CLI or Beeline CLI in termina
> 
> 
> 
> 
> Did I need to make any changes to kylin's configuration file?if not,why did this happen?
> 
> 
> Hope for any of yours reply.
> 
> 
> 



Re: development environment

Posted by yuzhang <sh...@163.com>.
May me you can login in Sandbox and type "hive" or "beeline" start hive command line by hand for testing of hive dependence


| |
shifengdefannao
|
|
Email:shifengdefannao@163.com
|

Signature is customized by Netease Mail Master

On 02/22/2019 11:01, XiaoHui Zhang wrote:
 Hi, dear team,I am a beginner of Kylin and I am building kylin development environment with HDP Sandbox.But when I am running $KYLIN_HOME/bin/kylin.sh start,it occurs the following errors:

[root@sandbox-hdp apache-ktlin-2.6.0-bin-hadoop3]#./bin/kylin.sh start
Retrieving hadoop conf dir...
KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin-hadoop3
Retrieving hive dependency...
Something wrong with Hive CLI or Beline,please execute Hive CLI or Beeline CLI in termina




Did I need to make any changes to kylin's configuration file?if not,why did this happen?


Hope for any of yours reply.




Re: Re: development environment

Posted by XiaoHui Zhang <18...@bjtu.edu.cn>.
Hi

When I check Ambair,everything is healthy and I check the HIVE's logs ,it just shows the following  WARN information:

Fri Feb 22 06:30:29 UTC 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL conn
ection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need e
ither to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.



在2019-02-22 14:18:24,XiaoHui Zhang<18...@bjtu.edu.cn>写道:
> Hi
> Please check Ambari and see whether the HIVE is healthy or not. If not, you
> can check the HIVE's logs(/var/log/hive).
> 
> 
> 
> -- 
> 
> 
> Regards!
> 
> Aron Tao
> 
> 
> 
> XiaoHui Zhang <18...@bjtu.edu.cn> 于2019年2月22日周五 上午2:56写道:
> 
> >   Hi, dear team,I am a beginner of Kylin and I am building kylin
> > development environment with HDP Sandbox.But when I am running
> > $KYLIN_HOME/bin/kylin.sh start,it occurs the following errors:
> >
> > [root@sandbox-hdp apache-ktlin-2.6.0-bin-hadoop3]#./bin/kylin.sh start
> > Retrieving hadoop conf dir...
> > KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin-hadoop3
> > Retrieving hive dependency...
> > Something wrong with Hive CLI or Beline,please execute Hive CLI or Beeline
> > CLI in termina
> >
> >
> >
> >
> >  Did I need to make any changes to kylin's configuration file?if not,why
> > did this happen?
> >
> >
> >  Hope for any of yours reply.
> >
> >
> >
> >



Re: development environment

Posted by JiaTao Tao <ta...@gmail.com>.
Hi
Please check Ambari and see whether the HIVE is healthy or not. If not, you
can check the HIVE's logs(/var/log/hive).



-- 


Regards!

Aron Tao



XiaoHui Zhang <18...@bjtu.edu.cn> 于2019年2月22日周五 上午2:56写道:

>   Hi, dear team,I am a beginner of Kylin and I am building kylin
> development environment with HDP Sandbox.But when I am running
> $KYLIN_HOME/bin/kylin.sh start,it occurs the following errors:
>
> [root@sandbox-hdp apache-ktlin-2.6.0-bin-hadoop3]#./bin/kylin.sh start
> Retrieving hadoop conf dir...
> KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin-hadoop3
> Retrieving hive dependency...
> Something wrong with Hive CLI or Beline,please execute Hive CLI or Beeline
> CLI in termina
>
>
>
>
>  Did I need to make any changes to kylin's configuration file?if not,why
> did this happen?
>
>
>  Hope for any of yours reply.
>
>
>
>