Sqoop
  1. Sqoop
  2. SQOOP-1162

Sqoop2: 'show option' should have help entry showing that 'all' arg can be used

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.99.2
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

      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)  
      
      1. SQOOP-1162.2.patch
        6 kB
        Mengwei Ding
      2. SQOOP-1162.1.patch
        3 kB
        Mengwei Ding

        Issue Links

          Activity

          Hide
          Mengwei Ding added a comment -

          submit patch for review.

          Show
          Mengwei Ding added a comment - submit patch for review.
          Hide
          Jarek Jarcec Cecho added a comment -

          We are currently waiting on incorporating review suggestions into the patch, so I'm cancelling the "Patch available" state to clean up review queue.

          Show
          Jarek Jarcec Cecho added a comment - We are currently waiting on incorporating review suggestions into the patch, so I'm cancelling the "Patch available" state to clean up review queue.

            People

            • Assignee:
              Mengwei Ding
              Reporter:
              Mengwei Ding
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development