Hi, This turned out to be a temporary glitch with mapr's repository. Now, I ran a make clean; make all successfully.
Gunnar -----Original Message----- From: Roberta Marton [mailto:[email protected]] Sent: Friday, November 6, 2015 4:09 PM To: [email protected] Subject: RE: Build error I assume that you exported TOOLSDIR before sourcing in .env.sh. You would have seen different build errors. One other thing to check. The env.h script eventually sources in sqenvcom.sh. This is the script that does the real work. There is a check that looks for a mapr environment. Could you have mapr set up in your environment? elif [[ -d /opt/mapr ]]; then Roberta -----Original Message----- From: Gunnar Tapper [mailto:[email protected]] Sent: Friday, November 6, 2015 2:58 PM To: [email protected] Subject: Re: Build error Hi, Yes, I think I did all the prep work. Here's what I have: [gtapper@box01 ~]$ java -version java version "1.7.0_91" OpenJDK Runtime Environment (rhel-2.6.2.2.el6_7-x86_64 u91-b00) OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode) [gtapper@box01 ~]$ echo $JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk.x86_64 [gtapper@box01 ~]$ mvn -version Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 05:51:28-0800) Maven home: /opt/apache-maven-3.0.5 Java version: 1.7.0_91, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.32-504.el6.x86_64", arch: "amd64", family: "unix" [gtapper@box01 ~]$ ls download incubator-trafodion tools [gtapper@box01 ~]$ ls incubator-trafodion/ core dcs DISCLAIMER.txt distribution docs env.sh install LICENSE.txt Makefile NOTICE.txt pom.xml RAT_README.txt README.txt tests win-odbc64 wms [gtapper@box01 ~]$ echo $TOOLSDIR /home/gtapper/tools [gtapper@box01 ~]$ ls $TOOLSDIR apache-maven-3.3.3 bison_3_linux dest-llvm-3.2 dest-mpich-3.0.4 icu4.4 thrift-0.9.0 udis86-1.7.2 zookeeper-3.4.5 Did I miss anything? Thanks, Gunnar On Fri, Nov 6, 2015 at 3:47 PM, Roberta Marton <[email protected]> wrote: > Have you built all your tool dependencies? > From the build page the third step? > > 1. Java version is compatible, it must be 1.7.x. To check your > version, do "java -version". Ensure JAVA_HOME environment variable > exists and set to your JDK installation. > For example: export > JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91.x86_64 > 2. Verify that Trafodion source is downloaded and un-tarred, or > cloned from github. If not, download it at this time. > 3. Download, build and install additional development tools via > Additional Build Tools. > 4. Maven version 3.0.5 or greater is installed and part of your path. > To check your version, do "mvn --version". > > -----Original Message----- > From: Gunnar Tapper [mailto:[email protected]] > Sent: Friday, November 6, 2015 2:41 PM > To: [email protected] > Subject: Re: Build error > > > > 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/DependencyResolutionE > xception > ##(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.ca > t > ... > ##(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=613 > > 16 > > 378 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=606 > > 23 > > 593 > > > > 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 > > .x > > ml > > [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/MojoExecutionExcept > > io > > n > > [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.s > > + o > > 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.s > > o > > 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.l > > og > > 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.s > > + o > > 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. > -- Thank you, Gunnar Tapper Presales Manager Esgyn Corp.
