[
https://issues.apache.org/jira/browse/AMBARI-21642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120534#comment-16120534
]
slim bouguerra commented on AMBARI-21642:
-----------------------------------------
This seems to be independent from the druid code it self.
Looking at the exception root
[code|https://github.com/apache/ambari/blob/ddaa5be40965768283e7a7e4f57db5646389bce1/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py#L283]
seems like the function {code} rmf_shell.checked_call{code} is returning 2
values instead of 3 which is a valid case looking at the code source of the
function here [function
here|https://github.com/apache/ambari/blob/383901fdec7acd9a0be1c42c97438048f7031272/ambari-common/src/main/python/resource_management/core/shell.py#L309]
cc [~aonishuk] the original author of shell.py any idea if the fix should be
something like this
{code}
results = rmf_shell.checked_call(
"rpm -q --queryformat '%{{version}}-%{{release}}' {0} | sed -e
's/\.el[0-9]//g'".format(package_name),
stderr=subprocess.PIPE)
if (len(results) == 3):
code, out, err = results
elif (len(results) == 2):
code, out = results
{code}
> Add hadoop LZO jars if installed in the cluster
> -----------------------------------------------
>
> Key: AMBARI-21642
> URL: https://issues.apache.org/jira/browse/AMBARI-21642
> Project: Ambari
> Issue Type: Improvement
> Reporter: slim bouguerra
> Assignee: slim bouguerra
> Fix For: 2.6.0
>
>
> Check the existence of hadoop lzo packages and added to the
> druid-hadoop-clients directory.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)