ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8917) Rolling Upgrade - prepare function to copy tarballs based on new HDP version
Date Tue, 13 Jan 2015 04:44:35 GMT

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

Hudson commented on AMBARI-8917:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1464 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1464/])
AMBARI-8917. Rolling Upgrade - prepare function to copy tarballs based on new HDP version
(alejandro) (afernandez: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e6b4e2fbbc10cf1563570443b809103739ee7a01)
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_upgrade.py
* ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py
* ambari-server/src/main/python/ambari-server.py
* ambari-server/src/test/python/TestAmbariServer.py
* ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/package/scripts/service_check.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat.py


> Rolling Upgrade - prepare function to copy tarballs based on new HDP version
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-8917
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8917
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Alejandro Fernandez
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8917.patch
>
>
> The prepare_rolling_restart() functions call copy_tarballs_to_hdfs(), which gets the
HDP version from the first component that matches the regex in the output of hdp-select, which
is incorrect.
> Instead of getting the first component, it should query a specific component, e.g., "hdp-select
status hiveserver2"
> 14/12/23 23:00:27 INFO client.RMProxy: Connecting to ResourceManager at 11b.vm/10.77.65.27:8050
> java.io.FileNotFoundException: File does not exist: hdfs://mycluster/hdp/apps/2.2.1.0-2154/mapreduce/mapreduce.tar.gz
> 	at org.apache.hadoop.fs.Hdfs.getFileStatus(Hdfs.java:137)
> 	at org.apache.hadoop.fs.AbstractFileSystem.resolvePath(AbstractFileSystem.java:460)
> 	at org.apache.hadoop.fs.FileContext$24.next(FileContext.java:2137)
> 	at org.apache.hadoop.fs.FileContext$24.next(FileContext.java:2133)
> 	at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
> 	at org.apache.hadoop.fs.FileContext.resolve(FileContext.java:2133)
> 	at org.apache.hadoop.fs.FileContext.resolvePath(FileContext.java:595)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:753)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:435)
> 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296)
> 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
> 	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293)
> 	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1314)
> 	at org.apache.hadoop.examples.WordCount.main(WordCount.java:87)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
> 	at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
> 	at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:74)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> 2014-12-23 23:00:28,088 - Error while executing command 'service_check':
> Traceback (most recent call last):



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message