Hi, I installed the dependencies per the wiki documentation. Now, I encountered:
[INFO] ------------------------------------------------------------------------ ##(SQF) [INFO] BUILD FAILURE ##(SQF) [INFO] ------------------------------------------------------------------------ ##(SQF) [INFO] Total time: 53.388s ##(SQF) [INFO] Finished at: Fri Nov 06 14:34:49 PST 2015 ##(SQF) [INFO] Final Memory: 13M/208M ##(SQF) [INFO] ------------------------------------------------------------------------ ##(SQF) [ERROR] Failed to execute goal on project hbase-trx-mapr4_0: Could not resolve dependencies for project org.apache:hbase-trx-mapr4_0:jar:2.0.0: Failed to collect dependencies for [org.apache.hbase:hbase-common:jar:0.98.7-mapr-1501-r1 (compile), org.apache.hbase:hbase-protocol:jar:0.98.7-mapr-1501-r1 (compile), org.apache.hbase:hbase-client:jar:0.98.7-mapr-1501-r1 (compile), org.apache.hbase:hbase-server:jar:0.98.7-mapr-1501-r1 (compile), org.apache.hbase:hbase-thrift:jar:0.98.7-mapr-1501-r1 (compile), org.apache.hbase:hbase-testing-util:jar:0.98.7-mapr-1501-r1 (test), org.apache.thrift:libthrift:jar:0.9.1 (compile), commons-logging:commons-logging:jar:1.1.3 (compile), org.apache.zookeeper:zookeeper:jar:3.4.5 (compile), com.google.protobuf:protobuf-java:jar:2.5.0 (compile), org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.5.0 (compile), org.apache.hadoop:hadoop-common:jar:2.5.0 (compile)]: Failed to read artifact descriptor for org.apache.hadoop:hadoop-auth:jar:2.4.1-mapr-1408: Could not transfer artifact org.apache.hadoop:hadoop-auth:pom:2.4.1-mapr-1408 from/to mapr release ( http://repository.mapr.com/maven): repository.mapr.com: Temporary failure in name resolution: Unknown host repository.mapr.com: Temporary failure in name resolution -> [Help 1] ##(SQF) [ERROR] ##(SQF) [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. ##(SQF) [ERROR] Re-run Maven using the -X switch to enable full debug logging. ##(SQF) [ERROR] ##(SQF) [ERROR] For more information about the errors and possible solutions, please read the following articles: ##(SQF) [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException ##(SQF) make[4]: *** [jdk_1_7_mapr] Error 1 ##(SQF) make[4]: Leaving directory `/home/gtapper/incubator-trafodion/core/sqf/src/seatrans/hbase-trx' ##(SQF) make[3]: *** [cp_trx_jar] Error 2 ##(SQF) make[3]: Leaving directory `/home/gtapper/incubator-trafodion/core/sqf/src/tm' ##(SQF) make[2]: *** [tm] Error 2 make[2]: *** Waiting for unfinished jobs.... [INFO] Building trafodion-sql 2.0.0 ##(SQL) [INFO] Building jar: /home/gtapper/incubator-trafodion/core/sql/target/trafodion-sql-2.0.0.jar ##(SQL) [INFO] BUILD SUCCESS ##(SQL) cp -pf ../target/trafodion-sql-*.jar /home/gtapper/incubator-trafodion/core/sqf/export/lib ##(SQL) make[4]: Leaving directory `/home/gtapper/incubator-trafodion/core/sql/nskgmake' ##(SQL) make[3]: Leaving directory `/home/gtapper/incubator-trafodion/core/sqf/sql' ##(SQL) cd /home/gtapper/incubator-trafodion/core/sqf/sql/scripts && ./makemsg.ksh 2>&1 | sed -e "s/$/ ##(SQL)/" ; exit ${PIPESTATUS[0]} generating sql message catalog: /home/gtapper/incubator-trafodion/core/sqf/export/bin64d/mxcierrors.cat ... ##(SQL) make[2]: Leaving directory `/home/gtapper/incubator-trafodion/core/sqf' make[1]: *** [foundation] Error 2 make[1]: Leaving directory `/home/gtapper/incubator-trafodion/core' make: *** [all] Error 2 I guess the MapR repository is down? Thanks, Gunnar On Fri, Nov 6, 2015 at 3:17 PM, Roberta Marton <[email protected]> wrote: > From: > > Cannot run program "cmake" (in directory > > "/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/target/native"): > error=2, No such file or directory > > it looks like you are missing cmake. It should have been downloaded as > part > of the yum installs as described on the build page. Where are you running? > > List of Yum installs is described: > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61316378 > which is pointed to by the directory you specified. > > Roberta > > -----Original Message----- > From: Gunnar Tapper [mailto:[email protected]] > Sent: Friday, November 6, 2015 12:28 PM > To: [email protected] > Subject: Build error > > Hi, > > I just downloaded the code per these instructions: > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=60623593 > > Running a make all ends with the following errors: > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9:13.585s > [INFO] Finished at: Fri Nov 06 12:23:00 PST 2015 [INFO] Final Memory: > 60M/368M [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project > hadoop-common: An Ant BuildException has occured: Execute failed: > java.io.IOException: Cannot run program "cmake" (in directory > > "/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/target/native"): > error=2, No such file or directory > [ERROR] around Ant part ...<exec > > dir="/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/target/native" > executable="cmake" failonerror="true">... @ 4:181 in > > /home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml > [ERROR] -> [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/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :hadoop-common > Copying include file and built libraries to Trafodion export dir... > + cp -f > > /home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-dist/target/hadoop-2.6.0/include/hdfs.h > /home/gtapper/incubator-trafodion/core/sqf/export/include > cp: cannot stat > > `/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-dist/target/hadoop-2.6.0/include/hdfs.h': > No such file or directory > + cp -Pf > > '/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-dist/target/hadoop-2.6.0/lib/native/libhdfs*.so*' > /home/gtapper/incubator-trafodion/core/sqf/export/lib64d > cp: cannot stat > > `/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-dist/target/hadoop-2.6.0/lib/native/libhdfs*.so*': > No such file or directory > + cp -Pf > > '/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-dist/target/hadoop-2.6.0/lib/native/libhadoop*.so*' > /home/gtapper/incubator-trafodion/core/sqf/export/lib64d > cp: cannot stat > > `/home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/hadoop-2.6.0-src/hadoop-dist/target/hadoop-2.6.0/lib/native/libhadoop*.so*': > No such file or directory > + ls -l /home/gtapper/incubator-trafodion/core/sqf/export/include/hdfs.h > ls: cannot access > /home/gtapper/incubator-trafodion/core/sqf/export/include/hdfs.h: No such > file or directory > + ls -l > + /home/gtapper/incubator-trafodion/core/sqf/export/lib64d/libhdfs.so > ls: cannot access > /home/gtapper/incubator-trafodion/core/sqf/export/lib64d/libhdfs.so: No > such > file or directory > + ls -l > /home/gtapper/incubator-trafodion/core/sqf/export/lib64d/libhadoop.so > ls: cannot access > /home/gtapper/incubator-trafodion/core/sqf/export/lib64d/libhadoop.so: No > such file or directory > + [[ ! -r > + /home/gtapper/incubator-trafodion/core/sqf/export/include/hdfs.h > ]] > + echo 'Error, not all files were created' > + tee -a > /home/gtapper/incubator-trafodion/core/sqf/sql/libhdfs_files/build.log > Error, not all files were created > + ls -l /home/gtapper/incubator-trafodion/core/sqf/export/include/hdfs.h > ls: cannot access > /home/gtapper/incubator-trafodion/core/sqf/export/include/hdfs.h: No such > file or directory > + ls -l > + /home/gtapper/incubator-trafodion/core/sqf/export/lib64d/libhdfs.so > ls: cannot access > /home/gtapper/incubator-trafodion/core/sqf/export/lib64d/libhdfs.so: No > such > file or directory > + exit 1 > make[3]: *** [copytoolslibs] Error 1 > make[3]: Leaving directory > `/home/gtapper/incubator-trafodion/core/sql/nskgmake' > make[2]: *** [setup] Error 2 > make[2]: Leaving directory `/home/gtapper/incubator-trafodion/core/sqf/sql' > make[1]: *** [setupdir] Error 2 > make[1]: Leaving directory `/home/gtapper/incubator-trafodion/core/sqf' > make: *** [sqroot] Error 2 > > Is this a know issue or should I open a Jira? > > -- > Thanks, > > Gunnar > *If you think you can you can, if you think you can't you're right.* > -- Thank you, Gunnar Tapper Presales Manager Esgyn Corp.
