[jira] [Commented] (SQOOP-3297) Unrecognized argument: --schema for sqoop job execution

2018-03-19 Thread Fero Szabo (JIRA)

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

Fero Szabo commented on SQOOP-3297:
---

[~bbusi],

I don't exactly know what went south here, but recreating the job might help.

If that fails, or isn't an option, folks at Cloudera support should be able to 
help you out (I noticed you are using CDH).

> Unrecognized argument: --schema for sqoop job execution
> ---
>
> Key: SQOOP-3297
> URL: https://issues.apache.org/jira/browse/SQOOP-3297
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Bhanu Busi
>Priority: Minor
>
> Hi,
>  
> previously I have used CDH-5.10 and sqoop 1.4.6. For this combination - - 
> schema argument working fine.
> Now I have upgraded cloudera manager to CDH-5.13.1 and sqoop 1.4.6. For this 
> combination - - schema argument  showing bellow error
> while executing the sqoop job I have faced the following issue.
> {noformat}
> sqoop job --exec X
> (256, 'Warning: 
> /cloudera/opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/bin/../lib/sqoop/../accumulo
>  does not exist! Accumulo imports will fail.\nPlease set $ACCUMULO_HOME to 
> the root of your Accumulo installation.\n18/03/19 05:05:40 INFO sqoop.Sqoop: 
> Running Sqoop version: 1.4.6-cdh5.13.1\n18/03/19 05:05:41 ERROR 
> tool.BaseSqoopTool: Error parsing arguments for import:\n18/03/19 05:05:41 
> ERROR tool.BaseSqoopTool: Unrecognized argument: --schema\n18/03/19 05:05:41 
> ERROR tool.BaseSqoopTool: Unrecognized argument: public\n\nTry --help for 
> usage instructions.'){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SQOOP-3297) Unrecognized argument: --schema for sqoop job execution

2018-03-19 Thread Bhanu Busi (JIRA)

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

Bhanu Busi commented on SQOOP-3297:
---

Hi [~fero],

Thanks for reply. Please find this
{noformat}
Warning: 
/cloudera/opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/bin/../lib/sqoop/../accumulo
 does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
18/03/19 06:00:22 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.13.1
Job: 
Tool: import
Options:

verbose = false
hcatalog.drop.and.create.table = false
incremental.last.value = 2018-02-15 00:28:35.821569
db.connect.string = 
codegen.output.delimiters.escape = 0
codegen.output.delimiters.enclose.required = false
codegen.input.delimiters.field = 0
mainframe.input.dataset.type = p
hbase.create.table = false
split.limit = null
null.string = \\N
db.require.password = false
hdfs.append.dir = true
codegen.input.delimiters.escape = 0
db.password = 
accumulo.create.table = false
import.fetch.size = null
codegen.input.delimiters.enclose.required = false
db.username = 
reset.onemapper = false
codegen.output.delimiters.record = 10
import.max.inline.lob.size = 16777216
sqoop.throwOnError = false
hbase.bulk.load.enabled = false
hcatalog.create.table = false
db.clear.staging.table = false
incremental.col = db_modified_ts
codegen.input.delimiters.record = 0
enable.compression = false
hive.overwrite.table = false
hive.import = false
codegen.input.delimiters.enclose = 0
hive.table.name = 
accumulo.batch.size = 1024
hive.drop.delims = false
customtool.options.jsonmap = {}
null.non-string = \\N
codegen.output.delimiters.enclose = 0
hdfs.delete-target.dir = false
hive.delims.replacement = anything
codegen.output.dir = .
codegen.auto.compile.dir = true
db.query = 
relaxed.isolation = false
mapreduce.num.mappers = 1
accumulo.max.latency = 5000
import.direct.split.size = 0
sqlconnection.metadata.transaction.isolation.level = 2
codegen.output.delimiters.field = 9
export.new.update = UpdateOnly
incremental.mode = AppendRows
hdfs.file.format = TextFile
sqoop.oracle.escaping.disabled = true
codegen.compile.dir = 
/tmp/sqoop-hdpprod/compile/67a4c3d8cdaaa676248dcbee44aba0f7
direct.import = false
temporary.dirRoot = _sqoop
hdfs.target.dir = 
hive.fail.table.exists = false
tool.arguments.1 = public
tool.arguments.0 = --schema
db.batch = false{noformat}
 

> Unrecognized argument: --schema for sqoop job execution
> ---
>
> Key: SQOOP-3297
> URL: https://issues.apache.org/jira/browse/SQOOP-3297
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Bhanu Busi
>Priority: Minor
>
> Hi,
>  
> previously I have used CDH-5.10 and sqoop 1.4.6. For this combination - - 
> schema argument working fine.
> Now I have upgraded cloudera manager to CDH-5.13.1 and sqoop 1.4.6. For this 
> combination - - schema argument  showing bellow error
> while executing the sqoop job I have faced the following issue.
> {noformat}
> sqoop job --exec X
> (256, 'Warning: 
> /cloudera/opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/bin/../lib/sqoop/../accumulo
>  does not exist! Accumulo imports will fail.\nPlease set $ACCUMULO_HOME to 
> the root of your Accumulo installation.\n18/03/19 05:05:40 INFO sqoop.Sqoop: 
> Running Sqoop version: 1.4.6-cdh5.13.1\n18/03/19 05:05:41 ERROR 
> tool.BaseSqoopTool: Error parsing arguments for import:\n18/03/19 05:05:41 
> ERROR tool.BaseSqoopTool: Unrecognized argument: --schema\n18/03/19 05:05:41 
> ERROR tool.BaseSqoopTool: Unrecognized argument: public\n\nTry --help for 
> usage instructions.'){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SQOOP-3297) Unrecognized argument: --schema for sqoop job execution

2018-03-19 Thread Fero Szabo (JIRA)

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

Fero Szabo commented on SQOOP-3297:
---

Hi [~bbusi],

Could you paste the output to the following command?
{noformat}
sqoop job --show myjob{noformat}
Thanks!

Fero

> Unrecognized argument: --schema for sqoop job execution
> ---
>
> Key: SQOOP-3297
> URL: https://issues.apache.org/jira/browse/SQOOP-3297
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Bhanu Busi
>Priority: Minor
>
> Hi,
>  
> previously I have used CDH-5.10 and sqoop 1.4.6. For this combination - - 
> schema argument working fine.
> Now I have upgraded cloudera manager to CDH-5.13.1 and sqoop 1.4.6. For this 
> combination - - schema argument  showing bellow error
> while executing the sqoop job I have faced the following issue.
> {noformat}
> sqoop job --exec X
> (256, 'Warning: 
> /cloudera/opt/cloudera/parcels/CDH-5.13.1-1.cdh5.13.1.p0.2/bin/../lib/sqoop/../accumulo
>  does not exist! Accumulo imports will fail.\nPlease set $ACCUMULO_HOME to 
> the root of your Accumulo installation.\n18/03/19 05:05:40 INFO sqoop.Sqoop: 
> Running Sqoop version: 1.4.6-cdh5.13.1\n18/03/19 05:05:41 ERROR 
> tool.BaseSqoopTool: Error parsing arguments for import:\n18/03/19 05:05:41 
> ERROR tool.BaseSqoopTool: Unrecognized argument: --schema\n18/03/19 05:05:41 
> ERROR tool.BaseSqoopTool: Unrecognized argument: public\n\nTry --help for 
> usage instructions.'){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)