sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Jarcec Cecho <jar...@apache.org>
Subject Re: sqoop2 com.sun.jersey.api.client.UniformInterfaceException
Date Fri, 26 Jul 2013 16:22:17 GMT
Hi sir,
it seems that Sqoop2 Server application is not running. Please note that Sqoop2 server is
only one application inside the Tomcat container and therefore it's possible that Tomcat could
be running whereas Sqoop2 server application itself might not.

I would suggest you to check the server logs to see what is happening.

Jarcec

On Fri, Jul 26, 2013 at 12:59:15PM +0300, Κωνσταντίνος Αρετάκης wrote:
> Hi all,
> 
> 
> I try to use sqoop client and I get this exception for every request I make
> to the server
> 
> Exception: com.sun.jersey.api.client.UniformInterfaceException Message: GET
> http://localhost:12000/sqoop/v1/job/all returned a response status of 404
> Not Found
> 
> I checked that server is up and running
> 
> 
> The full trace of the exception when I try  show version --all is
> 
> 
> sqoop:000> show version -all
> client version:
>   Sqoop 2.0.0-SNAPSHOT revision 8c19c8c3378db86a22a7c2f7ab205ad2312d1645
>   Compiled by ... on Fri Jul 26 10:25:10 EEST 2013
> Exception has occurred during processing command
> 
> Exception: com.sun.jersey.api.client.UniformInterfaceException Message: GET
> http://localhost:12000/sqoop/version returned a response status of 404 Not
> Found
> Stack trace:
>  at  com.sun.jersey.api.client.WebResource (WebResource.java:676)
>  at  com.sun.jersey.api.client.WebResource (WebResource.java:74)
>  at  com.sun.jersey.api.client.WebResource$Builder (WebResource.java:503)
>  at  org.apache.sqoop.client.request.Request (Request.java:62)
>  at  org.apache.sqoop.client.request.VersionRequest
> (VersionRequest.java:27)
>  at  org.apache.sqoop.client.shell.ShowVersionFunction
> (ShowVersionFunction.java:109)
>  at  org.apache.sqoop.client.shell.ShowVersionFunction
> (ShowVersionFunction.java:63)
>  at  org.apache.sqoop.client.shell.SqoopFunction (SqoopFunction.java:46)
>  at  org.apache.sqoop.client.shell.ShowCommand (ShowCommand.java:65)
>  at  org.apache.sqoop.client.shell.SqoopCommand (SqoopCommand.java:127)
>  at  org.codehaus.groovy.tools.shell.Command$execute (null:-1)
>  at  org.codehaus.groovy.runtime.callsite.CallSiteArray
> (CallSiteArray.java:42)
>  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:57)
>  at  sun.reflect.DelegatingMethodAccessorImpl
> (DelegatingMethodAccessorImpl.java:43)
>  at  java.lang.reflect.Method (Method.java:606)
>  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:57)
>  at  sun.reflect.DelegatingMethodAccessorImpl
> (DelegatingMethodAccessorImpl.java:43)
>  at  java.lang.reflect.Method (Method.java:606)
>  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.NativeMethodAccessorImpl
> (NativeMethodAccessorImpl.java:-2)
>  at  sun.reflect.NativeMethodAccessorImpl
> (NativeMethodAccessorImpl.java:57)
>  at  sun.reflect.DelegatingMethodAccessorImpl
> (DelegatingMethodAccessorImpl.java:43)
>  at  java.lang.reflect.Method (Method.java:606)
>  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.NativeMethodAccessorImpl
> (NativeMethodAccessorImpl.java:-2)
>  at  sun.reflect.NativeMethodAccessorImpl
> (NativeMethodAccessorImpl.java:57)
>  at  sun.reflect.DelegatingMethodAccessorImpl
> (DelegatingMethodAccessorImpl.java:43)
>  at  java.lang.reflect.Method (Method.java:606)
>  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:57)
>  at  sun.reflect.DelegatingMethodAccessorImpl
> (DelegatingMethodAccessorImpl.java:43)
>  at  java.lang.reflect.Method (Method.java:606)
>  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)

Mime
View raw message