我正在从source构建apache drill 1.1.0。我收到以下错误:
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Drill Root POM ............................. SUCCESS [8.234s]
[INFO] Drill Protocol .................................... SUCCESS [6.639s]
[INFO] Common (Logical Plan, Base expressions) ........... SUCCESS [50.152s]
[INFO] contrib/Parent Pom ................................ SUCCESS [0.717s]
[INFO] contrib/data/Parent Pom ........................... SUCCESS [0.365s]
[INFO] contrib/data/tpch-sample-data ..................... SUCCESS [4.968s]
[INFO] exec/Parent Pom ................................... SUCCESS [0.545s]
[INFO] exec/Java Execution Engine ........................ FAILURE [38.896s]
[INFO] exec/JDBC Driver using dependencies ............... SKIPPED
[INFO] JDBC JAR with all dependencies .................... SKIPPED
[INFO] contrib/mongo-storage-plugin ...................... SKIPPED
[INFO] contrib/hbase-storage-plugin ...................... SKIPPED
[INFO] contrib/hive-storage-plugin/Parent Pom ............ SKIPPED
[INFO] contrib/hive-storage-plugin/hive-exec-shaded ...... SKIPPED
[INFO] contrib/hive-storage-plugin/core .................. SKIPPED
[INFO] Packaging and Distribution Assembly ............... SKIPPED
[INFO] contrib/sqlline ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:51.105s
[INFO] Finished at: Mon Aug 10 07:24:19 IST 2015
[INFO] Final Memory: 67M/325M
[INFO] ------------------------------------------------------------------------
[错误]无法在项目drill-java-exec上执行目标:无法执行 解决项目的依赖关系 org.apache.drill.exec:drill-java-exec:jar:1.2.0-SNAPSHOT:无法 转移神器net.hydromatic:foodmart-data-json:jar:0.4 from / to central(http://repo.maven.apache.org/maven2):GET请求: net / hydromatic / foodmart-data-json / 0.4 / foodmart-data-json-0.4.jar来自 中央失败:Content-Length分隔邮件正文的过早结束 (预期:18196233;收到:17400 - > [帮助1]
修改
我检查了.m2/repository
中的jar。它包含foodmart-data-json-0.4.jar.lastUpdated
,foodmart-data-json-0.4.pom.lastUpdated
,foodmart-data-json-0.4.pom
,foodmart-data-json-0.4.pom.sha1
,_maven.repositories
。当我在文本编辑器中打开foodmart-data-json-0.4.jar.lastUpdated
时。我找到了:
#NOTE: This is an internal implementation file, its format can be changed without prior notice.
#Mon Aug 10 08:44:18 IST 2015
http\://repository.mapr.com/nexus/content/repositories/drill/.lastUpdated=1439176430716
default-http\://repo.maven.apache.org/maven2/.lastUpdated=1439176458509
http\://conjars.org/repo/.lastUpdated=1439176430238
http\://repository.mapr.com/nexus/content/repositories/drill/.error=
http\://repo.maven.apache.org/maven2/.error=Could not transfer artifact net.hydromatic\:foodmart-data-json\:jar\:0.4 from/to central (http\://repo.maven.apache.org/maven2)\: GET request of\: net/hydromatic/foodmart-data-json/0.4/foodmart-data-json-0.4.jar from central failed
http\://conjars.org/repo/.error=
如何解决此错误?