The cause should be:
class file for javax.mail.Session not found
Seems some jar file is missing in your java env.
Thanks,
Dong Li


Original Message
Sender:Li [email protected]
Recipient:[email protected]
Date:Thursday, Apr 21, 2016 14:42
Subject:Re: some questions of kylin


Unsafe API is warning in my env. According to [1], could there be another 
error? 
http://stackoverflow.com/questions/19795001/the-warnings-turned-into-errors-when-an-other-error-occurs
 On Wed, Apr 13, 2016 at 10:56 AM, 陈佛林 [email protected] wrote:  mycluster is 
cdh5.3.2:   hadoop-2.5.0-cdh5.3.2  hbase-0.98.6-cdh5.3.2  hive-0.13.1   is that 
means:  i must compile a new binary package?    and the compile message:  jdk 
version :1.7.0_71   [ERROR] Failed to execute goal  
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile  (default-compile) 
on project kylin-core-common: Compilation failure:  Compilation failure:  
[ERROR]   
/code/kylin-kylin-1.5.0/core-common/src/main/java/org/apache/kylin/common/util/Bytes.java:[43,15]
  Unsafe is internal proprietary API and may be removed in a future release  
[ERROR]   
/code/kylin-kylin-1.5.0/core-common/src/main/java/org/apache/kylin/common/util/MailService.java:[109,32]
  error: cannot access Session  [ERROR] class file for javax.mail.Session not 
found  [ERROR]   
/code/kylin-kylin-1.5.0/core-common/src/main/java/org/apache/kylin/common/util/Bytes.java:[1032,25]
  Unsafe is internal proprietary API and may be removed in a future release  
[ERROR]   
/code/kylin-kylin-1.5.0/core-common/src/main/java/org/apache/kylin/common/util/Bytes.java:[1040,29]
  Unsafe is internal proprietary API and may be removed in a future release  
[ERROR]   
/code/kylin-kylin-1.5.0/core-common/src/main/java/org/apache/kylin/common/util/Bytes.java:[1044,38]
  Unsafe is internal proprietary API and may be removed in a future release

Reply via email to