[ https://issues.apache.org/jira/browse/SQOOP-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mengwei Ding updated SQOOP-1162: -------------------------------- Attachment: SQOOP-1162.1.patch > Sqoop2: 'show option' should have help entry showing that 'all' arg can be > used > ------------------------------------------------------------------------------- > > Key: SQOOP-1162 > URL: https://issues.apache.org/jira/browse/SQOOP-1162 > Project: Sqoop > Issue Type: Bug > Reporter: Mengwei Ding > Assignee: Mengwei Ding > Attachments: SQOOP-1162.1.patch > > > The {{show option}} command doesn't produce any option, even when options > have been set through the {{~/.sqoop2rc}} file. But {{show option all}} does > produce the desired output. The 'help show option' command should have text > to show the user that 'all' is an acceptable arg. > {code} > sqoop:000> help option > Exception has occurred during processing command > Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0001:The > specified command is not recognized - Unrecognized command option > Stack trace: > at org.apache.sqoop.client.shell.HelpCommand (HelpCommand.java:128) > at org.apache.sqoop.client.shell.HelpCommand (HelpCommand.java:64) > at org.codehaus.groovy.tools.shell.Command$execute (null:-1) > at org.codehaus.groovy.tools.shell.Shell (Shell.groovy:101) > at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:-1) > at sun.reflect.NativeMethodAccessorImpl > (NativeMethodAccessorImpl.java:-2) > at sun.reflect.NativeMethodAccessorImpl > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method (Method.java:597) > at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:90) > > at groovy.lang.MetaMethod (MetaMethod.java:233) > at groovy.lang.MetaClassImpl (MetaClassImpl.java:1054) > at org.codehaus.groovy.runtime.ScriptBytecodeAdapter > (ScriptBytecodeAdapter.java:128) > at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:173) > at sun.reflect.NativeMethodAccessorImpl > (NativeMethodAccessorImpl.java:-2) > at sun.reflect.NativeMethodAccessorImpl > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method (Method.java:597) > at > org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce > (PogoMetaMethodSite.java:267) > at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite > (PogoMetaMethodSite.java:52) > at org.codehaus.groovy.runtime.callsite.AbstractCallSite > (AbstractCallSite.java:141) > at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:121) > at org.codehaus.groovy.tools.shell.Shell (Shell.groovy:114) > at org.codehaus.groovy.tools.shell.Shell$leftShift$0 (null:-1) > at org.codehaus.groovy.tools.shell.ShellRunner > (ShellRunner.groovy:88) > at org.codehaus.groovy.tools.shell.InteractiveShellRunner > (InteractiveShellRunner.groovy:-1) > at sun.reflect.GeneratedMethodAccessor17 (null:-1) > at sun.reflect.DelegatingMethodAccessorImpl > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method (Method.java:597) > at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:90) > > at groovy.lang.MetaMethod (MetaMethod.java:233) > at groovy.lang.MetaClassImpl (MetaClassImpl.java:1054) > at org.codehaus.groovy.runtime.ScriptBytecodeAdapter > (ScriptBytecodeAdapter.java:128) > at org.codehaus.groovy.runtime.ScriptBytecodeAdapter > (ScriptBytecodeAdapter.java:148) > at org.codehaus.groovy.tools.shell.InteractiveShellRunner > (InteractiveShellRunner.groovy:100) > at sun.reflect.GeneratedMethodAccessor16 (null:-1) > at sun.reflect.DelegatingMethodAccessorImpl > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method (Method.java:597) > at > org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce > (PogoMetaMethodSite.java:267) > at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite > (PogoMetaMethodSite.java:52) > at org.codehaus.groovy.runtime.callsite.AbstractCallSite > (AbstractCallSite.java:137) > at org.codehaus.groovy.tools.shell.ShellRunner > (ShellRunner.groovy:57) > at org.codehaus.groovy.tools.shell.InteractiveShellRunner > (InteractiveShellRunner.groovy:-1) > at sun.reflect.NativeMethodAccessorImpl > (NativeMethodAccessorImpl.java:-2) > at sun.reflect.NativeMethodAccessorImpl > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method (Method.java:597) > at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:90) > > at groovy.lang.MetaMethod (MetaMethod.java:233) > at groovy.lang.MetaClassImpl (MetaClassImpl.java:1054) > at org.codehaus.groovy.runtime.ScriptBytecodeAdapter > (ScriptBytecodeAdapter.java:128) > at org.codehaus.groovy.runtime.ScriptBytecodeAdapter > (ScriptBytecodeAdapter.java:148) > at org.codehaus.groovy.tools.shell.InteractiveShellRunner > (InteractiveShellRunner.groovy:66) > at java_lang_Runnable$run (null:-1) > at org.codehaus.groovy.runtime.callsite.CallSiteArray > (CallSiteArray.java:42) > at org.codehaus.groovy.runtime.callsite.AbstractCallSite > (AbstractCallSite.java:108) > at org.codehaus.groovy.runtime.callsite.AbstractCallSite > (AbstractCallSite.java:112) > at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:463) > at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:402) > at org.apache.sqoop.client.shell.SqoopShell (SqoopShell.java:126) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira