You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Suma Shivaprasad (JIRA)" <ji...@apache.org> on 2016/05/05 16:41:12 UTC

[jira] [Comment Edited] (ATLAS-747) Hive CTAS entity registration fails because userName is null

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

Suma Shivaprasad edited comment on ATLAS-747 at 5/5/16 4:40 PM:
----------------------------------------------------------------

Should we remove or change this in AtlasHook? Looks like its used only in SqoopHook

 /**
     * Returns the logged in user.
     * @return
     */
    public static String getUser() {
        return getUser(null, null);
    }


was (Author: suma.shivaprasad):
Should we remove or change this? Looks like its used only in SqoopHook

 /**
     * Returns the logged in user.
     * @return
     */
    public static String getUser() {
        return getUser(null, null);
    }

> Hive CTAS entity registration fails because userName is null
> ------------------------------------------------------------
>
>                 Key: ATLAS-747
>                 URL: https://issues.apache.org/jira/browse/ATLAS-747
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: 0.7-incubating
>
>         Attachments: ATLAS-747.patch
>
>
> With apache hive 1.2.x and hive CLI, hookContext.getUserName() is null and hive_process entity registration fails as userName is required parameter



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