ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lav Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15542) PXF service checks fails on secured cluster without YARN
Date Fri, 25 Mar 2016 20:52:25 GMT

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

Lav Jain updated AMBARI-15542:
------------------------------
    Status: In Progress  (was: Patch Available)

> 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, AMBARI-15542.v2.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)

Mime
View raw message