-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32195/
-----------------------------------------------------------

Review request for Sqoop.


Repository: sqoop-sqoop2


Description
-------

When run "show link" in CLI, the connector name displays in the summary page.
+----+-------+--------------+------------------------+---------+
| Id | Name  | Connector Id |     Connector Name     | Enabled |
+----+-------+--------------+------------------------+---------+
| 1  | mysql | 4            | generic-jdbc-connector | true    |
| 2  | kafka | 1            | kite-connector         | true    |
+----+-------+--------------+------------------------+---------+
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.
+----+-------+--------------+------------------------+---------+
| Id | Name  | Connector Id |     Connector Name     | Enabled |
+----+-------+--------------+------------------------+---------+
| 1  | mysql | 4            | generic-jdbc-connector | true    |
| 2  | kafka | 1            | Access Denied          | true    |
+----+-------+--------------+------------------------+---------+


Diffs
-----

  shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java 
1a5f354603108ba024ed3e66bb49af1e2590a5fe 

Diff: https://reviews.apache.org/r/32195/diff/


Testing
-------

manual


Thanks,

richard zhou

Reply via email to