Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12868

Fix hadoop-openstack undeclared and unused dependencies

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: tools
    • Labels:
      None

      Description

      Attempting to compile openstack on a fairly fresh maven repo fails due to commons-httpclient not being a declared dependency. After that is fixed, doing a maven dependency:analyze shows other problems.

        Issue Links

          Activity

          Hide
          andrew.wang Andrew Wang added a comment -

          Committed to trunk, branch-2, branch-2.8. Thanks for the patch Masatake Iwasaki!

          Show
          andrew.wang Andrew Wang added a comment - Committed to trunk, branch-2, branch-2.8. Thanks for the patch Masatake Iwasaki !
          Hide
          andrew.wang Andrew Wang added a comment -

          LGTM +1 then, thanks for working on this Masatake Iwasaki.

          Show
          andrew.wang Andrew Wang added a comment - LGTM +1 then, thanks for working on this Masatake Iwasaki .
          Hide
          iwasakims Masatake Iwasaki added a comment -

          Thanks for the comment, Andrew Wang. I think I have run mvn dependency:analyze -Ptests-on before I posted the patch since tests are disabled by default in hadoop-openstack..

          It is not unused dependency even in today's trunk because mvn test-compile -Ptests-on failed without the dependency on hadoop-common:test-jar.

          Show
          iwasakims Masatake Iwasaki added a comment - Thanks for the comment, Andrew Wang . I think I have run mvn dependency:analyze -Ptests-on before I posted the patch since tests are disabled by default in hadoop-openstack.. It is not unused dependency even in today's trunk because mvn test-compile -Ptests-on failed without the dependency on hadoop-common:test-jar.
          Hide
          andrew.wang Andrew Wang added a comment -

          LGTM, though I'll note that my mvn dependency:analyze run also shows an unused hadoop-common:test-jar dependency:

          [WARNING] Used undeclared dependencies found:
          [WARNING]    org.apache.hadoop:hadoop-annotations:jar:2.9.0-SNAPSHOT:compile
          [WARNING]    commons-logging:commons-logging:jar:1.1.3:compile
          [WARNING] Unused declared dependencies found:
          [WARNING]    org.apache.hadoop:hadoop-common:test-jar:tests:2.9.0-SNAPSHOT:compile
          [WARNING]    commons-io:commons-io:jar:2.4:compile
          [WARNING]    org.mockito:mockito-all:jar:1.8.5:provided
          [WARNING]    com.google.guava:guava:jar:11.0.2:test
          

          Is this my env? I don't see any commits to hadoop-openstack between your comment and my run, so not sure why this would have changed.

          FWIW I removed this dep and was still able to build successfully in the hadoop-openstack dir.

          Show
          andrew.wang Andrew Wang added a comment - LGTM, though I'll note that my mvn dependency:analyze run also shows an unused hadoop-common:test-jar dependency: [WARNING] Used undeclared dependencies found: [WARNING] org.apache.hadoop:hadoop-annotations:jar:2.9.0-SNAPSHOT:compile [WARNING] commons-logging:commons-logging:jar:1.1.3:compile [WARNING] Unused declared dependencies found: [WARNING] org.apache.hadoop:hadoop-common:test-jar:tests:2.9.0-SNAPSHOT:compile [WARNING] commons-io:commons-io:jar:2.4:compile [WARNING] org.mockito:mockito-all:jar:1.8.5:provided [WARNING] com.google.guava:guava:jar:11.0.2:test Is this my env? I don't see any commits to hadoop-openstack between your comment and my run, so not sure why this would have changed. FWIW I removed this dep and was still able to build successfully in the hadoop-openstack dir.
          Hide
          iwasakims Masatake Iwasaki added a comment -
          [WARNING] Used undeclared dependencies found:
          [WARNING]    commons-logging:commons-logging:jar:1.1.3:compile
          [WARNING]    org.apache.hadoop:hadoop-annotations:jar:3.0.0-SNAPSHOT:compile
          [WARNING] Unused declared dependencies found:
          [WARNING]    commons-io:commons-io:jar:2.4:compile
          [WARNING]    org.mockito:mockito-all:jar:1.8.5:provided
          [WARNING]    com.google.guava:guava:jar:11.0.2:test
          

          I attached a patch to fix issues reported by mvn dependency:analyze.

          Show
          iwasakims Masatake Iwasaki added a comment - [WARNING] Used undeclared dependencies found: [WARNING] commons-logging:commons-logging:jar:1.1.3:compile [WARNING] org.apache.hadoop:hadoop-annotations:jar:3.0.0-SNAPSHOT:compile [WARNING] Unused declared dependencies found: [WARNING] commons-io:commons-io:jar:2.4:compile [WARNING] org.mockito:mockito-all:jar:1.8.5:provided [WARNING] com.google.guava:guava:jar:11.0.2:test I attached a patch to fix issues reported by mvn dependency:analyze .
          Hide
          iwasakims Masatake Iwasaki added a comment -

          Dependency on commons-httpclient was not removed but added to hadoop-openstack/pom.xml by HADOOP-12552. Applying the patch of HADOOP-12857 results in duplicate entry of commons-httpclient.

          I tried to build trunk after removing ~/.m2/repository but I could not reproduce the issue. My guess is that hadoop-openstack before HADOOP-12552 was compiled against published hadoop-common-3.0.0-SNAPSHOT after HADOOP-12552. There is no declared dependency on commons-httpclient in both hadoop-common and hadoop-openstack in that case.

          Show
          iwasakims Masatake Iwasaki added a comment - Dependency on commons-httpclient was not removed but added to hadoop-openstack/pom.xml by HADOOP-12552 . Applying the patch of HADOOP-12857 results in duplicate entry of commons-httpclient. I tried to build trunk after removing ~/.m2/repository but I could not reproduce the issue. My guess is that hadoop-openstack before HADOOP-12552 was compiled against published hadoop-common-3.0.0-SNAPSHOT after HADOOP-12552 . There is no declared dependency on commons-httpclient in both hadoop-common and hadoop-openstack in that case.
          Hide
          aw Allen Wittenauer added a comment -

          I'm putting commons-httpclient back in via HADOOP-12857 . It's clearly being used, so I'm not sure why it was removed to begin with.

          Show
          aw Allen Wittenauer added a comment - I'm putting commons-httpclient back in via HADOOP-12857 . It's clearly being used, so I'm not sure why it was removed to begin with.
          Hide
          aw Allen Wittenauer added a comment -

          Here's the compile errors without commons-httpclient:

          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-openstack: Compilation failure: Compilation failure:
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftBadRequestException.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftInvalidResponseException.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftBadRequestException.java:[34,35] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftBadRequestException
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftInvalidResponseException.java:[51,40] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[20,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[22,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[23,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[24,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[25,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[26,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[27,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[28,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[29,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[30,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[31,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[32,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[33,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[34,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[35,44] package org.apache.commons.httpclient.params does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[36,44] package org.apache.commons.httpclient.params does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[79,44] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[194,10] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[254,11] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[104,23] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[659,40] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[675,41] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[756,43] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[814,46] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[854,53] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[902,35] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[934,28] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[967,53] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[995,37] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[993,10] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1024,53] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1204,11] cannot find symbol
          [ERROR] symbol:   class StringRequestEntity
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1317,22] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[276,63] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1344,22] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1412,22] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1501,54] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1541,18] cannot find symbol
          [ERROR] symbol:   class StringRequestEntity
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1612,27] cannot find symbol
          [ERROR] symbol:   class HttpMethodBase
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1612,50] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1628,29] cannot find symbol
          [ERROR] symbol:   class HttpMethodBase
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1643,22] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1700,22] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1701,58] cannot find symbol
          [ERROR] symbol:   class HttpClient
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/HttpInputStreamWithRelease.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/HttpInputStreamWithRelease.java:[49,11] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/HttpInputStreamWithRelease.java:[67,46] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftThrottledRequestException.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftThrottledRequestException.java:[34,41] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftThrottledRequestException
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftAuthenticationFailedException.java:[21,37] package org.apache.commons.httpclient does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftAuthenticationFailedException.java:[40,45] cannot find symbol
          [ERROR] symbol:   class HttpMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftAuthenticationFailedException
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/CopyMethod.java:[21,45] package org.apache.commons.httpclient.methods does not exist
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/CopyMethod.java:[28,26] cannot find symbol
          [ERROR] symbol: class EntityEnclosingMethod
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[318,83] cannot find symbol
          [ERROR] symbol:   class GetMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[320,21] cannot find symbol
          [ERROR] symbol:   class GetMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.GetMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[330,47] cannot find symbol
          [ERROR] symbol:   class PostMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[350,83] cannot find symbol
          [ERROR] symbol:   class PutMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[352,21] cannot find symbol
          [ERROR] symbol:   class PutMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[400,86] cannot find symbol
          [ERROR] symbol:   class DeleteMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[402,21] cannot find symbol
          [ERROR] symbol:   class DeleteMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[417,84] cannot find symbol
          [ERROR] symbol:   class HeadMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[419,21] cannot find symbol
          [ERROR] symbol:   class HeadMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HeadMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[170,17] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[213,11] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[222,10] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[256,5] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[328,32] cannot find symbol
          [ERROR] symbol:   variable HttpStatus
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[507,7] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[105,15] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[309,15] cannot find symbol
          [ERROR] symbol:   variable SC_OK
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[310,15] cannot find symbol
          [ERROR] symbol:   variable SC_CREATED
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[311,15] cannot find symbol
          [ERROR] symbol:   variable SC_ACCEPTED
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[312,15] cannot find symbol
          [ERROR] symbol:   variable SC_NO_CONTENT
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[313,15] cannot find symbol
          [ERROR] symbol:   variable SC_PARTIAL_CONTENT
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[321,18] cannot find symbol
          [ERROR] symbol:   class GetMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.GetMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[353,18] cannot find symbol
          [ERROR] symbol:   class PutMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[364,15] cannot find symbol
          [ERROR] symbol:   variable SC_OK
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[365,15] cannot find symbol
          [ERROR] symbol:   variable SC_CREATED
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[366,15] cannot find symbol
          [ERROR] symbol:   variable SC_NO_CONTENT
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[367,15] cannot find symbol
          [ERROR] symbol:   variable SC_ACCEPTED
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[390,15] cannot find symbol
          [ERROR] symbol:   variable SC_CREATED
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.CopyMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[403,18] cannot find symbol
          [ERROR] symbol:   class DeleteMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[409,15] cannot find symbol
          [ERROR] symbol:   variable SC_OK
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[410,15] cannot find symbol
          [ERROR] symbol:   variable SC_ACCEPTED
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[411,15] cannot find symbol
          [ERROR] symbol:   variable SC_NO_CONTENT
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[412,15] cannot find symbol
          [ERROR] symbol:   variable SC_NOT_FOUND
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[420,18] cannot find symbol
          [ERROR] symbol:   class HeadMethod
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HeadMethodProcessor<R>
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[609,24] cannot find symbol
          [ERROR] symbol:   class Header
          [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[625,33] cannot find symbol
          [ERROR] symbol: class HeadMethod
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[630,28] cannot find symbol
          [ERROR] symbol: class HeadMethod
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[623,19] incompatible types; no instance(s) of type variable(s) M exist so that java.lang.Long conforms to long
          [ERROR] required: long
          [ERROR] found:    <M>java.lang.Long
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[694,45] cannot find symbol
          [ERROR] symbol: class GetMethod
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[711,43] cannot find symbol
          [ERROR] symbol: class GetMethod
          [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[687,21] cannot find symbol
          [ERROR] symbol: variable SC_OK
          
          Show
          aw Allen Wittenauer added a comment - Here's the compile errors without commons-httpclient: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile ( default -compile) on project hadoop-openstack: Compilation failure: Compilation failure: [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftBadRequestException.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftInvalidResponseException.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftBadRequestException.java:[34,35] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftBadRequestException [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftInvalidResponseException.java:[51,40] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[20,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[22,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[23,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[24,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[25,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[26,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[27,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[28,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[29,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[30,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[31,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[32,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[33,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[34,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[35,44] package org.apache.commons.httpclient.params does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[36,44] package org.apache.commons.httpclient.params does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[79,44] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[194,10] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[254,11] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[104,23] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[659,40] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[675,41] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[756,43] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[814,46] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[854,53] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[902,35] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[934,28] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[967,53] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[995,37] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[993,10] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1024,53] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1204,11] cannot find symbol [ERROR] symbol: class StringRequestEntity [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1317,22] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[276,63] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1344,22] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1412,22] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1501,54] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1541,18] cannot find symbol [ERROR] symbol: class StringRequestEntity [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1612,27] cannot find symbol [ERROR] symbol: class HttpMethodBase [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1612,50] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1628,29] cannot find symbol [ERROR] symbol: class HttpMethodBase [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1643,22] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1700,22] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[1701,58] cannot find symbol [ERROR] symbol: class HttpClient [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/HttpInputStreamWithRelease.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/HttpInputStreamWithRelease.java:[49,11] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/HttpInputStreamWithRelease.java:[67,46] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftThrottledRequestException.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftThrottledRequestException.java:[34,41] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftThrottledRequestException [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftAuthenticationFailedException.java:[21,37] package org.apache.commons.httpclient does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/exceptions/SwiftAuthenticationFailedException.java:[40,45] cannot find symbol [ERROR] symbol: class HttpMethod [ERROR] location: class org.apache.hadoop.fs.swift.exceptions.SwiftAuthenticationFailedException [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/CopyMethod.java:[21,45] package org.apache.commons.httpclient.methods does not exist [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/CopyMethod.java:[28,26] cannot find symbol [ERROR] symbol: class EntityEnclosingMethod [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[318,83] cannot find symbol [ERROR] symbol: class GetMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[320,21] cannot find symbol [ERROR] symbol: class GetMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.GetMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[330,47] cannot find symbol [ERROR] symbol: class PostMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[350,83] cannot find symbol [ERROR] symbol: class PutMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[352,21] cannot find symbol [ERROR] symbol: class PutMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[400,86] cannot find symbol [ERROR] symbol: class DeleteMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[402,21] cannot find symbol [ERROR] symbol: class DeleteMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[417,84] cannot find symbol [ERROR] symbol: class HeadMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[419,21] cannot find symbol [ERROR] symbol: class HeadMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HeadMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[170,17] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[213,11] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[222,10] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[256,5] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[328,32] cannot find symbol [ERROR] symbol: variable HttpStatus [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:[507,7] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[105,15] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[309,15] cannot find symbol [ERROR] symbol: variable SC_OK [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[310,15] cannot find symbol [ERROR] symbol: variable SC_CREATED [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[311,15] cannot find symbol [ERROR] symbol: variable SC_ACCEPTED [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[312,15] cannot find symbol [ERROR] symbol: variable SC_NO_CONTENT [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[313,15] cannot find symbol [ERROR] symbol: variable SC_PARTIAL_CONTENT [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HttpMethodProcessor<M,R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[321,18] cannot find symbol [ERROR] symbol: class GetMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.GetMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[353,18] cannot find symbol [ERROR] symbol: class PutMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[364,15] cannot find symbol [ERROR] symbol: variable SC_OK [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[365,15] cannot find symbol [ERROR] symbol: variable SC_CREATED [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[366,15] cannot find symbol [ERROR] symbol: variable SC_NO_CONTENT [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[367,15] cannot find symbol [ERROR] symbol: variable SC_ACCEPTED [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.PutMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[390,15] cannot find symbol [ERROR] symbol: variable SC_CREATED [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.CopyMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[403,18] cannot find symbol [ERROR] symbol: class DeleteMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[409,15] cannot find symbol [ERROR] symbol: variable SC_OK [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[410,15] cannot find symbol [ERROR] symbol: variable SC_ACCEPTED [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[411,15] cannot find symbol [ERROR] symbol: variable SC_NO_CONTENT [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[412,15] cannot find symbol [ERROR] symbol: variable SC_NOT_FOUND [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.DeleteMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[420,18] cannot find symbol [ERROR] symbol: class HeadMethod [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient.HeadMethodProcessor<R> [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[609,24] cannot find symbol [ERROR] symbol: class Header [ERROR] location: class org.apache.hadoop.fs.swift.http.SwiftRestClient [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[625,33] cannot find symbol [ERROR] symbol: class HeadMethod [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[630,28] cannot find symbol [ERROR] symbol: class HeadMethod [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[623,19] incompatible types; no instance(s) of type variable(s) M exist so that java.lang. Long conforms to long [ERROR] required: long [ERROR] found: <M>java.lang. Long [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[694,45] cannot find symbol [ERROR] symbol: class GetMethod [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[711,43] cannot find symbol [ERROR] symbol: class GetMethod [ERROR] /Users/aw/Src/aw/hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:[687,21] cannot find symbol [ERROR] symbol: variable SC_OK
          Hide
          iwasakims Masatake Iwasaki added a comment -

          HADOOP-12552 fixed the dependency on httpclient in hadoop-openstack/pom.xml but there seems to be other problems.

          Show
          iwasakims Masatake Iwasaki added a comment - HADOOP-12552 fixed the dependency on httpclient in hadoop-openstack/pom.xml but there seems to be other problems.

            People

            • Assignee:
              iwasakims Masatake Iwasaki
              Reporter:
              aw Allen Wittenauer
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development