hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14857) downstream client artifact IT fails
Date Mon, 11 Sep 2017 21:50:00 GMT

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

Andrew Wang commented on HADOOP-14857:
--------------------------------------

I was going to review this, but my shading build fails locally with a bunch of conflicts when
building the shaded minicluster on org.apache.hadoop classes, e.g.

{noformat}
-> % mvn clean package install -DskipTests 
....
[WARNING] hadoop-client-minicluster-3.1.0-SNAPSHOT.jar, hadoop-yarn-server-web-proxy-3.1.0-SNAPSHOT.jar
define 18 overlapping classes: 
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.ProxyUriUtils
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.ProxyUtils$Page
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.ProxyUtils$__
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpServletRequestWrapper
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.AppReportFetcher$AppReportSource
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.amfilter.AmFilterInitializer
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.WebAppProxyServlet$1
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpPrincipal
[WARNING]   - org.apache.hadoop.yarn.server.webproxy.ProxyUtils
{noformat}

Any ideas?

> downstream client artifact IT fails
> -----------------------------------
>
>                 Key: HADOOP-14857
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14857
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>         Attachments: HADOOP-18457.0.patch
>
>
> HADOOP-11804 added an IT to make sure downstreamers can use our client artifacts post-shading.
it is currently broken: 
> {code} useWebHDFS(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 6.776 sec
 <<< ERROR!
> java.lang.NullPointerException: null
>         at org.apache.hadoop.example.ITUseMiniCluster.clusterDown(ITUseMiniCluster.java:80)
> useHdfsFileSystem(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 2.954 sec
 <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/org/mockito/stubbing/Answer
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.shouldWait(MiniDFSCluster.java:2668)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:2564)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:2607)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:1667)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:874)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:494)
>         at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:453)
>         at org.apache.hadoop.example.ITUseMiniCluster.clusterUp(ITUseMiniCluster.java:74)
> useHdfsFileSystem(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 2.954 sec
 <<< ERROR!
> java.lang.NullPointerException: null
>         at org.apache.hadoop.example.ITUseMiniCluster.clusterDown(ITUseMiniCluster.java:80)
>  {code}
> (edited after I fixed a downed loopback device)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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