You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/03/24 15:48:25 UTC

[jira] [Commented] (AMBARI-15542) PXF service checks fails on secured cluster without YARN

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

Hadoop QA commented on AMBARI-15542:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12795075/AMBARI-15542.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:red}-1 core tests{color}.  The test build failed in ambari-server 

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

This message is automatically generated.

> PXF service checks fails on secured cluster without YARN
> --------------------------------------------------------
>
>                 Key: AMBARI-15542
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15542
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.2.1
>            Reporter: Lav Jain
>            Assignee: Lav Jain
>             Fix For: 2.3.0, 2.2.2
>
>         Attachments: AMBARI-15542.branch22.patch, AMBARI-15542.patch
>
>
> PXF service checks fails on secured cluster branch-2.2
> {code}
> 2016-03-11 23:37:35,588 - HdfsResource[None] {'security_enabled': True, 'keytab': '/etc/security/keytabs/hdfs.headless.keytab', 'default_fs': 'hdfs://c6401.ambari.apache.org:8020', 'hdfs_site': ..., 'kinit_path_local': '/usr/bin/kinit', 'principal_name': 'hdfs-phd@AMBARI.APACHE.ORG', 'user': 'hdfs', 'action': ['execute']}
> 2016-03-11 23:37:35,588 - Testing PXF HDFS read
> 2016-03-11 23:37:35,675 - Error code: 500
> 2016-03-11 23:37:35,675 - HDFS test Failed: Exception occurred in HDFS test: PXF data read failed: HTTP Error 500: Internal Server Error
> {code}
> Pxf log says
> {code}
> SEVERE: Servlet.service() for servlet [PXF REST Service] in context with path [/pxf] threw exception [java.io.IOException: Can't get Master Kerberos principal for use as renewer] with root cause
> java.io.IOException: Can't get Master Kerberos principal for use as renewer
> 	at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:116)
> 	at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:100)
> 	at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:80)
> 	at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:206)
> 	at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:315)
> 	at org.apache.hawq.pxf.plugins.hdfs.HdfsDataFragmenter.getSplits(HdfsDataFragmenter.java:108)
> 	at org.apache.hawq.pxf.plugins.hdfs.HdfsDataFragmenter.getFragments(HdfsDataFragmenter.java:69)
> 	at org.apache.hawq.pxf.service.rest.FragmenterResource.getFragments(FragmenterResource.java:84)
> {code}



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