[ https://issues.apache.org/jira/browse/HDFS-11596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949850#comment-15949850 ]
Andrew Wang commented on HDFS-11596: ------------------------------------ Hi [~yuanbo] thanks for working on this! I ran {{mvn clean package -DskipTests -Pdist -Dmaven.javadoc.skip}} and looked in {{hadoop-dist/target/hadoop-*}} to test your patch. It looks like the hdfs client jar is still in the lib directory: {noformat} -> % find . -name "hadoop-hdfs-client*.jar" ./share/hadoop/hdfs/lib/hadoop-hdfs-client-3.0.0-alpha3-SNAPSHOT.jar {noformat} Looks like the source and test jars are also missing. Would appreciate if you also tried running HttpFS from a tarball, to make sure it still works okay without the hadoop-hdfs-client JAR in its lib directory. bq. With this patch, the hadoop-client jar is much smaller because the dependency jars are outputed into share/hadoop/hdfs/lib instead of hadoop-client jar. I didn't see any size difference in the shaded hadoop-client-* or hadoop-hdfs-client jars, could you elaborate on this? > hadoop-hdfs-client jar is in the wrong directory in release tarball > ------------------------------------------------------------------- > > Key: HDFS-11596 > URL: https://issues.apache.org/jira/browse/HDFS-11596 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Affects Versions: 2.8.0, 3.0.0-alpha2 > Reporter: Andrew Wang > Assignee: Yuanbo Liu > Priority: Critical > Attachments: HDFS-11596.001.patch > > > Mentioned by [~aw] on HDFS-11356. The hdfs-client jar is in the lib directory > rather than with the other hadoop jars: > From the alpha2 artifacts: > {noformat} > -> % 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 > {noformat} > Strangely enough, the tests jar is in the right place. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org