hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Viswanadham (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-14857) downstream client artifact IT fails
Date Wed, 13 Sep 2017 00:42:00 GMT

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

Bharat Viswanadham edited comment on HADOOP-14857 at 9/13/17 12:41 AM:
-----------------------------------------------------------------------

+1 (non-binding)
[[~andrew.wang] 
I have applied the patch and ran on my mac machine.
Maven version used:3.3.9
What is the error you are facing?

I am able to successfully build.





{noformat}
INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hadoop-client-modules ---
[INFO] 
[INFO] --- maven-site-plugin:3.6:attach-descriptor (attach-descriptor) @ hadoop-client-modules
---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (depcheck) @ hadoop-client-modules ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ hadoop-client-modules ---
[INFO] Installing /Users/bviswanadham/workspace/hadoop-open/hadoop/hadoop-client-modules/pom.xml
to /Users/bviswanadham/.m2/repository/org/apache/hadoop/hadoop-client-modules/3.1.0-SNAPSHOT/hadoop-client-modules-3.1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Hadoop Client Aggregator .................... SUCCESS [  6.428 s]
[INFO] Apache Hadoop Client API ........................... SUCCESS [01:11 min]
[INFO] Apache Hadoop Client Runtime ....................... SUCCESS [01:01 min]
[INFO] Apache Hadoop Client Test Minicluster .............. SUCCESS [01:21 min]
[INFO] Apache Hadoop Client Packaging Invariants .......... SUCCESS [  0.207 s]
[INFO] Apache Hadoop Client Packaging Invariants for Test . SUCCESS [  0.139 s]
[INFO] Apache Hadoop Client Packaging Integration Tests ... SUCCESS [ 11.380 s]
[INFO] Apache Hadoop Client Modules ....................... SUCCESS [  0.034 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:54 min
[INFO] Finished at: 2017-09-12T17:33:11-07:00
[INFO] Final Memory: 71M/1049M
[INFO] ------------------------------------------------------------------------
HW13762:hadoop-client-check-invariants bviswanadham$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /usr/local/apache-maven-3.3.9
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.5", arch: "x86_64", family: "mac"



{noformat}




was (Author: bharatviswa):
+1 (non-binding)
[[~andrew.wang] 
I have applied the patch and ran on my mac machine.
Maven version used:3.3.9
What is the error you are facing?

I am able to successfully build.





{noformat}
INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hadoop-client-modules ---
[INFO] 
[INFO] --- maven-site-plugin:3.6:attach-descriptor (attach-descriptor) @ hadoop-client-modules
---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (depcheck) @ hadoop-client-modules ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ hadoop-client-modules ---
[INFO] Installing /Users/bviswanadham/workspace/hadoop-open/hadoop/hadoop-client-modules/pom.xml
to /Users/bviswanadham/.m2/repository/org/apache/hadoop/hadoop-client-modules/3.1.0-SNAPSHOT/hadoop-client-modules-3.1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Hadoop Client Aggregator .................... SUCCESS [  6.428 s]
[INFO] Apache Hadoop Client API ........................... SUCCESS [01:11 min]
[INFO] Apache Hadoop Client Runtime ....................... SUCCESS [01:01 min]
[INFO] Apache Hadoop Client Test Minicluster .............. SUCCESS [01:21 min]
[INFO] Apache Hadoop Client Packaging Invariants .......... SUCCESS [  0.207 s]
[INFO] Apache Hadoop Client Packaging Invariants for Test . SUCCESS [  0.139 s]
[INFO] Apache Hadoop Client Packaging Integration Tests ... SUCCESS [ 11.380 s]
[INFO] Apache Hadoop Client Modules ....................... SUCCESS [  0.034 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:54 min
[INFO] Finished at: 2017-09-12T17:33:11-07:00
[INFO] Final Memory: 71M/1049M
[INFO] ------------------------------------------------------------------------



{noformat}



> 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-14857.1.patch, HADOOP-14857.2.patch, HADOOP-14857.3.patch,
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