hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13888) hadoop 3.0.0 alpha1 application software compile problem
Date Mon, 12 Dec 2016 13:35:58 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741906#comment-15741906
] 

Steve Loughran commented on HADOOP-13888:
-----------------------------------------

Actually I suspect it's been caused by HADOOP-10105, which is an attempt to purge all httpclient
dependencies.

[~gehaijiang]: we have cut out {{httpclient}} dependencies from all our code, moving on to
{{httpcore}}. This is a good thing. It's better, its maintained, and its generally not hard
to move.

You should really move to it yourself. Short term, add a dependency on the it yourself. This
is the version in Hadoop 2.8:

{code}
      <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>4.5.2</version>
      </dependency>
{code}

> hadoop 3.0.0 alpha1  application software compile problem
> ---------------------------------------------------------
>
>                 Key: HADOOP-13888
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13888
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: gehaijiang
>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[3,37]
package org.apache.commons.httpclient does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[4,37]
package org.apache.commons.httpclient does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[5,45]
package org.apache.commons.httpclient.methods does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[6,45]
package org.apache.commons.httpclient.methods does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[31,7]
cannot find symbol
>   symbol:   class HttpClient
>   location: class com.mogujie.test.s3.user.UserTest
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[31,35]
cannot find symbol
>   symbol:   class HttpClient
>   location: class com.mogujie.test.s3.user.UserTest
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[32,7]
cannot find symbol
>   symbol:   class PutMethod
>   location: class com.mogujie.test.s3.user.UserTest
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[32,30]
cannot find symbol
>   symbol:   class PutMethod
>   location: class com.mogujie.test.s3.user.UserTest
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[33,25]
cannot find symbol
>   symbol:   class URI
>   location: class com.mogujie.test.s3.user.UserTest
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[34,35]
cannot find symbol
>   symbol:   class StringRequestEntity
>   location: class com.mogujie.test.s3.user.UserTest
> [INFO] 10 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11.571 s
> [INFO] Finished at: 2016-12-10T20:25:07+08:00
> [INFO] Final Memory: 28M/70M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
(default-testCompile) on project mogu-oss: Compilation failure: Compilation failure:
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[3,37]
package org.apache.commons.httpclient does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[4,37]
package org.apache.commons.httpclient does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[5,45]
package org.apache.commons.httpclient.methods does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[6,45]
package org.apache.commons.httpclient.methods does not exist
> [ERROR] /home/data/mogu-oss/src/test/java/com/mogujie/test/s3/user/UserTest.java:[31,7]
cannot find symbol
> [ERROR] symbol:   class HttpClient



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message