Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> sqoop2 com.sun.jersey.api.client.UniformInterfaceException


Copy link to this message
-
Re: sqoop2 com.sun.jersey.api.client.UniformInterfaceException
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB