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
-
sqoop2 com.sun.jersey.api.client.UniformInterfaceException
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)
 a
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