[GitHub] shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or stop

2018-12-13 Thread GitBox
shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or 
stop
URL: https://github.com/apache/kylin/pull/385#issuecomment-446829828
 
 
   >  So I'm wondering how it solves the problem that CDH ships 1.7 but Kylin 
expects 1.8?
   
   -Added 'jdk version validation'
   
   I know it's weird, though, we have CDH 5.x (5.15.0) and later install 1.8+, 
here is what we get when JAVA_HOME is absent
   
   `
   java -version
   `
   `
   java version "1.8.0_171"
   Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
   Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
   `
   
   `
   hbase -version
   `
   `
   java version "1.7.0_67"
   Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
   Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
   `
   
   hbase falls back to java-7-oracle-cloudera while default java is 1.8
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or stop

2018-12-12 Thread GitBox
shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or 
stop
URL: https://github.com/apache/kylin/pull/385#issuecomment-446829828
 
 
   >  So I'm wondering how it solves the problem that CDH ships 1.7 but Kylin 
expects 1.8?
   
   -Added 'jdk version validation'
   
   I know it's weird though, 
   We have CDH 5.x (5.15.0) and later install 1.8+, here is what we get when 
JAVA_HOME is absent
   
   `
   java -version
   `
   `
   java version "1.8.0_171"
   Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
   Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
   `
   
   `
   hbase -version
   `
   `
   java version "1.7.0_67"
   Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
   Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
   `
   
   hbase falls back to java-7-oracle-cloudera while default java is 1.8
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or stop

2018-12-12 Thread GitBox
shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or 
stop
URL: https://github.com/apache/kylin/pull/385#issuecomment-446829828
 
 
   >  So I'm wondering how it solves the problem that CDH ships 1.7 but Kylin 
expects 1.8?
   
   -Added 'jdk version validation'
   
   I know it's weird though, 
   We have CDH 5.x (5.15.0) and later install 1.8+, here is what we get when 
JAVA_HOME is absent
   
   `
   java -version
   `
   `
   java version "1.8.0_171"
   Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
   Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
   `
   
   `
   hbase -version
   `
   `
   java version "1.7.0_67"
   Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
   Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
   `
   
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or stop

2018-12-12 Thread GitBox
shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or 
stop
URL: https://github.com/apache/kylin/pull/385#issuecomment-446829828
 
 
   >  So I'm wondering how it solves the problem that CDH ships 1.7 but Kylin 
expects 1.8?
   
   -Added 'jdk version validation'
   
   I know it's weird though, 
   We have CDH 5.x (5.15.0) and later install 1.8+, here is what we get whent 
JAVA_HOME is absent
   
   `
   java -version
   `
   `
   java version "1.8.0_171"
   Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
   Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
   `
   
   `
   hbase -version
   `
   `
   java version "1.7.0_67"
   Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
   Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
   `
   
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or stop

2018-12-12 Thread GitBox
shopee-jin edited a comment on issue #385: set JAVA_HOME before server start or 
stop
URL: https://github.com/apache/kylin/pull/385#issuecomment-446829828
 
 
   >  So I'm wondering how it solves the problem that CDH ships 1.7 but Kylin 
expects 1.8?
   
   -Added 'jdk version validation'
   
   I know it's weird though, 
   We have CDH 5.x (5.15.0) and later install 1.8+, here is what we get whent 
JAVA_HOME is absent
   
   `
   java -version
   java version "1.8.0_171"
   `
   `
   Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
   Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
   `
   
   `
   hbase -version
   `
   `
   java version "1.7.0_67"
   Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
   Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
   `
   
   
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services