Closed myeggo closed 6 years ago
More error information in TEST-com.esri.json.hadoop.TestUnenclosedEsriJsonRecordMrv1.xml
The right error information in TEST-com.esri.json.hadoop.TestUnenclosedEsriJsonRecordMrv1.xml as following
For me on CentOS-6.7, mvn clean package
passed all tests with Java 1.7.0.95 and Maven 3.3.3
In pom.xml
did you change anything about:
<java.source.version>1.6</java.source.version>
<java.target.version>1.6</java.target.version>
Are you using Esri JSON format and MapRed API v1? If not you could build with mvn package -DskipTests
.
Yes, I did change it to 1.7 but still getting the same error.
From: Randall Whitman [mailto:notifications@github.com] Sent: Wednesday, November 16, 2016 7:18 PM To: Esri/spatial-framework-for-hadoop spatial-framework-for-hadoop@noreply.github.com Cc: Garry Chen gc92@cornell.edu; Author author@noreply.github.com Subject: Re: [Esri/spatial-framework-for-hadoop] mvn package filed (#117)
In pom.xml did you change anything about:
<java.source.version>1.6</java.source.version>
<java.target.version>1.6</java.target.version>
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Esri/spatial-framework-for-hadoop/issues/117#issuecomment-261115488, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUPJEltYpkDecQUVH1LgsaNdDFtYg8j9ks5q-51JgaJpZM4K0ads.
Yes, I need to use JSON format because all my spatial data will be in JSON format.
From: Randall Whitman [mailto:notifications@github.com] Sent: Wednesday, November 16, 2016 7:28 PM To: Esri/spatial-framework-for-hadoop spatial-framework-for-hadoop@noreply.github.com Cc: Garry Chen gc92@cornell.edu; Author author@noreply.github.com Subject: Re: [Esri/spatial-framework-for-hadoop] mvn package - error in JSON tests (#117)
Are you using Esri JSON format and MapRed API v1? If not you could build with mvn package -DskipTests.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Esri/spatial-framework-for-hadoop/issues/117#issuecomment-261117206, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUPJEr3Cwn0ixYX1gHS2JzytVTiIGupsks5q-5-sgaJpZM4K0ads.
I built successfully with no change to pom.xml
.
Is building from source a requirement for you? We now have pre-built release v1.2.0.
Please help. when mvn package on spatial-framework-for-hadoop failed on Spatial JSON Utilities and I am using mvn 3.3.9 Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00) Maven home: /usr/share/apache-maven Java version: 1.7.0_121, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre Default locale: en_US, platform encoding: ISO-8859-1 OS name: "linux", version: "2.6.32-642.1.1.el6.x86_64", arch: "amd64", family: "unix"
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Spatial Framework for Hadoop ....................... SUCCESS [ 1.423 s] [INFO] Hive Spatial Framework ............................. SUCCESS [ 37.010 s] [INFO] Spatial JSON Utilities ............................. FAILURE [ 3.630 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42.244 s [INFO] Finished at: 2016-11-16T15:11:00-05:00 [INFO] Final Memory: 47M/501M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project spatial-sdk-json: There are test failures. [ERROR] [ERROR] Please refer to /opt/gis_tools/spatial-framework-for-hadoop-master/json/target/surefire-reports for the individual test results. [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :spatial-sdk-json