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

Veena Basavaraj edited comment on SQOOP-1767 at 11/19/14 2:59 PM:
------------------------------------------------------------------

I have tried that the show job -jid 1 also works.! 

if you see the code it is clear, there is long form and short form for every 
one of these.
cid is long, c is short for connector id. 

show links should be supported since we now have a v1/links and v1/connectors 
api. 

http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links

Today if there is no linkId, it defaults to showing all.

{code}
sqoop:000> show link 
+----+------------+-----------+---------+
| Id |    Name    | Connector | Enabled |
+----+------------+-----------+---------+
| 1  | hdfsLink   | 1         | true    |
| 2  | MysqlLink  | 2         | true    |
| 3  | MySQlLink2 | 2         | true    |
+----+------------+-----------+---------+
sqoop:000> show link -l 1
1 link(s) to show: 
link with id 1 and name hdfsLink (Enabled: true, Created by root at 11/17/14 
4:29 AM, Updated by root at 11/17/14 4:29 AM)
Using Connector id 1
  Link configuration
    HDFS URI: hdfs://vbsqoop-1.ent.cloudera.com/user/root/job1
sqoop:000> 

{code}



was (Author: vybs):
I have tried that the show job -jid 1 also works.! 



> Sqoop2: commands in 5 minute demo docs are out-of-sync 
> -------------------------------------------------------
>
>                 Key: SQOOP-1767
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1767
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Qian Xu
>            Assignee: Qian Xu
>            Priority: Minor
>              Labels: newbie++
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1767.patch
>
>
> The commands in 5 minute demo docs are out-of-sync. {{show links}} should be 
> {{show link}}, etc. All commands should be revised. 



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

Reply via email to