You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Richard (JIRA)" <ji...@apache.org> on 2015/03/18 09:10:38 UTC

[jira] [Created] (SQOOP-2226) SQOOP2: Add "Access Denied" in ShowLinkFunction.java

Richard created SQOOP-2226:
------------------------------

             Summary: SQOOP2: Add "Access Denied" in ShowLinkFunction.java
                 Key: SQOOP-2226
                 URL: https://issues.apache.org/jira/browse/SQOOP-2226
             Project: Sqoop
          Issue Type: Sub-task
          Components: sqoop2-shell
    Affects Versions: 1.99.5
            Reporter: Richard
            Assignee: Richard
             Fix For: 1.99.6


When run "show link" in CLI, the connector name displays in the summary page.
{code}
+----+-------+--------------+------------------------+---------+
| Id | Name  | Connector Id |     Connector Name     | Enabled |
+----+-------+--------------+------------------------+---------+
| 1  | mysql | 4            | generic-jdbc-connector | true    |
| 2  | kafka | 1            | kite-connector         | true    |
+----+-------+--------------+------------------------+---------+
{code}
If user has privilege of READ LINK, and has not privilege of READ CONNECOTR, then SqoopException will be thrown.

After this JIRA, the result will be showed below.
{code}
+----+-------+--------------+------------------------+---------+
| Id | Name  | Connector Id |     Connector Name     | Enabled |
+----+-------+--------------+------------------------+---------+
| 1  | mysql | 4            | generic-jdbc-connector | true    |
| 2  | kafka | 1            | Access Denied         | true    |
+----+-------+--------------+------------------------+---------+
{code}



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