Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6D5D2200B6B for ; Wed, 10 Aug 2016 19:32:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6C187160AB2; Wed, 10 Aug 2016 17:32:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BBABA160AA4 for ; Wed, 10 Aug 2016 19:32:21 +0200 (CEST) Received: (qmail 43865 invoked by uid 500); 10 Aug 2016 17:32:21 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 43847 invoked by uid 99); 10 Aug 2016 17:32:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2016 17:32:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C51312C02AD for ; Wed, 10 Aug 2016 17:32:20 +0000 (UTC) Date: Wed, 10 Aug 2016 17:32:20 +0000 (UTC) From: "Keta Patel (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-17102) Pig view fails when execute/explain/syntax check in kerberos environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 Aug 2016 17:32:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keta Patel resolved AMBARI-17102. --------------------------------- Resolution: Information Provided > Pig view fails when execute/explain/syntax check in kerberos environment > ------------------------------------------------------------------------ > > Key: AMBARI-17102 > URL: https://issues.apache.org/jira/browse/AMBARI-17102 > Project: Ambari > Issue Type: Bug > Components: ambari-views, contrib > Affects Versions: trunk > Reporter: Keta Patel > Assignee: Keta Patel > > Steps to reproduce the issue: > 1. Install a cluster containing Pig and Hive services. > 2. Create a Pig View Instance following the steps from http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/bk_ambari_views_guide-20150721.pdf > 3. Go to the Pig View instance and create a new script with some content and save it. I have used the following content in my script: > A = load '/tmp/passwd' using PigStorage(':'); > 4. Kerberize the Cluster from Admin -> Kerberos page > 5. Kerberize the ambari-server following the link https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Security_Guide/content/_optional_set_up_kerberos_for_ambari_server.html > 6. Make sure to update the Pig View configuration with the correct Settings for "WebHDFS Authentication" and "WebHCat Username". Also ensure that the "Cluster Configuration" is "Custom" with the correct values set for "WebHDFS FileSystem URI*", "WebHCat Hostname" and "WebHCat Port". > 7. Go to the Pig View instance and open the script created earlier. Click the "Execute" button to run the script. > 8. The following error shows up: > java.lang.IllegalArgumentException: Path segment is null > java.lang.IllegalArgumentException: Path segment is null > at com.sun.jersey.api.uri.UriBuilderImpl.appendPath(UriBuilderImpl.java:547) > at com.sun.jersey.api.uri.UriBuilderImpl.appendPath(UriBuilderImpl.java:542) > at com.sun.jersey.api.uri.UriBuilderImpl.path(UriBuilderImpl.java:267) > at com.sun.jersey.api.client.WebResource.path(WebResource.java:390) > at org.apache.ambari.view.pig.templeton.client.TempletonApi.checkJob(TempletonApi.java:128) > at org.apache.ambari.view.pig.resources.jobs.JobResourceManager.retrieveJobStatus(JobResourceManager.java:245) > at org.apache.ambari.view.pig.resources.jobs.JobService.getJob(JobService.java:101) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) -- This message was sent by Atlassian JIRA (v6.3.4#6332)