Skip to content

Branch 2.5 - (Bower install) on project ambari-admin: Command execution failed#39

Closed
qianmoQ wants to merge 4062 commits intotrunkfrom
branch-2.5
Closed

Branch 2.5 - (Bower install) on project ambari-admin: Command execution failed#39
qianmoQ wants to merge 4062 commits intotrunkfrom
branch-2.5

Conversation

@qianmoQ
Copy link

@qianmoQ qianmoQ commented Nov 5, 2016

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (Bower install) on project ambari-admin: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (Bower install) on project ambari-admin: Command execution failed.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:302)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
	... 21 more
[ERROR]
[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/MojoExecutionException

@hubot hubot deleted the branch-2.5 branch April 28, 2017 18:53
@hubot hubot restored the branch-2.5 branch April 28, 2017 21:21
@realxujiang
Copy link

hello, Install Ambari 2.5 install HDP 2.6 , spark_client install error "parent directory /usr/hdp/current/spark-client/conf doesn't exist", copy other node /etc/spark to current node solve the problem。

Detail Errors

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/spark_client.py", line 88, in <module>
    SparkClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/spark_client.py", line 38, in install
    self.configure(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 117, in locking_configure
    original_configure(obj, *args, **kw)
  File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/spark_client.py", line 49, in configure
    setup_spark(env, 'client', upgrade_type=upgrade_type, action='config', config_dir=config_dir)
  File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.1/package/scripts/setup_spark.py", line 67, in setup_spark
    mode=0644
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/properties_file.py", line 54, in action_create
    mode = self.resource.mode
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 120, in action_create
    raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
resource_management.core.exceptions.Fail: Applying File['/usr/hdp/current/spark-client/conf/spark-defaults.conf'] failed, parent directory /usr/hdp/current/spark-client/conf doesn't exist

adoroszlai and others added 26 commits June 30, 2017 21:14
…ir Own During an Upgrade (jonathanhurley)
…OldValue is not defined (amagyar)"

This reverts commit b2f5ad7.
…t-logging' and 'product-info' configs after Ambari upgrade (dlysnichenko via dgrinenko)
…ri Metrics System. (Jameel Naina Mohamed via avijayan)
…rameters to script (Yao Lei via jonathanhurley)
…create solr collections (Vishal Suvagia via mugdha)
…Page Allows Upgrade Back to non-HDP. (atkach)
sumitmohanty and others added 29 commits August 21, 2017 13:07
…in(Prabhjyot Singh via Venkata Sairam)"

This reverts commit 2b50a56.
…match on upgraded cluster from Ambari 2.4.2 -and HDP 2.5.5 (rlevas)
…file" exceptions while running query from Hive View"

This reverts commit 9ba009b.
… to restart when LZO compression is enabled. (swagle)
… after Ambari is upgraded on IOP cluster (jonathanhurley)
…ter Upgrade From BigInsights (jonathanhurley)
…ption:java.lang.RuntimeException: native-lzo library not available' for LZO compression codec (aonishuk)
…eas view1.5 History worksheets had hyperlinks pointing to fetched results(Venkata Sairam)
…illing or stopping the execution of the query.(Venkata Sairam)
…ental features (Duc Le via rzang)"

This reverts commit d4d145a.
… experimental features (Duc Le via rzang)""

This reverts commit 1739777.
…commands and replace them with blank "move" commands when reopening the node(Venkata Sairam)
…ceptions while running query from Hive View(Venkata Sairam)
@adoroszlai adoroszlai closed this Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.