You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Scott Creeley (JIRA)" <ji...@apache.org> on 2014/10/30 21:17:35 UTC

[jira] [Reopened] (AMBARI-7892) WebHCat to support versioned rpms in Ambari

     [ https://issues.apache.org/jira/browse/AMBARI-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Creeley reopened AMBARI-7892:
-----------------------------------

[~afernandez]
Hi Alejandro,
It appears this has broken the 2.1.GlusterFS stack implementation, if there something I need to do within the stack to make this work?  It appears to be an issue with how the stacks are named with non-numeric characters not passing the version test??

This seems to affect both Hive and Hcat client installs on step 9 of deployment wizard, I get the following errors:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_client.py", line 42, in <module>
    HiveClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_client.py", line 27, in install
    import params
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py", line 32, in <module>
    hdp_stack_version = format_hdp_stack_version(hdp_stack_version)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 43, in format_hdp_stack_version
    normalized = _normalize(str(input))
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 34, in _normalize
    return [int(x) for x in v_list]
ValueError: invalid literal for int() with base 10: 'GlusterFS'

and

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_client.py", line 43, in <module>
    HCatClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_client.py", line 28, in install
    self.configure(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_client.py", line 31, in configure
    import params
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py", line 32, in <module>
    hdp_stack_version = format_hdp_stack_version(hdp_stack_version)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 43, in format_hdp_stack_version
    normalized = _normalize(str(input))
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 34, in _normalize
    return [int(x) for x in v_list]
ValueError: invalid literal for int() with base 10: 'GlusterFS'

> WebHCat to support versioned rpms in Ambari
> -------------------------------------------
>
>                 Key: AMBARI-7892
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7892
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>            Priority: Blocker
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7892.patch
>
>
> This is related to AMBARI-7842
> WebHCat relies on the following tarballs/jars
> ||File || Property ||
> |pig-*.tar.gz | templeton.pig.archive|
> |hive-*tar.gz | templeton.hive.archive|
> |sqoop-*tar.gz | templeton.sqoop.archive|
> |hadoop-streaming-*.jar | templeton.streaming.jar|
> All of these need to be copied to HDFS, and the name of the file needs to be injected into the property with the fully qualified path in HDFS.



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