[ 
https://issues.apache.org/jira/browse/HDDS-4522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lin Cheng-Chieh updated HDDS-4522:
----------------------------------
    Description: 
I'm trying to follow the steps on [How To Contribute to Ozone 
|https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute+to+Ozone] 
 to build ozone from github.

However, after I execute these commands:

$ {{git clone https:}}{{//github}}{{.com}}{{/apache/ozone}}{{.git}}

$ {{cd}} {{ozone}}

$ {{mvn clean }}{{install}} {{package -DskipShade -DskipRecon -DskipTests 
-Pdist -Dtar}}

maven throws error:

[INFO] ------------------------------------------------------------------------
 [INFO] Reactor Summary for Apache Hadoop Ozone Main 1.1.0-SNAPSHOT:
 [INFO] 
 [INFO] Apache Hadoop Ozone Main ........................... SUCCESS [02:55 min]
 [INFO] Apache Hadoop HDDS ................................. SUCCESS [ 3.852 s]
 [INFO] Apache Hadoop HDDS Hadoop Client dependencies ...... SUCCESS [02:07 min]
 [INFO] Apache Hadoop HDDS Hadoop Test dependencies ........ SUCCESS [ 11.408 s]
 [INFO] Apache Hadoop HDDS Hadoop Server dependencies ...... SUCCESS [03:50 min]
 [INFO] Apache Hadoop HDDS Client Interface ................ SUCCESS [02:34 min]
 [INFO] Apache Hadoop HDDS Admin Interface ................. SUCCESS [ 11.043 s]
 [INFO] Apache Hadoop HDDS Server Interface ................ SUCCESS [ 13.690 s]
 [INFO] Apache Hadoop HDDS Test Utils ...................... SUCCESS [01:13 min]
 [INFO] Apache Hadoop HDDS Config .......................... SUCCESS [ 2.695 s]
 [INFO] Apache Hadoop HDDS Common .......................... SUCCESS [03:29 min]
 [INFO] Apache Hadoop HDDS Client .......................... SUCCESS [ 4.371 s]
 [INFO] Apache Hadoop HDDS Server Framework ................ SUCCESS [01:26 min]
 [INFO] Apache Hadoop HDDS/Ozone Documentation ............. SUCCESS [ 44.184 s]
 [INFO] Apache Hadoop HDDS Container Service ............... SUCCESS [01:05 min]
 [INFO] Apache Hadoop HDDS SCM Server ...................... SUCCESS [ 34.781 s]
 [INFO] Apache Hadoop HDDS Tools ........................... SUCCESS [ 23.261 s]
 [INFO] Apache Hadoop Ozone ................................ SUCCESS [ 0.548 s]
 [INFO] Apache Hadoop Ozone Client Interface ............... SUCCESS [ 30.259 s]
 [INFO] Apache Hadoop Ozone Common ......................... SUCCESS [ 6.674 s]
 [INFO] Apache Hadoop Ozone Storage Interface .............. SUCCESS [ 5.988 s]
 [INFO] Apache Hadoop Ozone Client ......................... SUCCESS [ 4.560 s]
 [INFO] Apache Hadoop Ozone Manager Server ................. SUCCESS [ 20.606 s]
 [INFO] Apache Hadoop Ozone FileSystem Common .............. SUCCESS [ 43.198 s]
 [INFO] Apache Hadoop Ozone FileSystem ..................... SUCCESS [ 2.256 s]
 [INFO] Apache Hadoop Ozone Tools .......................... 
{color:#ff0000}FAILURE{color} [ 48.345 s]
 [INFO] Apache Hadoop Ozone S3 Gateway ..................... SKIPPED
 [INFO] Apache Hadoop Ozone CSI service .................... SKIPPED
 [INFO] Apache Hadoop Ozone Integration Tests .............. SKIPPED
 [INFO] Apache Hadoop Ozone Datanode ....................... SKIPPED
 [INFO] Apache Hadoop Ozone Insight Tool ................... SKIPPED
 [INFO] Apache Hadoop Ozone Distribution ................... SKIPPED
 [INFO] Apache Hadoop Ozone Fault Injection Tests .......... SKIPPED
 [INFO] Apache Hadoop Ozone Network Tests .................. SKIPPED
 [INFO] Apache Hadoop Ozone Mini Ozone Chaos Tests ......... SKIPPED
 [INFO] ------------------------------------------------------------------------
 [INFO] {color:#ff0000}BUILD FAILURE{color}
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 25:32 min
 [INFO] Finished at: 2020-11-27T16:01:29+08:00
 [INFO] ------------------------------------------------------------------------
 [ERROR] Failed to execute goal on project hadoop-ozone-tools: Could not 
resolve dependencies for project 
org.apache.hadoop:hadoop-ozone-tools:jar:1.1.0-SNAPSHOT: {color:#ff0000}Could 
not find artifact org.apache.hadoop:hadoop-ozone-recon:jar:1.1.0-SNAPSHOT in 
apache.snapshots.https 
([https://repository.apache.org/content/repositories/snapshots]){color} -> 
[Help 1]
 [ERROR] 
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR] 
 [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
 [ERROR] [Help 1] 
[http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException]
 [ERROR] 
 [ERROR] After correcting the problems, you can resume the build with the 
command
 [ERROR] mvn <args> -rf :hadoop-ozone-tools

 

Should I edit the pom.xml to switch to another Apache Hadoop Ozone Tools?

 

  was:
I'm trying to follow the steps on [How To Contribute to Ozone 
|https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute+to+Ozone] 
 to build ozone from github.

However, after I execute these commands:

$ {{git clone https:}}{{//github}}{{.com}}{{/apache/ozone}}{{.git}}

$ {{cd}} {{ozone}}

$ {{mvn clean }}{{install}} {{package -DskipShade -DskipRecon -DskipTests 
-Pdist -Dtar}}

maven throws error:

[INFO] ------------------------------------------------------------------------
 [INFO] Reactor Summary for Apache Hadoop Ozone Main 1.1.0-SNAPSHOT:
 [INFO] 
 [INFO] Apache Hadoop Ozone Main ........................... SUCCESS [02:55 min]
 [INFO] Apache Hadoop HDDS ................................. SUCCESS [ 3.852 s]
 [INFO] Apache Hadoop HDDS Hadoop Client dependencies ...... SUCCESS [02:07 min]
 [INFO] Apache Hadoop HDDS Hadoop Test dependencies ........ SUCCESS [ 11.408 s]
 [INFO] Apache Hadoop HDDS Hadoop Server dependencies ...... SUCCESS [03:50 min]
 [INFO] Apache Hadoop HDDS Client Interface ................ SUCCESS [02:34 min]
 [INFO] Apache Hadoop HDDS Admin Interface ................. SUCCESS [ 11.043 s]
 [INFO] Apache Hadoop HDDS Server Interface ................ SUCCESS [ 13.690 s]
 [INFO] Apache Hadoop HDDS Test Utils ...................... SUCCESS [01:13 min]
 [INFO] Apache Hadoop HDDS Config .......................... SUCCESS [ 2.695 s]
 [INFO] Apache Hadoop HDDS Common .......................... SUCCESS [03:29 min]
 [INFO] Apache Hadoop HDDS Client .......................... SUCCESS [ 4.371 s]
 [INFO] Apache Hadoop HDDS Server Framework ................ SUCCESS [01:26 min]
 [INFO] Apache Hadoop HDDS/Ozone Documentation ............. SUCCESS [ 44.184 s]
 [INFO] Apache Hadoop HDDS Container Service ............... SUCCESS [01:05 min]
 [INFO] Apache Hadoop HDDS SCM Server ...................... SUCCESS [ 34.781 s]
 [INFO] Apache Hadoop HDDS Tools ........................... SUCCESS [ 23.261 s]
 [INFO] Apache Hadoop Ozone ................................ SUCCESS [ 0.548 s]
 [INFO] Apache Hadoop Ozone Client Interface ............... SUCCESS [ 30.259 s]
 [INFO] Apache Hadoop Ozone Common ......................... SUCCESS [ 6.674 s]
 [INFO] Apache Hadoop Ozone Storage Interface .............. SUCCESS [ 5.988 s]
 [INFO] Apache Hadoop Ozone Client ......................... SUCCESS [ 4.560 s]
 [INFO] Apache Hadoop Ozone Manager Server ................. SUCCESS [ 20.606 s]
 [INFO] Apache Hadoop Ozone FileSystem Common .............. SUCCESS [ 43.198 s]
 [INFO] Apache Hadoop Ozone FileSystem ..................... SUCCESS [ 2.256 s]
 [INFO] Apache Hadoop Ozone Tools .......................... 
{color:#FF0000}FAILURE{color} [ 48.345 s]
 [INFO] Apache Hadoop Ozone S3 Gateway ..................... SKIPPED
 [INFO] Apache Hadoop Ozone CSI service .................... SKIPPED
 [INFO] Apache Hadoop Ozone Integration Tests .............. SKIPPED
 [INFO] Apache Hadoop Ozone Datanode ....................... SKIPPED
 [INFO] Apache Hadoop Ozone Insight Tool ................... SKIPPED
 [INFO] Apache Hadoop Ozone Distribution ................... SKIPPED
 [INFO] Apache Hadoop Ozone Fault Injection Tests .......... SKIPPED
 [INFO] Apache Hadoop Ozone Network Tests .................. SKIPPED
 [INFO] Apache Hadoop Ozone Mini Ozone Chaos Tests ......... SKIPPED
 [INFO] ------------------------------------------------------------------------
 [INFO] {color:#FF0000}BUILD FAILURE{color}
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 25:32 min
 [INFO] Finished at: 2020-11-27T16:01:29+08:00
 [INFO] ------------------------------------------------------------------------
 [ERROR] Failed to execute goal on project hadoop-ozone-tools: Could not 
resolve dependencies for project 
org.apache.hadoop:hadoop-ozone-tools:jar:1.1.0-SNAPSHOT: {color:#FF0000}Could 
not find artifact org.apache.hadoop:hadoop-ozone-recon:jar:1.1.0-SNAPSHOT in 
apache.snapshots.https 
([https://repository.apache.org/content/repositories/snapshots]){color} -> 
[Help 1]
 [ERROR] 
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR] 
 [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
 [ERROR] [Help 1] 
[http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException]
 [ERROR] 
 [ERROR] After correcting the problems, you can resume the build with the 
command
 [ERROR] mvn <args> -rf :hadoop-ozone-tools

 


> "mvn clean install package" build failure
> -----------------------------------------
>
>                 Key: HDDS-4522
>                 URL: https://issues.apache.org/jira/browse/HDDS-4522
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.1.0
>            Reporter: Lin Cheng-Chieh
>            Priority: Blocker
>
> I'm trying to follow the steps on [How To Contribute to Ozone 
> |https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute+to+Ozone]
>   to build ozone from github.
> However, after I execute these commands:
> $ {{git clone https:}}{{//github}}{{.com}}{{/apache/ozone}}{{.git}}
> $ {{cd}} {{ozone}}
> $ {{mvn clean }}{{install}} {{package -DskipShade -DskipRecon -DskipTests 
> -Pdist -Dtar}}
> maven throws error:
> [INFO] 
> ------------------------------------------------------------------------
>  [INFO] Reactor Summary for Apache Hadoop Ozone Main 1.1.0-SNAPSHOT:
>  [INFO] 
>  [INFO] Apache Hadoop Ozone Main ........................... SUCCESS [02:55 
> min]
>  [INFO] Apache Hadoop HDDS ................................. SUCCESS [ 3.852 
> s]
>  [INFO] Apache Hadoop HDDS Hadoop Client dependencies ...... SUCCESS [02:07 
> min]
>  [INFO] Apache Hadoop HDDS Hadoop Test dependencies ........ SUCCESS [ 11.408 
> s]
>  [INFO] Apache Hadoop HDDS Hadoop Server dependencies ...... SUCCESS [03:50 
> min]
>  [INFO] Apache Hadoop HDDS Client Interface ................ SUCCESS [02:34 
> min]
>  [INFO] Apache Hadoop HDDS Admin Interface ................. SUCCESS [ 11.043 
> s]
>  [INFO] Apache Hadoop HDDS Server Interface ................ SUCCESS [ 13.690 
> s]
>  [INFO] Apache Hadoop HDDS Test Utils ...................... SUCCESS [01:13 
> min]
>  [INFO] Apache Hadoop HDDS Config .......................... SUCCESS [ 2.695 
> s]
>  [INFO] Apache Hadoop HDDS Common .......................... SUCCESS [03:29 
> min]
>  [INFO] Apache Hadoop HDDS Client .......................... SUCCESS [ 4.371 
> s]
>  [INFO] Apache Hadoop HDDS Server Framework ................ SUCCESS [01:26 
> min]
>  [INFO] Apache Hadoop HDDS/Ozone Documentation ............. SUCCESS [ 44.184 
> s]
>  [INFO] Apache Hadoop HDDS Container Service ............... SUCCESS [01:05 
> min]
>  [INFO] Apache Hadoop HDDS SCM Server ...................... SUCCESS [ 34.781 
> s]
>  [INFO] Apache Hadoop HDDS Tools ........................... SUCCESS [ 23.261 
> s]
>  [INFO] Apache Hadoop Ozone ................................ SUCCESS [ 0.548 
> s]
>  [INFO] Apache Hadoop Ozone Client Interface ............... SUCCESS [ 30.259 
> s]
>  [INFO] Apache Hadoop Ozone Common ......................... SUCCESS [ 6.674 
> s]
>  [INFO] Apache Hadoop Ozone Storage Interface .............. SUCCESS [ 5.988 
> s]
>  [INFO] Apache Hadoop Ozone Client ......................... SUCCESS [ 4.560 
> s]
>  [INFO] Apache Hadoop Ozone Manager Server ................. SUCCESS [ 20.606 
> s]
>  [INFO] Apache Hadoop Ozone FileSystem Common .............. SUCCESS [ 43.198 
> s]
>  [INFO] Apache Hadoop Ozone FileSystem ..................... SUCCESS [ 2.256 
> s]
>  [INFO] Apache Hadoop Ozone Tools .......................... 
> {color:#ff0000}FAILURE{color} [ 48.345 s]
>  [INFO] Apache Hadoop Ozone S3 Gateway ..................... SKIPPED
>  [INFO] Apache Hadoop Ozone CSI service .................... SKIPPED
>  [INFO] Apache Hadoop Ozone Integration Tests .............. SKIPPED
>  [INFO] Apache Hadoop Ozone Datanode ....................... SKIPPED
>  [INFO] Apache Hadoop Ozone Insight Tool ................... SKIPPED
>  [INFO] Apache Hadoop Ozone Distribution ................... SKIPPED
>  [INFO] Apache Hadoop Ozone Fault Injection Tests .......... SKIPPED
>  [INFO] Apache Hadoop Ozone Network Tests .................. SKIPPED
>  [INFO] Apache Hadoop Ozone Mini Ozone Chaos Tests ......... SKIPPED
>  [INFO] 
> ------------------------------------------------------------------------
>  [INFO] {color:#ff0000}BUILD FAILURE{color}
>  [INFO] 
> ------------------------------------------------------------------------
>  [INFO] Total time: 25:32 min
>  [INFO] Finished at: 2020-11-27T16:01:29+08:00
>  [INFO] 
> ------------------------------------------------------------------------
>  [ERROR] Failed to execute goal on project hadoop-ozone-tools: Could not 
> resolve dependencies for project 
> org.apache.hadoop:hadoop-ozone-tools:jar:1.1.0-SNAPSHOT: {color:#ff0000}Could 
> not find artifact org.apache.hadoop:hadoop-ozone-recon:jar:1.1.0-SNAPSHOT in 
> apache.snapshots.https 
> ([https://repository.apache.org/content/repositories/snapshots]){color} -> 
> [Help 1]
>  [ERROR] 
>  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
>  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>  [ERROR] 
>  [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
>  [ERROR] [Help 1] 
> [http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException]
>  [ERROR] 
>  [ERROR] After correcting the problems, you can resume the build with the 
> command
>  [ERROR] mvn <args> -rf :hadoop-ozone-tools
>  
> Should I edit the pom.xml to switch to another Apache Hadoop Ozone Tools?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to