添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16475998#comment-16475998 Shane Thomas commented on AMBARI-23712: Just wanted to check in.  This worked!  I am now trying to get the database (mariadb/mysql) working with it, but both the server and agents installed just find after building like this! > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81)

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-09 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16468749#comment-16468749 Doroszlai, Attila commented on AMBARI-23712: I've updated the build instructions to pass the following property to Maven: {noformat} -DbuildNumber=631319b00937a8d04667d93714241d2a0cb17275 {noformat} So that makes the command: {noformat} mvn -B clean install rpm:rpm -DnewVersion=2.6.2.0.0 -DbuildNumber=631319b00937a8d04667d93714241d2a0cb17275 -DskipTests -Dpython.ver="python >= 2.6" {noformat} Thanks for reporting this problem. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146)

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-08 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16467766#comment-16467766 Shane Thomas commented on AMBARI-23712: ahh okay, I will give it a rest then until the bug has been figured out.   If there is any info I can give to help let me know. > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-08 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16467765#comment-16467765 Doroszlai, Attila commented on AMBARI-23712: You can install the agent without the server, but it will give the same error, so I don't see the reason to do so. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-08 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16467760#comment-16467760 Shane Thomas commented on AMBARI-23712: Okay so things seemed to of built okay but just that error.  Do I have to get the server working first or can I go ahead and try the ambari agent install too?  (I understand it won't work without the server I just want to get through the installation) > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-08 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16467751#comment-16467751 Doroszlai, Attila commented on AMBARI-23712: I've run into the {{unbound variable}} problem, too (both server and agent). I'll need to check what's up with that. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-07 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16466235#comment-16466235 Shane Thomas commented on AMBARI-23712: Gotcha I double checked and those were in there. I was just in the wrong folder, so it built just fine and running ambari-server setup gives me: /usr/sbin/ambari-server: line 34: buildNumber: unbound variable So investigating that, but I am one step closer. I suspect I want to run the  yum install ambari-agent*.rpm after I setup and start the server? > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-07 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16466137#comment-16466137 Doroszlai, Attila commented on AMBARI-23712: Please make sure to check {{ambari-server/target/rpm}}, not {{target/rpm}}. A complete build generates the following RPMs: {noformat:title=find * -name '*.rpm'} ambari-admin/target/rpm/ambari-admin/RPMS/noarch/ambari-admin-2.6.2.0-0.noarch.rpm ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ambari-agent-2.6.2.0-0.x86_64.rpm ambari-funtest/target/rpm/ambari-funtest/RPMS/noarch/ambari-funtest-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-infra-solr-plugin/target/rpm/ambari-infra-solr-plugin/RPMS/noarch/ambari-infra-solr-plugin-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-logsearch-appender/target/rpm/ambari-logsearch-appender/RPMS/noarch/ambari-logsearch-appender-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-logsearch-assembly/target/rpm/ambari-logsearch-assembly/RPMS/noarch/ambari-logsearch-assembly-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-logsearch-it/target/rpm/ambari-logsearch-it/RPMS/noarch/ambari-logsearch-it-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-logsearch-logfeeder/target/rpm/ambari-logsearch-logfeeder/RPMS/noarch/ambari-logsearch-logfeeder-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-logsearch-portal/target/rpm/ambari-logsearch-portal/RPMS/noarch/ambari-logsearch-portal-2.6.2.0-0.noarch.rpm ambari-logsearch/ambari-logsearch-solr-client/target/rpm/ambari-logsearch-solr-client/RPMS/noarch/ambari-logsearch-solr-client-2.6.2.0-0.noarch.rpm ambari-logsearch/target/rpm/ambari-logsearch/RPMS/noarch/ambari-logsearch-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-assembly/target/rpm/ambari-metrics-assembly/RPMS/noarch/ambari-metrics-assembly-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-common/target/rpm/ambari-metrics-common/RPMS/noarch/ambari-metrics-common-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-flume-sink/target/rpm/ambari-metrics-flume-sink/RPMS/noarch/ambari-metrics-flume-sink-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-grafana/target/rpm/ambari-metrics-grafana/RPMS/noarch/ambari-metrics-grafana-2.1.0.0-0.noarch.rpm ambari-metrics/ambari-metrics-hadoop-sink/target/rpm/ambari-metrics-hadoop-sink/RPMS/noarch/ambari-metrics-hadoop-sink-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-host-monitoring/target/rpm/ambari-metrics-host-monitoring/RPMS/noarch/ambari-metrics-host-monitoring-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-kafka-sink/target/rpm/ambari-metrics-kafka-sink/RPMS/noarch/ambari-metrics-kafka-sink-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-storm-sink/target/rpm/ambari-metrics-storm-sink/RPMS/noarch/ambari-metrics-storm-sink-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-storm-sink-legacy/target/rpm/ambari-metrics-storm-sink-legacy/RPMS/noarch/ambari-metrics-storm-sink-legacy-2.6.2.0-0.noarch.rpm ambari-metrics/ambari-metrics-timelineservice/target/rpm/ambari-metrics-collector/RPMS/noarch/ambari-metrics-collector-2.6.2.0-0.noarch.rpm ambari-metrics/target/rpm/ambari-metrics/RPMS/noarch/ambari-metrics-2.6.2.0-0.noarch.rpm ambari-project/target/rpm/ambari-project/RPMS/noarch/ambari-project-2.6.2.0-0.noarch.rpm ambari-server/target/rpm/ambari-server/RPMS/x86_64/ambari-server-2.6.2.0-0.x86_64.rpm ambari-views/target/rpm/ambari-views/RPMS/noarch/ambari-views-2.6.2.0-0.noarch.rpm ambari-web/target/rpm/ambari-web/RPMS/noarch/ambari-web-2.6.2.0-0.noarch.rpm target/rpm/ambari/RPMS/noarch/ambari-2.6.2.0-0.noarch.rpm {noformat} > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-07 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16465982#comment-16465982 Shane Thomas commented on AMBARI-23712: Thanks again!  Got the latest version and built just fine it seems:(below is that result).  Though one thing is I am using the guide here: [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2] It says go into  ambari-server/target/rpm/ambari-server/RPMS/noarch/ and run: yum install ambari-server*.rpm    #This should also pull in postgres packages as well. Though in target/rpm I have just one folder called 'ambari' and inside that there is a RPMS/noarch which just has one file: ambari-2.6.2.0-0.noarch.rpm Though again judging by the log below, it looks like everything was built fine?   is this just a documentation discrepancy?    Or should i have that -server rpm folder and file as well? [INFO] [INFO] Ambari Main 2.6.2.0.0 .. SUCCESS [ 13.857 s] [INFO] Apache Ambari Project POM .. SUCCESS [ 0.371 s] [INFO] Ambari Web . SUCCESS [ 59.998 s] [INFO] Ambari Views ... SUCCESS [ 2.376 s] [INFO] Ambari Admin View .. SUCCESS [ 28.586 s] [INFO] utility 1.0.0.0-SNAPSHOT ... SUCCESS [ 0.500 s] [INFO] ambari-metrics . SUCCESS [ 1.600 s] [INFO] Ambari Metrics Common .. SUCCESS [ 8.993 s] [INFO] Ambari Metrics Hadoop Sink . SUCCESS [ 4.862 s] [INFO] Ambari Metrics Flume Sink .. SUCCESS [ 3.263 s] [INFO] Ambari Metrics Kafka Sink .. SUCCESS [ 3.052 s] [INFO] Ambari Metrics Storm Sink .. SUCCESS [ 4.967 s] [INFO] Ambari Metrics Storm Sink (Legacy) . SUCCESS [ 4.098 s] [INFO] Ambari Metrics Collector ... SUCCESS [04:41 min] [INFO] Ambari Metrics Monitor . SUCCESS [ 2.474 s] [INFO] Ambari Metrics Grafana 2.1.0.0.0 ... SUCCESS [ 4.011 s] [INFO] Ambari Metrics Assembly SUCCESS [02:27 min] [INFO] Ambari Server .. SUCCESS [25:03 min] [INFO] Ambari Functional Tests SUCCESS [ 8.560 s] [INFO] Ambari Agent ... SUCCESS [03:23 min] [INFO] ambari-logsearch ... SUCCESS [ 0.733 s] [INFO] Ambari Logsearch Appender .. SUCCESS [ 0.896 s] [INFO] Ambari Logsearch Portal SUCCESS [ 14.625 s] [INFO] Ambari Logsearch Log Feeder SUCCESS [ 6.138 s] [INFO] Ambari Logsearch Solr Client ... SUCCESS [ 4.231 s] [INFO] Ambari Infra Solr Plugin ... SUCCESS [ 7.778 s] [INFO] Ambari Logsearch Assembly .. SUCCESS [ 0.415 s] [INFO] Ambari Logsearch Integration Test 2.6.2.0.0 SUCCESS [ 0.789 s] [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 38:48 min [INFO] Finished at: 2018-05-07T14:15:18Z [INFO] > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-04 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16464175#comment-16464175 Doroszlai, Attila commented on AMBARI-23712: {noformat} [INFO] Bytecompiling .py files below /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-server/target/rpm/ambari-server/buildroot/usr/lib/python2.6 using /usr/bin/python2.6 [INFO] /usr/lib/rpm/brp-python-bytecompile: line 44: /usr/bin/python2.6: No such file or directory [INFO] error: Bad exit status from /var/tmp/rpm-tmp.wlFBGq (%install) [INFO] Bad exit status from /var/tmp/rpm-tmp.wlFBGq (%install) {noformat} That's the problem I mentioned earlier about Python 2.6 and CentOS7 incompatibility issues (specific to Ambari), see AMBARI-22516 for workaround. (Or you might want to try the newly released [Ambari 2.6.2|https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2], which has the proper fix for this.) > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-05-04 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16464163#comment-16464163 Shane Thomas commented on AMBARI-23712: No real trouble, I am sorry for all the questions :).   I got a bit further on the build with that snapshot fix.  But now it is giving me a Mojo exception on the rpm build.  Here is the stack trace after the build failure and a bit of what what was built before.  I didn't see any other errors earlier just a ton of INFO lines Since the output was kinda long (used -X too)   I put the file on gist as a txt (viewing the other way gist cuts it off).    [https://gist.githubusercontent.com/codejoy/b4f355a2af5093a590945eb1844c2361/raw/fe83dc99de66f0315ec452456714cf3040913f0a/gistfile1.txt] > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208)

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16457380#comment-16457380 Doroszlai, Attila commented on AMBARI-23712: It seems {{storm-core-1.1.0-SNAPSHOT.jar}} is no longer available (neither in the [Hortonworks repo|http://repo.hortonworks.com/content/groups/public/org/apache/storm/storm-core/], nor the [Apache repo|https://repository.apache.org/content/repositories/snapshots/org/apache/storm/storm-core/]). This was fixed in AMBARI-20797, but only after 2.6.1 was already released. You can [change {{storm.version}} to {{1.1.0}}|https://github.com/apache/ambari/commit/af5ce3f20989a9188855010773357284a6f923e5] locally, if you want to proceed with Ambari 2.6.1 with a minor change. Sorry for the trouble.  I guess releases shouldn't depend on snapshot versions. [2.6.2-rc0|https://github.com/apache/ambari/releases/tag/release-2.6.2-rc0]  looks good in that respect, I couldn't find any snapshot dependencies. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16457089#comment-16457089 Shane Thomas commented on AMBARI-23712: Thank you so much again Attila, I am getting further.  It failed again on the: Ambari Admin view due to this (Doesn't seem to be related to the top python issue) unless that is presenting itself somewhere else.  Though it is another dependency issue that is not the ones of the three mentioned in the install guide (They mentioned the kafka sink poms not the storm ones which is the ones it is failing on it seems, if I read this right it looks almost like an issue with the horton works link?)  [INFO] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9p74ck [WARNING] + umask 022 [WARNING] + cd /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/ambari-metrics-kafka-sink/target/rpm/ambari-metrics-kafka-sink/BUILD [WARNING] + /usr/bin/rm -rf /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/ambari-metrics-kafka-sink/target/rpm/ambari-metrics-kafka-sink/buildroot [WARNING] + exit 0 [INFO] [INFO] < org.apache.ambari:ambari-metrics-storm-sink >- [INFO] Building Ambari Metrics Storm Sink 2.6.1.0.0 [12/34] [INFO] [ jar ]- [WARNING] The POM for org.apache.storm:storm-core:jar:1.1.0-SNAPSHOT is missing, no dependency information available [INFO] [INFO] Reactor Summary: [INFO] [INFO] Ambari Main 2.6.1.0.0 .. SUCCESS [ 7.811 s] [INFO] Apache Ambari Project POM .. SUCCESS [ 0.368 s] [INFO] Ambari Web . SUCCESS [ 50.975 s] [INFO] Ambari Views ... SUCCESS [ 2.232 s] [INFO] Ambari Admin View .. SUCCESS [ 13.527 s] [INFO] utility 1.0.0.0-SNAPSHOT ... SUCCESS [ 0.542 s] [INFO] ambari-metrics . SUCCESS [ 0.869 s] [INFO] Ambari Metrics Common .. SUCCESS [ 7.678 s] [INFO] Ambari Metrics Hadoop Sink . SUCCESS [ 4.438 s] [INFO] Ambari Metrics Flume Sink .. SUCCESS [ 3.258 s] [INFO] Ambari Metrics Kafka Sink .. SUCCESS [ 2.846 s] [INFO] Ambari Metrics Storm Sink .. FAILURE [ 0.032 s] [INFO] Ambari Metrics Storm Sink (Legacy) . SKIPPED [INFO] Ambari Metrics Collector ... SKIPPED [INFO] Ambari Metrics Monitor . SKIPPED [INFO] Ambari Metrics Grafana 2.1.0.0.0 ... SKIPPED [INFO] Ambari Metrics Assembly SKIPPED [INFO] Ambari Server .. SKIPPED [INFO] Ambari Functional Tests SKIPPED [INFO] Ambari Agent ... SKIPPED [INFO] Ambari Client .. SKIPPED [INFO] Ambari Python Client ... SKIPPED [INFO] Ambari Groovy Client ... SKIPPED [INFO] Ambari Shell ... SKIPPED [INFO] Ambari Python Shell SKIPPED [INFO] Ambari Groovy Shell SKIPPED [INFO] ambari-logsearch ... SKIPPED [INFO] Ambari Logsearch Appender .. SKIPPED [INFO] Ambari Logsearch Portal SKIPPED [INFO] Ambari Logsearch Log Feeder SKIPPED [INFO] Ambari Logsearch Solr Client ... SKIPPED [INFO] Ambari Infra Solr Plugin ... SKIPPED [INFO] Ambari Logsearch Assembly .. SKIPPED [INFO] Ambari Logsearch Integration Test 2.6.1.0.0 SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 01:35 min [INFO] Finished at: 2018-04-27T20:41:09Z [INFO] [ERROR] Failed to execute goal on project ambari-metrics-storm-sink: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-storm-sink:jar:2.6.1.0.0: Failure to find org.apache.storm:storm-core:jar:1.1.0-SNAPSHOT in http://repo.hortonworks.com/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of apache-hadoop has elapsed or updates are forced -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ambari-metrics-storm-sink: Could not

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456788#comment-16456788 Doroszlai, Attila commented on AMBARI-23712: Thanks for the log, it's much easier to debug. The problem is this: {noformat} rpmbuild: command not found {noformat} Seems like you should install the {{rpm-build}} package, as described in the guide|https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development]. Note that if you are using RedHat/CentOS 7, you'll likely run into the same issue as AMBARI-22516 (has workaround attached). The Python version problem is fixed since then, but not in 2.6.1. As the release process for Apache Ambari 2.6.2 is currently in progress, you might also want to consider waiting for it. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208)

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456761#comment-16456761 Shane Thomas commented on AMBARI-23712: {code:java} [sthomas@hp380-1 apache-ambari-2.6.1-src]$ mvn -B -e clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests -Dpython.ver="python >= 2.6" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-web:pom:2.6.1.0.0 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 161, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-admin:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 91, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-metrics-common:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 168, column 15 [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:build-helper-maven-plugin @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 201, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-metrics-hadoop-sink:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-metrics-flume-sink:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-metrics-kafka-sink:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-metrics-storm-sink:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0, /home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ambari:ambari-metrics-storm-sink-legacy:jar:2.6.1.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456732#comment-16456732 Doroszlai, Attila commented on AMBARI-23712: If you could attach the full output, or at least include the RPM-related parts before the final "BUILD FAILURE", that would help a lot. Please also include the actual command run. Thanks. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81)

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Shane Thomas (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456549#comment-16456549 Shane Thomas commented on AMBARI-23712: You know I have to apologize, I mispoke as to what the error was.  The one listed above was how i executed the call (I piped it to an output file so that caused the earlier error).  The actual error I am contending with when making the call is: {code:java} [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 6.132 s [INFO] Finished at: 2018-04-27T14:30:54Z [INFO] [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm (default-cli) on project ambari: RPM build execution returned: '127' executing '/bin/sh -c cd /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SPECS && rpmbuild -bb --buildroot /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/buildroot --define '_topdir /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari' --target noarch-redhat-linux ambari.spec' -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm (default-cli) on project ambari: RPM build execution returned: '127' executing '/bin/sh -c cd /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SPECS && rpmbuild -bb --buildroot /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/buildroot --define '_topdir /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari' --target noarch-redhat-linux ambari.spec' at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: RPM build execution returned: '127' executing '/bin/sh -c cd /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SPECS && rpmbuild -bb --buildroot /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/buildroot --define '_topdir /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari' --target noarch-redhat-linux ambari.spec' at org.codehaus.mojo.rpm.RPMHelper.buildPackage (RPMHelper.java:150) at org.codehaus.mojo.rpm.AbstractRPMMojo.execute (AbstractRPMMojo.java:736) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute

[jira] [Commented] (AMBARI-23712) Install guide does not give advice for error on install rpm:rpm

2018-04-27 Thread Doroszlai, Attila (JIRA) https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16456250#comment-16456250 Doroszlai, Attila commented on AMBARI-23712: Hi [~codejoy], can you please check which files are listed as unapproved? Something like this should give you those 2 files: {noformat} fgrep '!?' /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt {noformat} The Apache Ambari 2.6.1 source normally shouldn't have anything that fails the RAT check, so it's likely something produced locally before the build, eg. by your IDE, text editor, etc. Depending on what they turn out to be, you should either move those files out of the build directory, or remove them. We may also need to add some exceptions to the RAT check, but that cannot be fixed for 2.6.1, since it's already released. > Install guide does not give advice for error on install rpm:rpm > Key: AMBARI-23712 > URL: https://issues.apache.org/jira/browse/AMBARI-23712 > Project: Ambari > Issue Type: Documentation > Components: documentation >Affects Versions: 2.6.1 > Environment: CentOS Linux 7 (Core) > Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux >Reporter: Shane Thomas >Priority: Blocker > Was running through this install guide: > [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1] > The part at for CentOS: > mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests > -Dpython.ver="python >= 2.6" > Fails with: > {code:java} > [INFO] > [INFO] BUILD FAILURE > [INFO] > [INFO] Total time: 5.420 s > [INFO] Finished at: 2018-04-26T21:47:30Z > [INFO] > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check > (default) on project ambari: Too many files with unapproved license: 2 See > RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: > Too many files with unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) > Caused by: org.apache.rat.mp.RatCheckException: Too many files with > unapproved license: 2 See RAT report in: > /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt > at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194) > at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137)