Home Forums Hive / HCatalog Hive Smoke Test

This topic contains 1 reply, has 2 voices, and was last updated by  Umesh 2 months, 3 weeks ago.

  • Creator
    Topic
  • #39057

    Hi,
    I am trying to run Hive Smoke Test and it fails with :

    warning: Unrecognised escape sequence ‘\;’ in file /var/lib/ambari-agent/puppet/modules/hdp-hive/manifests/hive/service_check.pp at line 32
    warning: Dynamic lookup of $configuration is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
    notice: /Stage[1]/Hdp::Snappy::Package/Hdp::Snappy::Package::Ln[32]/Hdp::Exec[hdp::snappy::package::ln 32]/Exec[hdp::snappy::package::ln 32]/returns: executed successfully
    err: /Stage[2]/Hdp-hcat::Hcat::Service_check/Exec[hcatSmoke.sh prepare]/returns: change from notrun to 0 failed: /tmp/hcatSmoke.sh: line 26: hcat: command not found
    /tmp/hcatSmoke.sh: line 27: hcat: command not found
    /tmp/hcatSmoke.sh: line 28: hcat: command not found

    Also there is some alert :
    Hive Metastore status check CRIT for a day
    CRITICAL: Error accessing hive-metaserver status [/usr/lib64/nagios/plugins/check_hive_metastore_status.sh: line 39: hcat: command not found]

    Any idea?

    Thank you!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #52611

    Umesh
    Participant

    Hi,

    I have upgraded HDP from 2.0.6 to 2.1 and ran hive smoke test but its failing throwing following error,

    2014-04-30 04:42:36,508 – Error while executing command ‘service_check’:
    Traceback (most recent call last):
    File “/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py”, line 106, in execute
    method(env)
    File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/service_check.py”, line 44, in service_check
    hcat_service_check()
    File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_service_check.py”, line 48, in hcat_service_check
    logoutput=True)
    File “/usr/lib/python2.6/site-packages/resource_management/core/base.py”, line 148, in __init__
    self.env.run()
    File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 149, in run
    self.run_action(resource, action)
    File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 115, in run_action
    provider_action()
    File “/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py”, line 239, in action_run
    raise ex
    Fail: Execution of ‘env JAVA_HOME=/usr/jdk64/jdk1.6.0_31 sh /tmp/hcatSmoke.sh hcatsmokeid090a4da0_date423014 prepare’ returned 127. /tmp/hcatSmoke.sh: line 26: hcat: command not found
    /tmp/hcatSmoke.sh: line 27: hcat: command not found
    /tmp/hcatSmoke.sh: line 28: hcat: command not found

    Any Ideas.?

    Thanks,
    Umesh

    Collapse
Viewing 1 replies (of 1 total)