Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11596

hadoop-hdfs-client jar is in the wrong directory in release tarball

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: build
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      Hide
      The scope of hadoop-hdfs's dependency on hadoop-hdfs-client has changed from "compile" to "provided". This may affect users who directly consume hadoop-hdfs, which is a private API. These users need to add a new dependency on hadoop-hdfs-client, or better yet, switch from hadoop-hdfs to hadoop-hdfs-client.
      Show
      The scope of hadoop-hdfs's dependency on hadoop-hdfs-client has changed from "compile" to "provided". This may affect users who directly consume hadoop-hdfs, which is a private API. These users need to add a new dependency on hadoop-hdfs-client, or better yet, switch from hadoop-hdfs to hadoop-hdfs-client.

      Description

      Mentioned by Allen Wittenauer on HDFS-11356. The hdfs-client jar is in the lib directory rather than with the other hadoop jars:

      From the alpha2 artifacts:

      -> % find . -name "*hdfs-client*.jar"
      ./share/hadoop/httpfs/tomcat/webapps/webhdfs/WEB-INF/lib/hadoop-hdfs-client-3.0.0-alpha2.jar
      ./share/hadoop/hdfs/sources/hadoop-hdfs-client-3.0.0-alpha2-sources.jar
      ./share/hadoop/hdfs/sources/hadoop-hdfs-client-3.0.0-alpha2-test-sources.jar
      ./share/hadoop/hdfs/lib/hadoop-hdfs-client-3.0.0-alpha2.jar
      ./share/hadoop/hdfs/hadoop-hdfs-client-3.0.0-alpha2-tests.jar
      

      Strangely enough, the tests jar is in the right place.

        Attachments

        1. HDFS-11596.002.patch
          5 kB
          Yuanbo Liu
        2. HDFS-11596.001.patch
          4 kB
          Yuanbo Liu

          Issue Links

            Activity

              People

              • Assignee:
                yuanbo Yuanbo Liu
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: