ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-4264) HDFS client python scripts has no status() method
Date Tue, 14 Jan 2014 21:09:23 GMT

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

Dmitry Lysnichenko commented on AMBARI-4264:
--------------------------------------------

https://reviews.apache.org/r/16827/

> HDFS client python scripts has no status() method
> -------------------------------------------------
>
>                 Key: AMBARI-4264
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4264
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.5.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4264.patch
>
>
> {code}
>  INFO 2014-01-10 18:42:02,066 PythonExecutor.py:103 - Result: {'structuredOut': '{}',
'stdout': '  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 111, in choose_method_to_execute\n    raise Fail("Sc
> ript {0} has not method \'{1}\'".format(sys.argv[0], command_name))\nFail: Script /var/lib/ambari-agent/cache/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
has not method \'status\'\n2014-01-10 18:41:53,638 - resource_managemen
> t - ERROR - Got exception while executing command status:\nTraceback (most recent call
last):\n  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 93, in execute\n    method = self.choose_method_to_ex
> ecute(command_name)\n  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 111, in choose_method_to_execute\n    raise Fail("Script {0} has not method \'{1}\'".format(sys.argv[0],
command_name))\nFail: 
> Script /var/lib/ambari-agent/cache/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
has not method \'status\'', 'stderr': '  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 111, in choo
> se_method_to_execute\n    raise Fail("Script {0} has not method \'{1}\'".format(sys.argv[0],
command_name))\nFail: Script /var/lib/ambari-agent/cache/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
has not method \'status\'\n2014
> -01-10 18:41:53,638 - resource_management - ERROR - Got exception while executing command
status:\nTraceback (most recent call last):\n  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 93, in execut
> e\n    method = self.choose_method_to_execute(command_name)\n  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 111, in choose_method_to_execute\n    raise Fail("Script {0} has not method \'{1}\'".fo
> rmat(sys.argv[0], command_name))\nFail: Script /var/lib/ambari-agent/cache/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
has not method \'status\'', 'exitcode': 0}
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message