ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17557) Hive WebHCat Service Check Fails During Upgrade Due To Missing Configurations Files
Date Tue, 05 Jul 2016 04:07:10 GMT

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

Hadoop QA commented on AMBARI-17557:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12816102/AMBARI-17557.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7690//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7690//console

This message is automatically generated.

> Hive WebHCat Service Check Fails During Upgrade Due To Missing Configurations Files
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-17557
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17557
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17557.patch
>
>
> During an upgrade from HDP 2.2 to HDP 2.4, the Hive WebHCat Service Check fails several
times:
> {code}
> 2016-06-29 02:24:49,660 - Retrying after 5 seconds. Reason: Execution of '/var/lib/ambari-agent/tmp/templetonSmoke.sh
natr66-cuts-c10to25rhel6unsr-10.openstacklocal ambari-qa 50111 idtest.ambari-qa.1467167063.06.pig
no_keytab false kinit no_principal /var/lib/ambari-agent/tmp' returned 1. Templeton Smoke
Test (pig cmd): Failed. : {\"error\":\"Failed to get WebHCatShim\"}http_code <500>
> Templeton Smoke Test (pig cmd): Failed. : {\"error\":\"Failed to get WebHCatShim\"}http_code
<500>
> {code}
> Caused by:
> {code}
> FATAL | 29 Jun 2016 02:24:36,920 | org.apache.hadoop.conf.Configuration | error parsing
conf file:/etc/hive-webhcat/conf/webhcat-site.xml
> java.io.FileNotFoundException: /etc/hive-webhcat/conf/webhcat-site.xml (No such file
or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:101)
> 	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
> 	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
> 	at java.net.URL.openStream(URL.java:1037)
> 	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2342)
> 	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2410)
> 	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2376)
> 	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2283)
> 	at org.apache.hadoop.conf.Configuration.get(Configuration.java:888)
> 	at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:907)
> 	at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1182)
> 	at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceInit(YarnClientImpl.java:139)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.mapred.ResourceMgrDelegate.serviceInit(ResourceMgrDelegate.java:102)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.mapred.ResourceMgrDelegate.<init>(ResourceMgrDelegate.java:96)
> 	at org.apache.hadoop.mapred.YARNRunner.<init>(YARNRunner.java:112)
> 	at org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:34)
> 	at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:95)
> 	at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82)
> 	at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75)
> 	at org.apache.hadoop.mapred.JobClient.init(JobClient.java:485)
> 	at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:475)
> 	at org.apache.hadoop.mapred.WebHCatJTShim23$1.run(WebHCatJTShim23.java:60)
> 	at org.apache.hadoop.mapred.WebHCatJTShim23$1.run(WebHCatJTShim23.java:57)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
> 	at org.apache.hadoop.mapred.WebHCatJTShim23.<init>(WebHCatJTShim23.java:57)
> 	at org.apache.hadoop.hive.shims.Hadoop23Shims.getWebHCatShim(Hadoop23Shims.java:500)
> {code}
> The reason for the missing file is that the symlinks are messed up when converting HDP
2.2 hard {{/etc/component/conf}} directories to symlinks:
> {code:title=Wrong}
> [root@c6402 hive-webhcat]# ll /etc/hive-webhcat/
> total 8
> drwxr-xr-x 3 root root   4096 Jul  5 00:49 2.4.2.0-236
> lrwxrwxrwx 1 root root     29 Jul  5 00:49 conf -> /etc/hive-hcatalog/conf.backup
> drwxr-xr-x 2 hcat hadoop 4096 Jul  4 23:25 conf.backup
> {code}
> {code:title=Right}
> [root@c6402 hive-webhcat]# ll /etc/hive-webhcat/
> total 8
> drwxr-xr-x 3 root root   4096 Jul  5 00:49 2.4.2.0-236
> lrwxrwxrwx 1 root root     29 Jul  5 00:49 conf -> /etc/hive-webhcat/conf.backup
> drwxr-xr-x 2 hcat hadoop 4096 Jul  4 23:25 conf.backup
> {code}



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

Mime
View raw message