atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ATLAS-747) Hive CTAS entity registration fails because userName is null
Date Thu, 05 May 2016 16:41:12 GMT

    [ 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)

Mime
View raw message