hbsolr编译和bigtomcat编译
来源:互联网 发布:ubuntu如何安装福昕 编辑:程序博客网 时间:2024/05/17 23:57
本周工作内容
1.编译hbase-solor包(已完成)
2.编译bigtop-tomcat包(进行中)
3.编译hue包(进行中)
1.编译hbsolr记录
报错提示
[ERROR] Failed to execute goal on project hbase-indexer-morphlines: Could not resolve dependencie s for project com.ngdata:hbase-indexer-morphlines:jar:1.5-cdh5.8.3: Failure to find ua_parser:ua- parser:jar:1.3.0 in http://lilyproject.org/maven/maven2/deploy/ was cached in the local repositor y, resolution will not be reattempted until the update interval of lilyproject.snapshot has elaps ed or updates are forced -> [Help 1]
789 [ERROR]
790 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
791 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
792 [ERROR]
793 [ERROR] For more information about the errors and possible solutions, please read the following a rticles:
794 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
795 [ERROR]
796 [ERROR] After correcting the problems, you can resume the build with the command
797 [ERROR] mvn -rf :hbase-indexer-morphlines
798 debian/rules:38: recipe for target ‘override_dh_auto_build’ failed
799 make[1]: * [override_dh_auto_build] Error 1
800 make[1]: Leaving directory ‘/packages/hbsolo/hbase-solr-1.5+cdh5.8.3+68’
801 debian/rules:35: recipe for target ‘build’ failed
802 make: * [build] Error 2
803 dpkg-buildpackage: error: debian/rules build gave error exit status 2
Failed to execute goal on project hbase-indexer-common: Could not resolve dependencies for project com.ngdata:hbase-indexer-common:jar:1.5-cdh5.8.3: Failure to find com.ngdata:hbase-sep-impl:jar:1.5-cdh5.8.3-SNAPSHOT in https://repository.cloudera.com/artifactory/repo was cached in the local repository, resolution will not be reattempted until the update interval of cloudera-repo-releases has elapsed or updates are forced -> [Help 1]
Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (rat-check) on project hbase-indexer: Too many unapproved licenses: 14 -> [Help 1]
解决办法
在pom.xml文件中加入下面源
<repository><id>maven.temp-db.com</id><url>http://archiva.wikimedia.org/repository/mirrored/</url></repository><repository> <id>cdh.repo</id> <url>https://repository.cloudera.com/artifactory/cloudera-repos</url> <name>Cloudera Repositories</name> <snapshots> <enabled>false</enabled> </snapshots></repository><repository> <id>cdh.snapshots.repo</id> <url>https://repository.cloudera.com/artifactory/libs-snapshot-local</url> <name>Cloudera Snapshots Repository</name> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases></repository><repository> <id>ngdata.oss-releases</id> <name>NGDATA OSS Releases</name> <url>http://mvnrepo.ngdata.com/content/repositories/oss-releases</url> <snapshots> <enabled>false</enabled> </snapshots></repository>
这个源码包的编译主要是源地址的不匹配造成的
2.编译big-tomcat记录
1.首先解压包
dpkg-source -x bigtop-tomcat_0.7.0+cdh5.8.3+0-1.cdh5.8.3.p0.7.dsccd bigtop-tomcat-0.7.0+cdh5.8.3+0
2.查看ant版本号以及本机是否安装ant
ant -versionaptitude search ant
3.Apache Ant团队目前维持两种开发版本。1.9.x版本在运行时需要Java5,1.10.x在运行时需要Java8.所以你需要把本机的java版本改为与之相对应的,编完之后还要改回来
4.在下面链接下载ant 1.10.1
http://ant.apache.org/bindownload.cgitar -xvJf apache-ant-1.10.1-bin.tar.xzvim ~/.bashrcexport ANT_HOME=/packages/bigtop-tomcat/bigtop-tomcat-0.7.0+cdh5.8.3+0/apach e-ant-1.10.1/export PATH=$ANT_HOME/bin:$PATH
5.在下面链接下载tomcat6.0源码包
http://tomcat.apache.org/download-60.cgitar -xzvf apache-tomcat-6.0.48.tar.gzant downloadant
报错提示
setproxy:[setproxy] Setting proxy to 121.69.130.52 :8080[echo] Using 121.69.130.52 :8080 to download http://mirror.infra.cloudera.com/apache//tomcat/tomcat-connectors/native/1.1.33/source/tomcat-native-1.1.33-src.tar.gz
解决办法
在buid.properties中添加
proxy.host=153.127.253.226 proxy.port=8080proxy.use=onproxy.user=proxy.password=
在build.properties.default中添加
trydownload.retries=3trydownload.httpusecaches=false
- hbsolr编译和bigtomcat编译
- 编译和编译选项
- 一次编译和二次编译
- 静态编译和动态编译
- 关于编译和交叉编译
- 静态编译和动态编译
- 动态编译和静态编译
- jrtplib编译和交叉编译
- 动态编译和静态编译
- 动态编译和静态编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- Android测试工具之强大的adb工具
- nginx配置详细-最全说明
- JS获取鼠标的坐标和滚动条的位置
- 排序:冒泡排序(算法)
- iOS基于CoreBlutooth的蓝牙开发
- hbsolr编译和bigtomcat编译
- 第一篇博客
- win7 计划任务 XCOPY命令使用
- opencv学习笔记--Laplace算子
- SpringBoot-Websocket
- BeautifulSoup学习笔记1
- 同一元素上,通过v-on绑定多个相同事件的函数
- kotlin 的配置及使用
- boost库介绍