[
https://issues.apache.org/jira/browse/AMBARI-11633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570120#comment-14570120
]
Hudson commented on AMBARI-11633:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2791 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2791/])
AMBARI-11633 [WinTP2] Webhcat service check fails (fbarca:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8d82fe45e13a9518e46bf2f058a4ef5c5026b64d)
*
ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/HIVE/configuration/webhcat-site.xml
*
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/webhcat-site.xml
*
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_service_check.py
* ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py
> [WinTP2] Webhcat service check fails
> ------------------------------------
>
> Key: AMBARI-11633
> URL: https://issues.apache.org/jira/browse/AMBARI-11633
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, ambari-server
> Affects Versions: 2.1.0
> Environment: Windows
> Reporter: Florian Barca
> Assignee: Florian Barca
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-11633.0.patch
>
>
> Hive service check fails because WebHCat service check fails. This looks like
> a configuration issue. See attached screenshots.
> http://win1.windows.ambari.apache.org:50111/templeton/v1/ddl/database?user.name=hadoop
> {"error":"Unable to access program: /usr/hdp/current/hive-client/bin/hcat"}
> Time taken: 3.287 seconds, Fetched: 2 row(s)
> 2015-06-01 01:51:47,911 - Execute['cmd /C C:\hdp\Run-SmokeTests.cmd
> HCatalog'] {'logoutput': True, 'user': 'hadoop'}
> 2015-06-01 01:51:47,911 - Executing cmd /C C:\hdp\Run-SmokeTests.cmd HCatalog
> 2015-06-01 01:52:13,990 - Hcatalog smoke test - show tables, create table,
> and drop table
> Running hcat command: show tables
> hivesmoke
> Running hcat command: drop table if exists hcatsmoke
> Running hcat command: create table hcatsmoke ( id INT, name string ) stored
> as rcfile
> HCatalog Smoke Test: PASSED
> 2015-06-01 01:52:13,990 - 15/06/01 01:51:51 WARN conf.HiveConf: HiveConf of
> name hive.log.dir does not exist
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/C:/hdp/hadoop-2.7.1.2.3.0.0-2133/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/C:/hdp/hbase-1.1.0.2.3.0.0-2133/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> OK
> Time taken: 2.899 seconds
> 15/06/01 01:51:59 WARN conf.HiveConf: HiveConf of name hive.log.dir does not
> exist
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/C:/hdp/hadoop-2.7.1.2.3.0.0-2133/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/C:/hdp/hbase-1.1.0.2.3.0.0-2133/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> OK
> Time taken: 2.182 seconds
> 15/06/01 01:52:06 WARN conf.HiveConf: HiveConf of name hive.log.dir does not
> exist
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/C:/hdp/hadoop-2.7.1.2.3.0.0-2133/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/C:/hdp/hbase-1.1.0.2.3.0.0-2133/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> OK
> Time taken: 3.312 seconds
> 2015-06-01 01:52:13,990 - Execute['cmd /C C:\hdp\Run-SmokeTests.cmd WEBHCAT']
> {'logoutput': True, 'user': 'hadoop'}
> 2015-06-01 01:52:13,992 - Executing cmd /C C:\hdp\Run-SmokeTests.cmd WEBHCAT
> 2015-06-01 01:52:21,056 - WebHcat smoke test - status, show databases, show
> tables
> Calling URL: http://win1.windows.ambari.apache.org:50111/templeton/v1/status
> Response: 200
> Data: {"status":"ok","version":"v1"}
> Calling URL:
> http://win1.windows.ambari.apache.org:50111/templeton/v1/ddl/database?user.name=hadoop
> Response: -1
> Data:
> 2015-06-01 01:52:21,056 - Run-WEBHCATSmokeTest : WebHcat Smoke Test: FAILED
> At line:1 char:1
> + Run-WEBHCATSmokeTest
> + ~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : NotSpecified: (:) [Write-Error],
> WriteErrorExcep
> tion
> + FullyQualifiedErrorId :
> Microsoft.PowerShell.Commands.WriteErrorExceptio
> n,Run-WebHcatSmokeTest
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)