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

Veena Basavaraj commented on SQOOP-2029:
----------------------------------------

{code}
2015-01-23 13:02:50 PST: BOOTING  - Progress is not available
sqoop:000> show job -cid 1 -   
0 job(s) to show: 
sqoop:000> show job -cid 1  
0 job(s) to show: 
sqoop:000> show job -cid 4 
1 job(s) to show: 
Job with id 1 and name sdfsd (Enabled: true, Created by root at 1/23/15 1:01 
PM, Updated by root at 1/23/15 1:01 PM)
Using link id 1 and Connector id 4
  From database configuration
    Schema name: 
    Table name: text
    Table SQL statement: 
    Table column names: 
    Partition column name: 
    Null value allowed for the partition column: 
    Boundary query: 
  Throttling resources
    Extractors: 
    Loaders: 
  ToJob configuration
    Override null value: 
    Null value: 
    Output format: 
    Compression format: 
    Custom compression format: 
    Output directory: hdfs://vbsqoop-1.ent.cloudera.com:8020/user/root/job1
sqoop:000> show job -jid 1
1 job(s) to show: 
Job with id 1 and name sdfsd (Enabled: true, Created by root at 1/23/15 1:01 
PM, Updated by root at 1/23/15 1:01 PM)
Using link id 1 and Connector id 4
  From database configuration
    Schema name: 
    Table name: text
    Table SQL statement: 
    Table column names: 
    Partition column name: 
    Null value allowed for the partition column: 
    Boundary query: 
  Throttling resources
    Extractors: 
    Loaders: 
  ToJob configuration
    Override null value: 
    Null value: 
    Output format: 
    Compression format: 
    Custom compression format: 
    Output directory: hdfs://vbsqoop-1.ent.cloudera.com:8020/user/root/job1
sqoop:000> show job -all  
1 job(s) to show: 
Job with id 1 and name sdfsd (Enabled: true, Created by root at 1/23/15 1:01 
PM, Updated by root at 1/23/15 1:01 PM)
Using link id 1 and Connector id 4
  From database configuration
    Schema name: 
    Table name: text
    Table SQL statement: 
    Table column names: 
    Partition column name: 
    Null value allowed for the partition column: 
    Boundary query: 
  Throttling resources
    Extractors: 
    Loaders: 
  ToJob configuration
    Override null value: 
    Null value: 
    Output format: 
    Compression format: 
    Custom compression format: 
    Output directory: hdfs://vbsqoop-1.ent.cloudera.com:8020/user/root/job1
sqoop:000> show job     
+----+-------+----------------+--------------+---------+
| Id | Name  | From Connector | To Connector | Enabled |
+----+-------+----------------+--------------+---------+
| 1  | sdfsd | 4              | 3            | true    |
+----+-------+----------------+--------------+---------+
sqoop:000> 

{code}

>  Sqoop2: Get jobs by connector
> ------------------------------
>
>                 Key: SQOOP-2029
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2029
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>              Labels: newbie
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-2029-v1.patch, SQOOP-2029-v2.patch, 
> SQOOP-2029.patch
>
>
> From the client there is no support for show jobs by connector, the rest API 
> supports it though
> http://10.20.194.157:12000/sqoop/v1/jobs/?cname=kite-connector
> http://10.20.194.157:12000/sqoop/v1/jobs/?cname=4
> {code}
> show jobs --cid 2 
> {code}



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

Reply via email to