Thanks for your quick response , I have already created a bridge for mvn repo.
While building Kylin:AtopCalcite it breaks again , following is log , I am trying to figure out the reason, if anyone have faced this issue and solved let me know. [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException ERROR exit from ./sandbox_deploy.sh : line 4 with exit code 1 linux:/opt/Kylin # set -o allexport off braceexpand on emacs on errexit off errtrace off functrace off hashall on histexpand on history on ignoreeof off interactive-comments on keyword off monitor on noclobber off noexec off noglob off nolog off notify off nounset off onecmd off physical off pipefail off posix off privileged off verbose off vi off xtrace off linux:/opt/Kylin # set -o history linux:/opt/Kylin # ls atopcalcite cube dictionary examples jdbc kylin_architecture.png LICENSE package.sh query README_old.md server storage common deploy docs .gitignore job kylin.sh metadata pom.xml README.md sandbox_deploy.sh .settings webapp linux:/opt/Kylin # ./sandbox_deploy.sh Welcome to use Kylin-Deploy script This script will help you: 1. Check environment 2. Build Kylin artifacts 3. Prepare test cube related data Please make sure you are running this script on a hadoop CLI machine, and you have enough permissions. Also, We assume you have installed: JAVA, TOMCAT, NPM and MAVEN. [Warning] The installation may break existing tomcat applications on this CLI Are you sure you want to proceed?(press Y or y to confirm) y Checking JAVA status... JAVA_HOME is set to /opt/oss/mttools/jre /opt/oss/mttools/jre exists Checking tomcat status... CATALINA_HOME is set to /opt/apache-tomcat-7.0.57/ /opt/apache-tomcat-7.0.57/ exists Checking maven... maven check passed Checking npm... npm check passed Kylin home folder path is /opt/Kylin Building and packaging... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.kylinolap:kylin-server:war:0.6.4-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ com.kylinolap:kylin-server:[unknown-version], /opt/Kylin/server/pom.xml, line 365, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Kylin:HadoopOLAPEngine [INFO] Kylin:AtopCalcite [INFO] Kylin:Common [INFO] Kylin:Metadata [INFO] Kylin:Dictionary [INFO] Kylin:Cube [INFO] Kylin:Job [INFO] Kylin:Storage [INFO] Kylin:Query [INFO] Kylin:RESTServer [INFO] Kylin:Jdbc [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:HadoopOLAPEngine 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:AtopCalcite 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atopcalcite --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Common 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-common --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Metadata 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-metadata --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Dictionary 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-dictionary --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Cube 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-cube --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Job 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-job --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Storage 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-storage --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Query 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-query --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:RESTServer 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] Could not transfer metadata org.springframework.boot:spring-boot-maven-plugin/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/libs-snapshot): repo.spring.io: Name or service not known [WARNING] Could not transfer metadata org.springframework.boot:spring-boot-maven-plugin/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-server --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:Jdbc 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-jdbc --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [ 0.171 s] [INFO] Kylin:AtopCalcite .................................. SUCCESS [ 0.022 s] [INFO] Kylin:Common ....................................... SUCCESS [ 0.004 s] [INFO] Kylin:Metadata ..................................... SUCCESS [ 0.004 s] [INFO] Kylin:Dictionary ................................... SUCCESS [ 0.004 s] [INFO] Kylin:Cube ......................................... SUCCESS [ 0.006 s] [INFO] Kylin:Job .......................................... SUCCESS [ 0.006 s] [INFO] Kylin:Storage ...................................... SUCCESS [ 0.003 s] [INFO] Kylin:Query ........................................ SUCCESS [ 0.005 s] [INFO] Kylin:RESTServer ................................... SUCCESS [ 1.044 s] [INFO] Kylin:Jdbc ......................................... SUCCESS [ 0.003 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.699 s [INFO] Finished at: 2015-02-02T20:50:26+08:00 [INFO] Final Memory: 11M/607M [INFO] ------------------------------------------------------------------------ [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.kylinolap:kylin-server:war:0.6.4-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ com.kylinolap:kylin-server:[unknown-version], /opt/Kylin/server/pom.xml, line 365, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Kylin:HadoopOLAPEngine [INFO] Kylin:AtopCalcite [INFO] Kylin:Common [INFO] Kylin:Metadata [INFO] Kylin:Dictionary [INFO] Kylin:Cube [INFO] Kylin:Job [INFO] Kylin:Storage [INFO] Kylin:Query [INFO] Kylin:RESTServer [INFO] Kylin:Jdbc [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:HadoopOLAPEngine 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.2:install (default-install) @ kylin --- [INFO] Installing /opt/Kylin/pom.xml to /opt/mvnrepo/com/kylinolap/kylin/0.6.4-SNAPSHOT/kylin-0.6.4-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Kylin:AtopCalcite 0.6.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [ 0.264 s] [INFO] Kylin:AtopCalcite .................................. FAILURE [ 0.777 s] [INFO] Kylin:Common ....................................... SKIPPED [INFO] Kylin:Metadata ..................................... SKIPPED [INFO] Kylin:Dictionary ................................... SKIPPED [INFO] Kylin:Cube ......................................... SKIPPED [INFO] Kylin:Job .......................................... SKIPPED [INFO] Kylin:Storage ...................................... SKIPPED [INFO] Kylin:Query ........................................ SKIPPED [INFO] Kylin:RESTServer ................................... SKIPPED [INFO] Kylin:Jdbc ......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.455 s [INFO] Finished at: 2015-02-02T20:50:30+08:00 [INFO] Final Memory: 19M/481M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException ERROR exit from ./sandbox_deploy.sh : line 4 with exit code 1 linux:/opt/Kylin # Regards, Santosh Akhilesh Bangalore R&D HUAWEI TECHNOLOGIES CO.,LTD. www.huawei.com ------------------------------------------------------------------------------------------------------------------------------------- This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ________________________________________ From: Zhou, Qianhao [[email protected]] Sent: Monday, February 02, 2015 12:15 PM To: [email protected] Subject: Re: About building and deploying Kylinn Can you just setup a bridge for your Linux box, so that it could access the internet through that bridges? Also we are working on a all-in-one package that you could run with. If you have any suggestions in that, it will be very welcomed 2015年2月2日 下午2:17于 Santoshakhilesh <[email protected]>写道: Hi All , My linux box is on restricted network and I cant access internet. I had downloaded all the dependent software (hadoop , hbase , hive , tomcat , maven , npm etc..) and put on linux box. Once I run the sanbox_deploy.sh , it passes the initial checks but I think while calling package.sh it fails with following error. Is it because mvn try to download some dependencies from internet ? Is there anyway I can download from my windows machine and put on linux box and continue to build and deploy , anyone can give me sugegstion how to do this ? [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException Regards, Santosh Akhilesh Bangalore R&D HUAWEI TECHNOLOGIES CO.,LTD. www.huawei.com<http://www.huawei.com> ------------------------------------------------------------------------------------------------------------------------------------- This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
